That would be a good idea, however the argument is of type CHAR and strings are of type STRING and are not compatible to be compared to one another.
Type: Posts; User: camelCase
That would be a good idea, however the argument is of type CHAR and strings are of type STRING and are not compatible to be compared to one another.
I kind of understand what you're implementing but I don't fully understand. I've created a variable called 'switches' with type std::string. I compare statements to this variable though it does the...
Hello CProgrammers,
I have been struggling all afternoon trying to bring a resolution to this issue.
Application: Calculator
Issue: Command Line Arguments
When the user gets to the command...
Check up on the C++ book recommendations (I suggest C++ Without fear && || Sams Teach Yourself C++ in an hour a day). First work on general or procedural based programming, then move towards...
cin.getline -- used with c-style character arrays
getline(cin ...) used with c++ std::string.
cin -- used with int's, double's, chars,etc. Security Issue (Allows for buffer over-run - no delimiter...
A little bit off topic but my ex girlfriend is an exchange student in Australia :)
Anyways, I really do enjoy math but i'm not real great at it. I'm a junior and just now taking Algebra. I'm also...
Hello kasra5004,
You are receiving this error because in your source code, somewhere you have defined 'add' to accept greater than two arguments when you are only supplying two.. Please make sure...
It's difficult to judge anyones pace but your own. I would say as long as you fully understand what the book is implementing, and you're actually practicing the code - I don't see how you could be...
Hello CProgrammers,
I am 17 and am getting quite serious with C++. I think it might be the career for me, though I'll admit i've also said that with networking security, ethical hacking, etc. I'm...