Beginners - November 2011 (Page 15)

what happens when EOF occurs but there is more? (1,2)
 
I am using Windows so EOF would be <ctrl-d> right? what is those ascii characters occured in a file...
[22 replies] Last: Ok Thanks (by Onceler)
Replacing parameters with structure type
 
So I made a struct for vehicle: struct Vehicle { string category; int occupants; }; And, Now...
[1 reply] : string GetRecommendation(Vehicle vehicle); (by Peter87)
My code is grayed out. What does that mean? using MS visual.
 
This is my header file: #ifndef ARRAY_H #define ARRAY_H #include <iostream> using namespa...
[2 replies] Last: ^^^That fixed it (by bool maybe)
How to include api classes
 
How would I include a api class in a program. I'm assuming that I would need to include a header fi...
[1 reply] : For working with an API you need to read up on that API's documentatio... (by fafner)
Nested loop question
 
How would I include a nested loop to make the out put of this code look like this 1 12 123 1234...
[3 replies] Last: Recommend what? You already have a for loop i = 1 to num. Now you need... (by hamsterman)
Need Assistance with Build
 
In a course, a teacher gives the following tests and assignments: A lab activity that is obse...
[no replies]
I am getting infinite loop using recursive function :(
 
Hello there, Thank you for your time. I am having a small trouble here , trying to print out an arra...
[15 replies] Last: Argh! Guess I wasn't paying enough attention to remember I need to ac... (by ascii)
by Thetr
Program help :D
 
I challenged myself with a program... Basically user has to input five numbers, and computer has to ...
[3 replies] Last: I think that everything I did is fine... I am asking for the next part... (by Thetr)
by sc0tt
need help to understand in Arrays
 
I am doing a lesson in C++ and i am in a part where we are working with arrays. I am reading the ...
[3 replies] Last: string array? There are many ways to handle strings. If you use const ... (by Peter87)
Validating user input for numeric values
 
Hi, I'm new to C++ and ran into a problem trying to validate user input for a double value. This is ...
[5 replies] Last: Hey, thanks a lot for your help! Just one more thing: I need to store ... (by silvery)
error: lvalue required as left operand of assignment
 
Point2D Point2D::operator+(Point2D param) { Point2D temp; temp.getX() = getX() + param.getX...
[5 replies] Last: Okay i figured out. solved (by Tampopo)
whats malloc good for in "real" programming?
 
Whats malloc good for ? is it good when you know exactly whats going to be in memory constantly as y...
[2 replies] Last: malloc() is good for obtaining uninitialized storage, e.g. when prepar... (by Cubbi)
Newbie question
 
been a week since i started learning c++, im trying to write a program for Fibonacci series using lo...
[8 replies] Last: I used unsigned because the Fibonacci sequence does not include negati... (by wolfgang)
Overriding error.. pls advise me
 
I kept getting this error: Line3D.h:18:13: error: invalid covariant return type for ‘virtual Po...
[3 replies] Last: Thanks (by Tampopo)
Access Violation error
 
I'm having a problem understanding a particular error that is crashing a programing I'm trying to fi...
[3 replies] Last: I've tried initialising OtherPositionXY and I get the same problem. I... (by jamesbouckley)
Help with a program in Code:Blocks
 
Hey everyone! I want to create a program. That program it must read a name (characters) and if the n...
[5 replies] Last: Thanks again for helping me. Now I want to convert the *.cpp file into... (by pelopidas)
tell me if this is correct way to get values
 
i have a program it looks styntactically wrong class fire { private: string ACC; pub...
[2 replies] Last: so take out the string in the parameter (by BLACKHULK)
can i use memshift on vectors the way you do with arrays?
 
I used to use the following function to remove a value from an array and insert it elsewhere: vo...
[2 replies] Last: why insert/erase? The efficient solution, if I was able to follow your... (by Cubbi)
by moot1
help
 
hello i need help. why when i press "y" it does restart but it doesent let me choose how many number...
[6 replies] Last: Thx alot (by moot1)
Human Error
 
Somewhere in this code, I'm have an error in my logic. As you can see in the beginning of the do w...
[4 replies] Last: Again, I solved my problem. Thanks everyone for your help. (by Da0omph)
November 2011 Pages: 1... 1314151617... 65
  Archived months: [oct2011] [dec2011]

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