The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
Corona688
Forum:
Programming
01-26-2018
4
Concatenate integer and space/newline for cout in C++
1,959
Posted By
Corona688
No idea what's going on there. If it mistook it...
No idea what's going on there. If it mistook it for some other operator there'd be a syntax error since ? and : can't do much else, but it's definitely not working. Perhaps it's being taken to be...
Forum:
Programming
01-25-2018
4
Concatenate integer and space/newline for cout in C++
1,959
Posted By
Corona688
Plus does not mean append, that's only a feature...
Plus does not mean append, that's only a feature of std::string. What you are doing is adding a number to a number.
I don't think you need std::string at all. Just let cout print them:
cout <<...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×