Beginners (Page 8)

by jmag91
Help appreciated - Pass by reference (1,2)
 
In the Input function I am supposed to update the variables MilesDriven and GalsUsed. It says to do...
[21 replies] Last: The problem is on line 25: operator>> leaves the new line character ... (by coder777)
Which is the best program for c++.
 
please support your idea
[7 replies] Last: Planet's radius is "R". Also, 2 satellites were located(longitude and ... (by zorigoo12)
Converting string to stack<char>
 
Hello everyone, I'm working on a c++ assignment that requires me to push a string to a function, ...
[3 replies] Last: That seems to have worked, thank you! (by m0rteum)
HELP PLEASE URGENT :(
 
please help i need to make a program that will cout as a menu to choose from converter or calculator...
[6 replies] Last: cout << "Copyright law protected if copied or edited without my permi... (by giblit)
how does a save file work? how do i create it
 
Gonna try to keep this short. Making a game similar to zork basically a text based rpg and need to s...
[1 reply] : Have you read the tutorial on files? http://www.cplusplus.com/doc/tuto... (by LB)
by zoyboy
need a little help figuring out what's wrong
 
I have an assignment where I'm supposed to figure out grade information for multiple sections. I ha...
[14 replies] Last: #include <iostream> using namespace std; int main() { int highsc... (by zoyboy)
Using a do-while loop to validate input
 
I'm having trouble with this program. It produces the correct sample output given to me by my profes...
[15 replies] Last: It finally worked! Thanks a lot to both of you for all your help. (by steezedq)
by brenny
How C++ works differently in OSX and Windows
 
Hello, I've experimented with a little python, and some swift. I didn't really enjoy what I was l...
[1 reply] : The difference is not in the C++. Every application has to use the fa... (by keskiverto)
Copy constructor in derived class
 
let's say if i have 2 classes like: class base{ private: int age; st...
[8 replies] Last: what if the base class doesn't have a user defined copy constructor ?... (by keskiverto)
How to initialize Array in Constructor and access elements using an object
 
What is the proper syntax for accessing an array within a constructor and passing the argument into ...
[2 replies] Last: Thank you so much! (by vkhanhvy)
how to use cin in a if statement
 
How do I use a if statement with cin like, if the user types ok then this would happen? I only know ...
[1 reply] : #include <iostream> #include<string> int main() { std::string ch... (by MiiNiPaa)
I'm confused about this user defined data type.
 
What exactly does this do? So far I understand that it is defining a structure type as type, but I'm...
[2 replies] Last: myStruct is a synonym for struct type Line 6 is effectively: ... (by AbstractionAnon)
Troubles with setprecision
 
I'm trying to make a loan calculation program for my class and I'm having trouble with getting my ou...
[2 replies] Last: Thank you! Problem solved. (by KyuubiCalvary)
by GilTea
Import file reading extra line
 
Write your question here. Hi, I have built a program that imports and reads a file but I am havin...
[1 reply] : Because of this !import.eof() . Do not loop on eof (unless you know h... (by MiiNiPaa)
Help me with Array please!
 
When I run my program, everything runs fine until I get to the findHighest(rainfallArray, numMonths,...
[2 replies] Last: oh yes yes. thank you. that was a silly mistake. i thought for a secon... (by toesockshoe)
Recursive function with no parameters
 
Hello everyone. Is here anyone who can explain to me what a recursive function with no parameters is...
[17 replies] Last: i agree with keskiverto. you learn by coding yourself. however i am n... (by anup30)
What interesting things can I make using C++?
 
I have been learning C++ for 8-9 months. But actually I am not being happy with it. I can't feel the...
[12 replies] Last: TarikNeaj wrote: SDL is more c-ey well, SDL won't use classes ... (by anup30)
while loop problem
 
Q)Write a C++ program that takes a positive integer from user and store it in variable posNumber. Fo...
[4 replies] Last: Thanks that worked :) (by b3ginn3r)
by HG319
Using a stack to compare letters in a string
 
So I have to write a code and must you a stack, to determine if the sequence is is in the form of X^...
[1 reply] : I am not sure what is wrong with your code, it seems unnecessarily com... (by fg109)
Is this set up correctly?
 
Could somebody just tell me if I have my vector set up in my class correctly? // WorkerBee....
[1 reply] : The members size and currentWord have no purpose. Client code has no r... (by keskiverto)
Pages: 1... 678910... 104
  Archived months: [jan2015]

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