Beginners - March 2014 (Page 19)

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]
When to use classes
 
Hey. I've been learning the basics of classes and have learned: declaration and function implemen...
[8 replies] Last: If you need help, just throw me an email at: sparkyqian@yahoo.ca Joe (by Little Captain)
C++ Book Recommendations?
 
What Book Should I Consider Buying For My C++ J our ney Please do not recommend C++ primer plus...
[2 replies] Last: I recommend "Programming -- Principles and Practice Using C++" 2nd Edi... (by benbalach)
Standard Deviation/Logic Error
 
Hello all! I'm currently working on a piece of homework where i have to calculate the average, min/m...
[2 replies] Last: Inside the getSD function, what are you trying to do on line 125? The ... (by firedraco)
STL Help
 
So im currently learning the basics of C++ and i have covered quite alot im really stuck on STL stan...
[3 replies] Last: Well, you once didn't understand anything in C++, did you? :) Grab vec... (by MatthewRock)
I can't run my calculator program using switch
 
Good afternoon everybody, I am using CODE::BLOCKS 10.05 for UBUNTU and I'm trying to build a calcul...
[4 replies] Last: Thank you for all your advise, I just realized that as Renthalkx97 sai... (by fjavierlara)
by iluv41
guessing game question, calculate games won?
 
I cannot get this to accurately calculate the percent of games won. I tells me 0% even if i did win ...
[4 replies] Last: nvm (by iluv41)
writing my first oop code and having issues...
 
My code has compiled, however when I am having trouble finding out why it is not working properly. ...
[2 replies] Last: right off the bat it is saying the list is sorted when there is no li... (by helios)
Money Change Program
 
I don't get why the bills aren't working, but the coins are... When I enter 50 in, it says 5 tens, w...
[1 reply] : The code is assigning values to those other dollar note variables that... (by wildblue)
class separate interface from implement.
 
3 errors on client code undefined reference to GradeBook::GradeBook( std::string name ) can you...
[1 reply] : http://www.cplusplus.com/forum/general/113904/#msg622055 (by ne555)
Better way to handle this long if, else-if structure.
 
Hi all, I have a project that started out with a pretty simple if, else if structure, but over ti...
[3 replies] Last: You could use std::map . You'd use input as a key, and look up for, l... (by MatthewRock)
March 2014 Pages: 1... 1718192021... 79
  Archived months: [feb2014] [apr2014]

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