General C++ Programming - August 2014 (Page 15)

How to output one particular field in a form (1,2)
 
I need help in writing a program in c++ that will get the input of 50 different users for the following the fields (surname, other names, sex, status, date of b...
[24 replies] Last: At the end of the day, I was able to list all users in alphabetical or... (by jearile)
by Gamytr
Print out the ratio max/min
 
Given three integers, print out the ratio max/min #include <iostream> using namespace std; int main(int x,int y,int z,int max,int min) { if(x<=y ...
[1 reply] : int main(int x,int y,int z,int max,int min) ugh...that shouldn't eve... (by giblit)
Is Qt frowned upon by companies in the real world?
 
So, I learned a bit of Qt, and forgot about it. After weeks of trying to figure out bitmap display with Win32, I just googled good GUI libraries, and Qt came up...
[7 replies] Last: There's nothing wrong with QT, what's wrong is the fact companies deve... (by Krisando)
Project Euler #20 help
 
Hello Everyone! I was looking for some help with project Euler #20...I have gotten a number in the correct ball park, but it is still wrong. I was curious if so...
[7 replies] Last: Yup, Thank you for all your help :) (by dgbaker93)
by idek
C++ Code reading from online dictionary rather than offline dictionary.txt?
 
Hello, I have a script that checks and compares two lists from an offline dictionary. Dictionary.txt which has a lot of words in it. input.txt will compare t...
[8 replies] Last: Thanks, that'll do I believe. (by idek)
.exe has stopped working
 
Hi all, I have the following code: #include<iostream.> //#include<conio.h> using namespace std; int main() { char *p="Difficult"; char ch; ch=++*p++...
[1 reply] : The expression ++*p++ has undefined behavior. This is the best I ca... (by helios)
by idek
C++ Making my code actually print out to an output.txt
 
Hello, I have managed to make my code create an output.txt file but I'm having issues making it print. I have this now int main() { std::ifstream...
[4 replies] Last: Yes, I just tried it. Thanks so much! I appreciate it a ton! (by idek)
by idek
C++ Code reading an external .cpp file?
 
I want to be able to make this code read those two lists from an external .txt file from my desktop for example. This will make it so I can read larger amount o...
[17 replies] Last: I'll start a new thread regarding my current issue since I no longer n... (by idek)
by idek
Instead of printing in CMD can print out in .css/.txt?
 
Hi, I have previous threads asking how to make a list of words that were matched up be printed out into a .css or .txt but haven't had any help yet. So I though...
[8 replies] Last: Solved! (by idek)
by idek
CMD from excute closing instantly
 
Hello, I compiled/built a code I had and made an executed file but when i click on it the CMD closes instantly. Is there anyway to keep this open?
[10 replies] Last: Figured it out, thanks everyone. (by idek)
by Mathes
Understanding RValue-references return values
 
Hello, right now I am trying to understand RValue-references as return values of functions. First let's consider a simple function, that transforms a string ...
[3 replies] Last: Hi, thanks for the replies. (@Peter: You are right. I fixed the missi... (by Mathes)
Help with violating writing location
 
Hi! I'm using HGE for my program and I've stumbled upon a Access violation, the following is displayed in my output: '2dlandzD.exe' (Win32): Loaded 'C:\WIND...
[6 replies] Last: I'll look into Google's Protobuf! Thank you very much for your help ... (by Zolerion)
word by word from a line in file
 
Hello. How to read word by word from a line in file into struct. Say for example: 12345 Joe Lim KH 879.00 12233 Kay Suet Yee 35.98 to ...
[1 reply] : You already have a thread about that: http://www.cplusplus.com/forum/g... (by keskiverto)
I need help!!!
 
Please I need help for my computer class. I need a program that will prompt the user to enter number of students, then the number of quizzes, then the quiz scor...
[2 replies] Last: #include <iostream> #include<cstdlib> using namespace std; int main... (by gamerguy314)
by soori
compile and run C++ prog in QNX OS
 
Hello all please guide me how to compile and execute a c++ programm in QNX OS with out using and IDE. I tried using gcc,g++,qcc and QNX commands get a error: ...
[no replies]
WAP using ternary operator
 
1.WAP in C++ to enter marks in 3 subject and calculate percentage and grade.cond given below (Using Ternary operator) Per Grade 90-100 ...
[8 replies] Last: As mentioned by kbw you are not doing what you are required. 90-100 ... (by giblit)
by lekha
guide me on how to add correct and incorrect counter
 
Below is the Question given to me... and i'm having problem in my coding please help me.. Develop an application that creates a mathematical quiz to the prim...
[1 reply] : 1. Check your breaks. 2. Each answer is either true or false. Theref... (by keskiverto)
please help in creating a function in C
 
hi gurus, Please help me, I need a function to return a string i need to pass input as "a,b,c,a,c,d,e" function should return out put as "...
[3 replies] Last: What exactly do you need help with? You didn't ask a question; You s... (by giblit)
Please help me to display a loading bar
 
#include<conio.h> #include<windows.h> #include<stdlib.h> #include<string.h> #include<time.h> #include <stdio.h> void loading(); void gotoxy(int x, int y); ...
[6 replies] Last: You need to have a way to get notified at different points during the ... (by Disch)
How to read a specific word from a file?
 
How would one go about doing this? I am very fond with Windows I/O, but not so much with this subject. I am decent with fstream, probably not as skilled at it a...
[5 replies] Last: Using Computergeek01 code: #include <iostream> ... std::cout << Bill... (by Smac89)
August 2014 Pages: 1... 1314151617... 25
  Archived months: [jul2014] [sep2014]

This is an archived page. To post a new message, go to the current page.