Beginners (Page 78)

Switch problem
Hi, (I am one hell of a newbie in C++) The Question is: Write a C++ program that prompt user to en...
[3 replies] Last: @LB : Thanks for the advice, i used if else if statement. and it work... (by Paragon)
Program 17
Continuing the previous program: Change the program so that it uses doubles instead of ints. Change ...
[7 replies] Last: Nice explanation, I`m trying to understand how Input/Output streams wo... (by pacman169)
Vector of base and derived classes
I asked a similar question to this previously, so apologies in advance, but the example I gave was q...
[4 replies] Last: Excellent, thanks MiiNiPaa. Using virtual functions was the missing li... (by slouchcouchgamer)
Convert seconds and minutes
Hello, I am quite new to programming and I have a question. I am writing a program where the use...
[2 replies] Last: After Adding up Seconds and Minutes, You can do it the following way: ... (by Atyab)
Sum of all odd numbers between a inputed range
I wrote a program to find the sum of all odd numbers between two inputed number (as range). It s...
[5 replies] Last: Excellent point ... (by kemort)
by kugi
[C++] SDL Errors - Undeclared Functions (Or Not)?
HEllo! I'm still working on ski jumps game. (I made new code). So i write everythink , and when i pr...
[2 replies] Last: First, I suggest you look at how each SDL function operates at base le... (by roger911)
by wooly
Need some help!
I'm trying to write a script asking people if a test was too hard or not. I'm new, and I'm not ver...
[3 replies] Last: So, forgetting how to write the C++ code what steps would you take to ... (by kemort)
Do loop, check if input is what I want
Here is a easy program which I want the user to choose from number 1 to 5. But if the user input a s...
[2 replies] Last: Hi, I really dislike no hate constructs like on line 10. They are ... (by TheIdeasMan)
wrong result.
In my program i have the following: 84.74 - 84 - 0.74 and it says it equals to -2.14577e-006 , how d...
[8 replies] Last: Well first off, why are you intermixing doubles and floats? It might n... (by Ganado)
if/else with "or" operator
In my code below, I want to be able to enter invalid ages for the first "if" over and over again and...
[5 replies] Last: Thank you! Figured it out. (by JoJodoggy1)
Displaying more rows
Hi. I am a new programming student. Recently I have been facing problems using for loop. My assign...
[3 replies] Last: Actually when I felt desperate last night, I went to bed. And then I t... (by ichabodgrant)
Class Error
Can somebody please explain why I get this error: no matching function for call to 'Quizdata::Quiz...
[1 reply] : On line 23, you are trying to default construct a Quizdata object, but... (by Zhuge)
Compiling problem
I don't know why this doesn't compile with me it gives me this error:- undefined reference to `Sall...
[7 replies] Last: Try doing a struct instead.... just a suggestion Classes seem to give... (by TheBadCoder)
Questions about char vector
OK. Here is my problem. One of the exercises in my book wants me to write a program. It basically bo...
[2 replies] Last: Thank You! I have skimmed over this code like 20 times. I am a blind u... (by mattbrad83)
Visual Studio 2013; Input won't work
I'm using sample code from this site, but can't get the program to do anything with input. If I type...
[3 replies] Last: The program gets closed when you press enter, but it still reads and p... (by EssGeEich)
by Daviid
I need a little help with a rock paper scissors game
its not supposed to be rock paper scissors yet, were just making something similar. But im having a ...
[4 replies] Last: @David Look at lines 31 and down, If i type N, will it actually get ou... (by Fr0zen1)
by Nezar
the order of the initializer list
Hello there, I have read that the order of the initializer list in the ctor should follow the order...
[5 replies] Last: one quick thing: in the gcc documentation it says that library files d... (by TheIdeasMan)
What's the glitch?
#inlcude <iostream> #include <cmath> using namespace std; int main() { for (int x(0); ...
[7 replies] Last: Thanks LB (by Knightrider29)
Struggling with Accelerated C++
Hey guys I'm 21 old, Well I have been studying Accelerated C++ for the past 1~2 months and I'm reall...
[2 replies] Last: Yes, I always read and attempt to do what the exercise asks before I h... (by raymondtfr)
Segmentation Fault (Core dumped)
I am going nuts finding out where the memory allocation error is here. This program reads checkerbo...
[13 replies] Last: You guys are seriously the best. I am extremely grateful for you help!... (by bwilfong3)
Pages: 1... 7677787980... 106
  Archived months: [aug2014]

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