Beginners (Page 6)

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: http://www.cplusplus.com/reference/algorithm/minmax_... (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: http://www.cplusplus.com/reference/cmath/ceil/ (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 http://www.cplusplus.com/articles/y8hv0pDG/ 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)
loop with bigNo
 
is about this problem: Given this scheme below: ABCDE / FGHI = 9 How many solutions are there...
[11 replies] Last: Interesting problem! Both sets { is_mod_9 } and { may_be_divisible } ... (by PCrumley48)
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)
by Reiz
Can't manage to use char pointers
 
Hi, I am new to C++. I'm trying to create a string class for homework. Interface was given to me. I...
[6 replies] Last: Pointer is a variable that holds one value. A number. The number means... (by keskiverto)
Pages: 1... 45678... 121
  Archived months: [sep2014]

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