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

Return to menu in main program
 
my assignment is to enter employee id and their respective hours and pay rate, i have to keep asking...
[no replies]
Calling a method in a method of another class
 
Hey guys :D Situation: I have created a "CSprite"-class in a separate header-file. It contain...
[18 replies] Last: main generates CPlayer CPlayer generates CSprite so main would have t... (by Disch)
changing header C++ 6.0
 
hi everyone can i use header VC++ 2008,2010,2013 with C++ 6.0 ?
[4 replies] Last: is clear and new method for me i can understand this. Re... (by int man)
How to edit text file?
 
May I know how to change a certain part of a text file? I want to +1 to a text file every time the u...
[3 replies] Last: Modifying a file in-place (such as with a File Mapping) assumes that t... (by Duthomhas)
header folder lookup
 
Hello. I do not know when and how to use this $ CC -I/usr/local/include main.cpp Do I use thi...
[7 replies] Last: It tells the compiler where to find its standard include files (like ... (by Duthomhas)
Problem with getline
 
I have a problem with my code. I was writing a code to encrypt N number of sentences and when i ente...
[2 replies] Last: It worked, thank you (by ahmadk3)
initialize char matrix
 
Hello to everybody! I have a global variable initialized like that: char matrix = {{'1', '2', '3...
[2 replies] Last: Using std::array<> to wrap the c-style array: #include <iostream> ... (by JLBorges)
finding the location of a vector after using rand(), srand()
 
hi there! i'm doing a card game and i'm unclear on how to retrieve the card by doing vectors. after...
[3 replies] Last: thanks Chervil that's exactly the answer to my question. i guess i di... (by numLOCK)
Template method
 
I need help with my code please... it compiles successfully but when I run it, it throws out a segm...
[2 replies] Last: You need to declare the `Sorter' destructor as virtual , because you'... (by ne555)
Assigning char to an array
 
Hi, i want to assign a char to an array inside an if statement after the user has input the grade as...
[4 replies] Last: Is the compiler not giving a warning on the comparisons in the if stat... (by wildblue)
need help using <fstream> as a function
 
i've made different functions and my text file does have words in it but nothing seems to print out....
[4 replies] Last: The parameters are redundant. They can be local var of display_score_t... (by Nikko YL)
String class problem
 
Hi, I try to learn string class, resolving some problem, but i have some dificulties. The is ok,...
[3 replies] Last: The default delimiter is EOF . You should specify '\n' as the delimit... (by Nikko YL)
writing a code for non-English speakers
 
Hello guys. I want to know how to setup and enable unicode for a program I wish to write for non-Eng...
[5 replies] Last: You first need to choose an suitable GUI framework (qt would be my fir... (by kbw)
UpperLower Casing
 
Is there any way to convert a string to lower casing without using std::tolower ?
[1 reply] : Yes, you could write the code to do it yourself, or use a library that... (by Peter87)
by sahan
error checking help i need help asap! pleease!
 
i have a task to do for a ousb board just need help with some error checks " ERROR CHECK 3: VAL...
[no replies]
Stuck in infinite loop
 
I'm working on an assignment for my c++ class and can't seem to get out of a loop. The assignment i...
[3 replies] Last: Great, thanks. I see my mistake as soon as you pointed it out. Sometim... (by Freetoroam)
\n won't work with system("cls")
 
Hey guys, I'm coding a .dll, and from that .dll, when injected, it opens a PromptCommand window, an...
[2 replies] Last: @ wallpatrol There is more to associating a stream in Windows than yo... (by Duthomhas)
Adding an entry into array.
 
Hey guys! My program is suppose to be as a virtual phone book that allows you to add,search, disp...
[5 replies] Last: You know the next index for data since you've saved it here. i = get... (by wildblue)
Input file not being read (yet not error)
 
Sorry to bother this forum once again but I've got a program to read the input file as records. The ...
[5 replies] Last: Fixed reader.close(); i = 0; Was in the wrong place, runs fine now ... (by NewCComer)
JUST BEEPING NOT WORKING
 
Hello everyone.My name is Raymond and I am an Indian student from Kuwait.In my school they dont tea...
[7 replies] Last: Let me see if I understand what you are trying to do. You want to dis... (by Duthomhas)
August 2014 Pages: 1... 1819202122... 25
  Archived months: [jul2014] [sep2014]

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