Beginners (Page 66)

else without a previous if? (1,2)
 
I'm new at C++ and I am getting the error: 'else' without a previous 'if' I have been reading other ...
[22 replies] Last: Haha man Its alright! You can always check out Bucky's (thenewboston) ... (by TarikNeaj)
by jc05
calorie counter help please (1,2)
 
Keep getting these errors: calories1.cpp: In function ‘int main()’: calories1.cpp:72: error: i...
[23 replies] Last: In that case, remove the cin >> calories. and just leave the int c... (by TarikNeaj)
clearing user input
 
the code asks the user to enter a 10 DIGIT number(no letters). but when i gave it a test run, it sto...
[3 replies] Last: Haha, no problem! Thank you too, I try my best :) (by cactus)
by Torm04
Need help counting the number of characters in a .txt file
 
Hello, I have recently hit a stump with C++ and have been getting pretty frustrated with this assign...
[1 reply] : Start by writing a loop that reads each character from the file indivi... (by LB)
Volume of a box with classes
 
I've been working on this program to learn about using classes. In the requirements it says this; -...
[no replies]
Visual Studio string declaration error
 
Hey guys. I've been doing some assignment in Visual Studio 2012 Ultimate that I have recently instal...
[5 replies] Last: How so? Even in c++ shell which you can open from this very window yo... (by Yanson)
Banning non-numbers for user input and letting the user retry an input
 
How can I "ban" letters from being used while only letting numbers to get through? Inputting letters...
[7 replies] Last: Oops, the reason my code didn't work was because I forgot the return ... (by LB)
Is there a way to count the spaces in a string named line using a .get function?
 
Disclosure: I am very new to programming and am only in week 4 of my c++ class. Is there a way to...
[4 replies] Last: I figured out a much simpler way to do what I needed to. #include <i... (by mluyben)
by abc456
how to fix this program?
 
It's solved:)
[11 replies] Last: You may PM if you wish, though I prefer to field problems in the forum... (by fun2code)
Polymorphism exercise
 
The exercise involves making a database of employees, using a single vector, and saving the database...
[2 replies] Last: From what youve said, you'll need to make the Employee class an abstra... (by Aceix)
by Dmonty
Weekly problem
 
I'm having trouble answering this problem. I've tried everything, any help will be appreciate it. ...
[2 replies] Last: Bucky (thenewboston) has great tutorial on basics. Video 8, 16 and 17 ... (by TarikNeaj)
Simple calculations problem
 
Hello! So I have the following assignment due as the first of this semester. I made the mistake of t...
[1 reply] : Could you please post what you have done so far? (by TarikNeaj)
daytona
 
Write your question here. http://youtu.be/i86ZZJHcf-o
[1 reply] : Hi! Is that supposed to be a link? (by long int main)
No errors, but program stops responding when I run it
 
Wrote this as part of an assignment. It is supposed to use the infinite series for sin, cos, and ata...
[3 replies] Last: Thanks, both of you. Now it returns properly. (by kaseron)
Some seasonal Pancake Glutton
 
Evening all, Trying to tackle the Pancake Glutton exercise and been looking at trying to sort() a...
[3 replies] Last: Thanks both for the replies. There are errors on 37,38,39 & 40. I've... (by DJ Spectre)
Can't find the problem
 
Hello. My code should show 4 persons names and age, but now its repeat it twice like: Name: Alex...
[5 replies] Last: Thanks for all replies! i have got it to work :) (by knatte1)
Abstract class vs interface
 
Can someone explain why you would use an interface instead of an abstract class? I can't quite see t...
[2 replies] Last: Thanks for the clear explanation :) (by hornet07)
Doubly LinkedList... Insert after function
 
this function is not working... can any body help me with this template <class T> void Link...
[1 reply] : At line 11 you're skipping to the next item before doing the check. Th... (by dhayden)
declare array that has element of 1 to 999999999 c++
 
i've been using dev C++, and im struggling with how to declare array element with 1-999999999. #...
[2 replies] Last: thnx for idea sir. (by LimPa03)
overload
 
Write your question here. plz can anyone re write this code without "const" after function and #de...
[4 replies] Last: Have you been getting enough sleep recently? That's not how construct... (by dhayden)
Pages: 1... 6465666768... 105
  Archived months: [jan2015]

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