Beginners - November 2015 (Page 27)

BEGINNER discount
 
So I dont know what's wrong with my code. I have to do this task for school: If you are buying mor...
[6 replies] Last: #include <iostream> int main() { int numberItems = 0; std::co... (by closed account E0p9LyTq)
Chosing fstream file path
 
Currently this just dumps the user data into the main program file, is there anyway of me putting th...
[2 replies] Last: Solved ifstream reader reader.open("players/" + username + ".txt"); (by Max McGregor)
by XMIT10
understanding for ( ) statement
 
a.) this code was a free source from online [ not mine / cannot take credit ] b.) you enter in how ...
[2 replies] Last: Many thanks SamuelAdams. I am very grateful for your help / explainati... (by XMIT10)
by srod87
Need Help.
 
I have been stuck on this the whole weekend. I was finally able to get the max and min numbers, now ...
[4 replies] Last: Try here: http://www.cplusplus.com/forum/general/178831/ (by closed account 48T7M4Gy)
C++ help
 
Hello, im a college student taking a C++ class and im currently getting my ass handed to me, most li...
[2 replies] Last: If the curriculum states specifically that you are going to be taught ... (by ShiftLeft)
if else if problems
 
I'm new to C++ and I'm not sure I understand how to use if else statements properly. I'm trying to ...
[6 replies] Last: I tried that and I was still getting the same results. I made the else... (by ingthinks)
by Marsh
The COORDINATES used in making rectangle, line circle etc,
 
Hello, everybody Am new in programing as i started c++ few months ago , now that am learning the gr...
[6 replies] Last: If I recall correctly, the Turbo C Graphics uses an coordinate system ... (by liuyang)
by XMIT10
int sum = 0
 
Please forgive my ignorance ... I'm just looking for a brief understanding of what int sum = 0 ...
[2 replies] Last: Thank you koothkeeper ! Makes perfect sense . My searches for info ... (by XMIT10)
Uniform Hashing Example
 
Currently looking at hash table examples and not quite sure about how I would go about this. Suppos...
[no replies]
Operator not working <
 
Hello Can you guys help me, the operators < in the following codes below are not working: if(...
[3 replies] Last: Those for loops, you need to break out of them if the relevant HP goes... (by kbw)
by A1693
"String is not null terminated" error
 
I have the following code: GetMyName() returns a std::wstring value. wchar_t szCmd_begin =...
[1 reply] : You really don't need to write such obtuse looking string declarations... (by kbw)
Function calls
 
I am trying to write a program that requires input validation through functions. The idea behind it ...
[7 replies] Last: I like the game and how it runs, but you should add a way to set the a... (by jasonwynn10)
Printing the same line twice from a file and not the others.
 
When I run my code I get only the first line(Adara Starr,94) of the file printed twice. I'm having t...
[7 replies] Last: @jlb You are close to correct. The professor accidentally left off an... (by jlb)
by vwynn
Star Search Program
 
Hey everyone, I have a program named Star Search that I must do for my Computer Science class. I'm s...
[4 replies] Last: if you want to make the program stop when the user enter 'n' just use ... (by Hanoy)
by Molly
getch();
 
Well , until now , this code spawns 40 random colored circles one after one and the circles are supp...
[5 replies] Last: What did you set the sleep to? (by jasonwynn10)
initializing an array in a constructor
 
I am supposed to make a default constructor that initializes the sectors to be empty, and sets the w...
[no replies]
Problem with homtask
 
Write your question here. Hello, I'm an amateur to C++ but I'm learning. And also having a problem ...
[7 replies] Last: I just wanted to notify You, JLBorges, that the second time I passed t... (by MatthewThunder)
Comparing getline from txt file to user input
 
Hello! I'm a complete newbie to C++ and I am having so much trouble right now! A few days ago, I ...
[no replies]
NEED HELP!!!
 
Hi, I'm attempting to write this program for an assignment in my c++ class. I have the base of t...
[4 replies] Last: I think you got the parameters wrong. in main () you call outputRes... (by Thomas1965)
Complies but does not read contents from file
 
Write your question here.
[7 replies] Last: [quote=Thomas1965]You are supposed to read the data into an char array... (by cire)
November 2015 Pages: 1... 2526272829... 53
  Archived months: [oct2015] [dec2015]

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