Beginners - March 2011 (Page 23)

System skips user input line restarting loop
 
I have a small problem in my program. The program runs fine, but when the user is prompted to ...
[2 replies] Last: Thanks for the link, but I went for a short fix so as not to rewrite a... (by shiyongseng)
main getting parameters for function call all wrong
 
I'm sure this is one of those lame mistakes, but...I'm trying to make a function call in main(), and...
[4 replies] Last: No, no consts in the function. Didn't it also mix up the first and thi... (by mzimmers)
giving a semicolon error
 
okay, I have searched through my code, and I have absolutely no Idea why this is telling me that it ...
[3 replies] Last: Thank you So much, compiling fine now!! sorry about my terrible format... (by alexhairyman)
Please help fast!
 
Problem: Write a program that computes the cost of a long-distance call. The cost of the call is d...
[14 replies] Last: I didnt copy the code ive been sitting on it for two days now trying t... (by trs5138)
by Rumi
trouble understanding sstream and string.
 
okay, so I'm extremely new to c++, never programmed before this and i'm learning with my boyfriend w...
[11 replies] Last: However, with getline you would still use cin to get input from the co... (by hanst99)
Nested loop Triangle of stars
 
So the problem is to use nested for loops statements to draw triangles of "*"s. The number of "*"s...
[10 replies] Last: this is what i was looking for< thanx for your help any way. #incl... (by ccole101187)
Play Again not working
 
I am a total newbie and am self teaching myself c++. My appoligies if this has been asked and answer...
[3 replies] Last: Sometimes you just need another set of eyes to help, have fun programm... (by lordmat)
Problem with pow function
 
This is not compiling for me for some reason. I have at the beginning of the program #include<cmath...
[3 replies] Last: Disch great thinking with using bitwise operators, sometimes you have ... (by lordmat)
by dilz16
Help With Equation
 
I am stuck on a question for my grade 10 comp sci class. Ive been stuck on it for days and the teach...
[2 replies] Last: Try putting some cout objects in your function call to see what is hap... (by lordmat)
Tell me if im right :)
 
See this: if (!GameEngine::GetEngine()->Initialize(iCmdShow)) I know this is calling the Ini...
[3 replies] Last: :D (by TpOreilly)
need some guide
 
hi, i am new to linux cpp programming previously , i worked on symbian developing. but now i decid...
[8 replies] Last: I use vi because I do most all of my coding in Linux. I'm a command-li... (by sadavied)
Burning C++ questions
 
Hi, So My C++ professor gave us a 50 question bonus assignment and if anyone in the class submits th...
[4 replies] Last: Well thats ok, I already did the questions these were just the ones I ... (by PhysFan)
C++ Help on a question
 
The copy constructor for a class is called a) When an object of the class is passed by value to a...
[1 reply] : Haven't you read up on copy constructors and their function? (by firedraco)
Header files!
 
I have a program called, "Appcenter." I have already sectioned off code into .cpp files. How do I ...
[7 replies] Last: Actually, it does mean something: it instantiates an object of type b... (by hanst99)
Writing arrays with numbers and strings
 
Is there any way to write an array that can take both numbers and strings in? Ex. int person ; p...
[2 replies] Last: Ah! Thank you so much! Everything works much better now. (by theholyfork)
by TimL
Trouble overwriting data in c-style strings using pointers
 
As part of a class project, we were tasked with creating a number of functions using both subscript ...
[4 replies] Last: Thank you again. You've helped me clarify some more of how C-style str... (by TimL)
using functions as arguments to cout?
 
I'm sure there's a way to do this, but it escapes me at the moment. I'd like to compose a cout state...
[14 replies] Last: Right then. Thanks for the advice. (by anonymous23323124)
by amiref
int main(int argc, char * argv[]) PROBLEM
 
Hi I want to know what is difference if in our code and in main function , we use int main(int ar...
[1 reply] : the (int argc, char * argv ) stuff gives you the data passed to the ... (by Disch)
help in code plz
 
Digital studio for editing and printing photos needs to keep information of all its customers’ ord...
[1 reply] : What is your problem? (by hanst99)
by Spada
Generic Class
 
Hi I am a beginner in c++, please can someone tell me what's wrong with this code ? It gave m...
[3 replies] Last: Thank you guys, I' m very sorry for this stupid question, but i have t... (by Spada)
March 2011 Pages: 1... 2122232425... 52
  Archived months: [feb2011] [apr2011]

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