Beginners (Page 67)

Create a file containing the following car numbers, number of miles driven, and number of gallons of gas used by each car
I am having a trouble with this question when it comes to loop a) Create a file containing the fo...
[5 replies] Last: For average miles per gallon you just divide miles/gallon. For the tot... (by danghotties)
by bs319
tic tac toe game, check is board is full and is position is taken
I have a beginner tic tac toe program to write. For this assignment we do not need to know who the w...
[3 replies] Last: Can you repost your code? (by PCrumley48)
Delete more than one record from .txt file
So i get the concept of how to do this but i'm just not doing it right. I have to ask the user if t...
[2 replies] Last: Ahh, i see. But i cant put it == to Student(id, firstName, lastName,... (by ezmesori)
getline function
I'm having issues using the getline function to read words from an input file into a string. I will ...
[2 replies] Last: Thank you, I tried to establish a string array like this, and I'm gett... (by JoJodoggy1)
finding least and greatest number
Okay so I haven't started writing the code yet but can I please have a hint on how to write a progra...
[2 replies] Last: An indirect hint: (by keskiverto)
Calculating incorrectly- HELP please
MY program is running incorrectly, it will not calculate the correct salary with a 10% raise, can so...
[6 replies] Last: got it, thanks! (by melgunn6)
Pointers with Images Help
I get a memory access violation when I run the below code. void createNewImage(int width, int height...
[8 replies] Last: You should be using standard containers for that. My guess is you p... (by kbw)
Can someone please help me write this program
Suppose a large group of students are taking activity buses for a field trip. Each bus can sit 24 p...
[3 replies] Last: (by keskiverto)
Sum of Digits in a String
The instructions: Write a program that asks the user to enter a series of single digit numbers with...
[2 replies] Last: As tcs mentioned it's a char. To convert simply subtract '0' (by giblit)
Multiple inheritance. Ambiguous access errors
Hello, I have to implement multiple inheritance. But i met these errors: ambiguous access of 'a' and...
[2 replies] Last: And favour #include <iostream> over #include "iostream" ... (by JLBorges)
hangman game help !
guys i have made a hangman game and its working well! the problem is that when i repeat a letter th...
[no replies]
Can i use = between class instances?
I need to change a class instance to another instance of the same class. I'm also using SDL; Here'...
[1 reply] : You can do so! See for how... (by tcs)
Need help with return functions
Hey guys. I have a programming class that I take once a week at my college. I had to miss last weeks...
[16 replies] Last: thank you! You're great! (by melgunn6)
Help with a function please!
Ok my professor wanted me to wrtie a function that would simulate a coin being tossed and to display...
[3 replies] Last: The point of a function taking parameters is that the parameters affec... (by LB)
the If loop is not recognizing my variable?
Im not even sure how to say this, this is a very simple 'quiz' that i have as assignment, Read the q...
[2 replies] Last: Yes sir, the text given to me requested that I have to allow correctio... (by Dexterr)
need C++ code for a simple program.
program should display your own ID and name on the top of the screen through passing as attributes a...
[2 replies] Last: can u make code for me. im just a beginner at c++. welcome. cpp file s... (by victor6)
Help with loops, total noob here.
Hey guys im a programming noob and i would need some help with a litle loop. can you rewrite it i...
[7 replies] Last: Yes, it way better your way. so for for loop i did for(zn;(zn>='A... (by programiNOOB)
c++ 11 vs 98
so recently i used a for loop,that a person from this forum showed me for(char c:str) this...
[6 replies] Last: The GNU people think that you should have to specifically initiate C... (by Duoas)
by cGuru
cin.get() AND cin.getline() ignored by compiler..??
I am trying to let the user input a username for their blackjack account and not accept spaces in it...
[1 reply] : Can you post what you have so far? (by megatron 0)
by nomnum
for loop OR string::at issue
Hey! So I am trying to make a for loop that uses 'i' (the counter/increment) as the parameter (ar...
[3 replies] Last: no worries. just remember if you've defined an array with ten elements... (by mutexe)
Pages: 1... 6566676869... 112
  Archived months: [oct2014]

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