How can i
cout<< " \ "<<endl;
i get errors when i cout " \ " no errors on anything else... just when i cout that particular slash... if anyone an help me out it would be appreciated
This is a discussion on this is probably a dumb question but ... within the C++ Programming forums, part of the General Programming Boards category; How can i cout<< " \ "<<endl; i get errors when i cout " \ " no errors on anything ...
How can i
cout<< " \ "<<endl;
i get errors when i cout " \ " no errors on anything else... just when i cout that particular slash... if anyone an help me out it would be appreciated
You need "\\".
Thank you... now that i think about that.. it makes sense
Please, all newbies.
Instead of making subjects like "Im so stupid help me with this extremely dumb question" just do it like "Help me with x function" or something instead. Im tired of seeing all these "Dumb question" posts.
No question is dumb!
yep, anyway, you can also do this:
cout<<char(#)<<endl; // whereas # is the ASCII value (an integer) of the character.
think only with code.
write only with source.