
please wait
by nheath12
Dice program question.
|
I'm having a problem adding up the values of the dice rolls in a while loop. The program will only store the last value so how would I get it to store multiples... |
Feb 19, 2013 at 4:32am
[2 replies] Last: Thanks and I really just need an equation that will allow me to store ... (by nheath12)
|
by T4l0n
where is the mistake ?
|
#include <iostream> #include <fstream> #include <cmath> #include <cstdlib> using namespace std; int main (){ char filename ; ifstream asd; cin.ge... |
Feb 19, 2013 at 4:02am
[7 replies] Last: Alright, i finally understood it. I need to write the file to read on ... (by T4l0n)
|
by zmarchbank
Help on an assignment for programming class!
|
Hi! I'm new to this forum and am seeking some help on an assignment in my programming class. I've been at this for a while and can't figure out what to do. Pro... |
Feb 19, 2013 at 3:23am
[no replies]
|
by jermainStain
Conditional
|
Hello there, Just a little bit of background on myself: I have some schooling experience in C, VB.Net, C#.net, Oracle, and MySQL. I have never taken a pro... |
Feb 19, 2013 at 2:58am
[5 replies] Last: Thanks AbstractionAnon, this fixed my logical problem. Much appreciat... (by jermainStain)
|
by jaalmonkey
while(1) loop problem
|
I am trying to create a simple grade storing console. The console allows you to enter grades or view them. When I try to view the grades I have entered, it alwa... |
Feb 19, 2013 at 2:42am
[6 replies] Last: You need to learn how to use arrays and functions. You're doing the... (by AbstractionAnon)
|
by jbos1190
Requesting help with simple loop problem
|
I'm trying to have a while loop that reads integers into a vector, as long as cin.good(). The problem im having is the vector always ends up with a size() of 1... |
Feb 19, 2013 at 1:18am
[5 replies] Last: Yes, with a little tinkering I realized that I didn't fully understand... (by jbos1190)
|
by munjo5746
Operator overloading by using friend function!
|
I'm having trouble working on my data structure programming project!! I have to implement the statistician class but the operator overloading part is a problem... |
Feb 19, 2013 at 1:16am
[no replies]
|
by leontre17
I keep getting an error i do not understant. im a beginner!!
|
i am using visual studio and writing a program to come up with a square root of a number that is prompted from the user. the error i receive is [error C2296: '^... |
Feb 19, 2013 at 1:15am
[1 reply] : ^ is not how you raise numbers to an exponent in C++, it is used for b... (by Hippogriff)
|
by seraphdd
Class inheritance help (hw)
|
Edit : Nevermind everything works except the parachute I get the same statement printed even if I change it to false in the main.cpp. I am using a class car ... |
Feb 19, 2013 at 12:25am
[3 replies] Last: Oh right Thank you so much. Solved. (by seraphdd)
|
Private code |
I have a segment of code that i do not want the program to execute unless the user wants it to and the goto statement brings them there. So id there any functio... |
Feb 18, 2013 at 11:54pm
[4 replies] Last: Don't worry i figured it out. (by InfinityCounter)
|
by johnny92
initializing constructors argument in main
|
How can I add an argument to a constructor in the int main section? I have class slug_imf { public: slug_imf(string); }; slug_imf::slug_i... |
Feb 18, 2013 at 11:52pm
[2 replies] Last: I tried it again and you're right it works. Thanks. I must of not incl... (by johnny92)
|
by dustin0219
HW help .. think I'm close
|
Assignment followed by my program files currently. I am getting an error code w/ no specific lines. Might be an issue with my #include. I'm stuck and woul... |
Feb 18, 2013 at 11:50pm
[1 reply] : Please include all your code in [ Code] [ /Code] tags to make it easie... (by Hippogriff)
|
Can someone help with my C++ program??!!! |
I need a program to calculate the total revenue. I need help here is my c++ program: //Program to calculate total revenue #include <iostream> using names... |
Feb 18, 2013 at 11:09pm
[4 replies] Last: missing semicolons at the end too ? Missing a whole lot of them... ... (by Oria)
|
by mirec
drop down
|
hi i was wondering that why every time i watch some tutorials when they start to type something they have this little drop down help and I don t. for exampl... |
Feb 18, 2013 at 10:44pm
[3 replies] Last: ok nice one thanks. because I didn t know that it is called intellisen... (by mirec)
|
by kumakuma
SIMPLE SIMPLE question for setw
|
Create a for loop that counts from 100 down to 1. In the loop, print out each number. If the number is even, print "---Even". Use the appropriate printing comm... |
Feb 18, 2013 at 10:40pm
[1 reply] : nvm, i fixed them already =) (by kumakuma)
|
by ppkkyaw
Request Informaiton
|
Hey guys I m new to C++ and want to learn but I don't know the editor for C++ and its compiler so pls tell me where do I download the editor and its comp... |
Feb 18, 2013 at 10:38pm
[7 replies] Last: ASAP please im going to pass my assignment this coming 1:00 pm. thanky... (by Roseville)
|
by vasalax
help making this code friendly
|
hello im having trouble finding making this code user friendly. wondering if someone can help me. sorry for my bad English. its my 2nd language // This prog... |
Feb 18, 2013 at 10:38pm
[no replies]
|
by corndogg
please help with pong game
|
I am trying to write a simple pong game and have been following the lazy foo tutorial. I cannot get collision detection on the second paddle and I cannot get t... |
Feb 18, 2013 at 9:42pm
[2 replies] Last: use code tags and indent...... (by greenleaf800073)
|
OOPS Problem when i separating interface from implimentation |
The main file is untitled1.cpp #include <iostream> #include <string> #include "PaySystem.h" using namespace std; int main() { string EmployeeType; //12 sc... |
Feb 18, 2013 at 9:38pm
[7 replies] Last: the following code is missing :#include<MyFunctions.h> my English is v... (by flony1)
|
by Reeceboy1299
I'm getting a linker error
|
Hello, I am working on making a small text based game, but I keep getting an error message that says: [Linker error] undefined reference to 'WinMain@16' Id re... |
Feb 18, 2013 at 9:33pm
[1 reply] : OH! DERP!!! nvm! I fixed it (I didn't have a main function!) (by Reeceboy1299)
|