I see what you mean. I changed it back to use the brackets.....it helps me see and read the code alot clearer.
Thanks guys you have been a great help!
Type: Posts; User: Anthony172
I see what you mean. I changed it back to use the brackets.....it helps me see and read the code alot clearer.
Thanks guys you have been a great help!
Thanks Ninja! It worked. The tutorial from the site instructed me to have { and } brackets for the code I want executed for the 'if' and 'else' statements. Guess it was wrong.
What if I wanted...
Ok am so green to C++ it's scary! So please bear with me. I keep getting this error when I compile the code and it reads
It's real simple and to me it looks like it should work.
...
Thanks guys it worked. I know it's really elementary but it helps me out alot. Thanks again.
It runs now but I cannot get program to spit back the numer I type in. As soon as I type the number the window disappears. I know I am doing something wrong because the program itself is compiling...
Thank you very much!
Well here it goes....this is my code :(
#include
int main()
{
Basically all I have done is some visual basic, html, and asp. I really really want to learn C++ but I need a push in the right direction.
I downloaded bloodshed compiler and was trying to some...
I was looking around for a good tutorial and was wondering if the one on the site was any good??