Why did I make cont a char? Duh.. Better fix that. So what should I do with spd?
EDIT: Oh, nvm i know what to do. Thanks for all the help guys.
Type: Posts; User: Suudsu2200
Why did I make cont a char? Duh.. Better fix that. So what should I do with spd?
EDIT: Oh, nvm i know what to do. Thanks for all the help guys.
I have this code:
#include <iostream>
using namespace std;
int bday;
int bmonth;
int byear;
thank you, that is helpful, but what was wrong in the 1st place?
Ok, I fixed that but I have another problem.
I have this code (you can skip down to the bold):
#include <iostream>
using namespace std;
int bday;
int bmonth;
int byear;
Now it thinks "y" is a pointer (I think).
duh...
Oldest mistake in the book.
} while (cont = "y");
for this line I get:
invalid conversion from 'const char*' to 'char'
OK, so i got a microsoft windows thing on my mac that let me run windows. I downloaded the dev bloodshed C++ compiler and fell in love with it, it was so simple! (I am the uber nub). Well, one day my...
Thanks! It worked.
Hi guys. I'm new to C++ and was taking a tutorial where at the end they give you a code. I figured I would plug it in to my compiler (Dev-C++) and run it.
I got like 4 error messages. The first and...
For anyone else with this problem
http://richardbowles.tripod.com/cpp/linklist/linklist.htm
Really cleared it up for me.
Thanks matt and everyone else,
P.S. You are so kind
That is really helpful but (and I don't want to sound ungrateful but) 2 things:
1. Could you please supply a complete code (Something I can cut and Paste and run)
2. I am pretty newbish (as...
Maybe i should have been more specific. I mean like syntax.
such as:
Some commands and stuff... // This command means...
More commands and explanations...
No offense, but what is that supposed to mean?
I mean like code.
Such as:
Blah, blah, blah.
Hi, this is a newbie question but here goes...
I cannot seem to understand linked lists! Its one of those things you just don't get. I've read the tutorial about 1,000 times and I still don't get...
I can't seem to find this anywhere else so....
What exactly is the definition of an "argument"?
Now, at a closer look, I see it is called "C style strings". Why is it there? That would seem to just confuse people. Also, what is the point?
-Thanks
First of all, I found it on this sites C++ tutorials, in the tutorial "strings". If you look on the page http://www.cprogramming.com/tutorial.html you can clearly see it under c++ tutorials.
As it...
Hi, I am on the tutorial and I need some help that is probably incredibly basic to u guys. In the tutorial, when explaining strings, it says:
#include <iostream> //For cout
#include...