Beginners - May 2013 (Page 47)

Help!
 
I'm not sure why I keep getting this error. expected primary-expression before '<<' token I hav...
[2 replies] Last: Lol.. Im an idiot. This is my 1st C++ class.. VERY MUCH appreciated!! (by sokrateze)
Calculation Function?
 
Below is my code for a calendar program that I'm trying to write. The only conditional statements I ...
[4 replies] Last: dateDiff(int m1, int m2, int d1, int d2, int y1, int y2); will have ... (by jidder)
i need a function like cin.getline() for the number arrays not the charachters?
 
i need a function works just like cin.getline() for the number arrays not the charachters?
[3 replies] Last: I think I better understand you. You want to (1) read a number (like ... (by Duthomhas)
streams
 
my program is simply to ask the user for a sentence and then ask them for a character in that senten...
[2 replies] Last: thank you very much i learned what i needed (by spiritedDedication)
setting a string to something
 
how do you set a string to something like string name = "bob" is that right?
[1 reply] : Have you tried it? Ps you need a semi-colon(;) at the end of 99% of th... (by giblit)
by jxkl5
Attack + health system! (1,2)
 
This is my second day of teaching myself C++. I'm trying to make an easy text based game. There a...
[24 replies] Last: Thank you! All of those were helpfull. I was gonna change the backgrou... (by jxkl5)
Base class problems - polymorphism
 
How can i get the top three prototypes to be polymorphic? And do i have to make them abstract? ...
[1 reply] : It is not clear what you want. (by vlad from moscow)
Enum
 
Can enum type names be more than one word?
[7 replies] Last: Name of enum is an identifier. Identifiers in C/C++ may not have embed... (by vlad from moscow)
Tips on Keeping Code Out of Main
 
Hey guys, as you know or have seen from my posts, I'm completely new to C++. I'm starting out with w...
[4 replies] Last: haha Classes should be the last thing on my mind right now :D I know ... (by Rinches)
HELP toplogical sort
 
please help i must add topological sort this code but i can't.please help #include <iost...
[2 replies] Last: city 0 not going anywhere,,,i must listed road city to city,,,if i add... (by beginnner)
polymorphism implementation
 
making a prototype polymorphic? How to make these three methods to behave polymorphically ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/polymorphism/ (by giblit)
How to play sound?
 
Hi, how would I play a sound of some one slashing a sword?!
[3 replies] Last: then don't just sit there and expect answers, there are links on the p... (by OxBADC0DE)
class
 
Write your question here. Creat a pogram that uses inheritance. You will have a base class called...
[2 replies] Last: Write your question here. Second assignment? Try again later!!!... (by OxBADC0DE)
pointer
 
Write your question here. Use these pointers to store the values 10,20,30,40,50,60,70,80,90,100 ...
[2 replies] Last: What's the point of doing their homework for them? They didn't even as... (by giblit)
by giblit
If statement with coords seems to be slightly off
 
Hello, I have made a snake game because I thought it would be something fun to make for practice. Th...
[3 replies] Last: I knew there was something wrong with my "hit" function but I couldn't... (by giblit)
[C++] Improve Nested Switch() Statement
 
Hey guys just a quick one. I am writing a program that prompts the user for a key and a scale whi...
[no replies]
Plz Help!!!!!!!! (1,2,3)
 
Write a program create a database for a class consisting of 10 students then prints it as a table. ...
[46 replies] Last: You need to use getline (cin, Names ) instead of cin. If you don't ... (by closed account 3qX21hU5)
have an error i cant figure out
 
so i have three files and i'm getting an error when i compile and can't figure it out this is my .h...
[12 replies] Last: edit: figured this one out (by toshbar)
Declare an array of 20 Fraction pointers, all initialized to 0
 
I'm working from the ground up on a project to help me prepare for c++ next semester. This is the fi...
[no replies]
Programs Always Freeze?
 
Ok, so this is really weird what keeps happening with my programs. I am using Microsoft Visual C++ 2...
[no replies]
May 2013 Pages: 1... 4546474849... 66
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.