Beginners (Page 62)

Using vector to store two different class information
 
I am basically trying to get the vector to store information entered by the user and then display it...
[6 replies] Last: Thank you Matthew, it works now and i will update that now. (by generic2709)
Linked list append
 
I made a linkedlist class and everything works except for the append function. When the program exit...
[1 reply] : Two points: void T::append( T attach ) { // make this point to nodes ... (by keskiverto)
learning open gl or not
 
Hi. Im just learning cpp. And I easily temp to study diffrant things. One of them is open gl (or dir...
[6 replies] Last: thanks. I think I should enter SDL world! (by fmehri76)
by enjoii
bool and if statements
 
im still having trouble understanding bool specifically the and ,or , and not aspects of it also a ...
[2 replies] Last: These links might help you understand better: http://www.cplusplus.com... (by giblit)
Write a for loop that outputs the days of the week
 
Write a for loop that outputs the days of the week, each on a separate line, starting from Saturday...
[5 replies] Last: Pls am kobina, am new in computer programming and i will be needing yo... (by kobina11)
Help with reversing string
 
i cannot use pointers and i have to ask the user to enter it and store into an array, then replace t...
[3 replies] Last: Reversing a string can be done in-place: char mystr ; std::cin.getli... (by Smac89)
HOW TO BREAK A LOOP FROM A FUNCTION?
 
Id like to know how to break a loop of the main function with another function, I read a little of a...
[8 replies] Last: no problem (by Little Bobby Tables)
Combat not working correctly in text RPG
 
Hello, I am working on a small text-RPG. The problem I am currently having is when I encounter an e...
[4 replies] Last: In Player.cpp in bool Player::attack(Monster& monster) try adding re... (by Mechennyy)
how to translate the for loop to do-while or while loop?
 
Write your question here. guys can you translate this for nested in do-while or while loop.. thank ...
[4 replies] Last: thank you very much.. (by aliasdan30)
Binomial Distribution
 
For this program I'm supposed to write a code that displays a binomial distribution as a simple text...
[1 reply] : what binomial distribution is? You probably wouldn't have learned it... (by giblit)
command based
 
I am part of a program called FRC meaning First Robotics Competition we use cpp for our robot and it...
[1 reply] : Is it something like this you're looking for? http://www.youtube.com/w... (by firstlast)
by Kuma97
My factorial just works until 31
 
My calculatorĀ“s factorial works ok but when you use numbers higher than 31 the result will be a neg...
[7 replies] Last: ok I supposed I should use long long (by Kuma97)
Question about parrallel array input.
 
I am trying to get user input for a parrallel array and the following loop runs properly the first ...
[4 replies] Last: That's great. I forgot what getline does to the input buffer. Makes to... (by musicman74)
how to make folders
 
Alright Now I know in order to make a folder you have to do the following correct me if I am wrong p...
[2 replies] Last: im not understanding what you mean ? (by ProgramMaster)
find word in a file and where it is .
 
hi i wont to write a program to find a word from a file and cout which line the word in i can fin...
[2 replies] Last: thank you for helping (by abdoShaf3i)
For Loop Variable Scope
 
Hello to everyone! I was wondering what the scope of variables declared in a for loop. Like, for ...
[4 replies] Last: thanks NT3! that's what I'm looking for. and, I checked my compiler, a... (by geniusberry)
how many constructor this class have?
 
class C { public: C(); C(int); C(float); C(int, float); private: ...
[3 replies] Last: Copy and Move constructors? What do they do? I haven't used constructo... (by AceDawg45)
by iluv41
Is this a truncation problem?
 
So I have this function, it needs to output a percent as an integer. When numberWon and gamesPlay...
[3 replies] Last: Use double instead of int. Or cast the whole result, not just percenta... (by MatthewRock)
Overloaded functions
 
int getValue(int); double getValue(double); int main() { int intnumber; double doublen...
[4 replies] Last: Oh i just omitted those. apprently it does work, i dont know why but ... (by bloodvenom)
by jbush
problem using makefile in windows 7
 
Write your question here. I'm having a really hard time executing a makefile for the Cambridge Uni...
[no replies]
Pages: 1... 6061626364... 122
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.