Question: how can i put a plus sign in c++? how can i put a plus sign in c++

Answer: Are you trying to do maths in c++ ie add numbers together or are you just trying to display the plus symbol as a character so that you can show the end user that you are literally adding 2 or more values together ?\n\nIf you are using it to add then literally just use the plus symbol ie + or if you want to use it to display an addition then put the plus symbol inside of a string \n\nie\n\ncout << "+"\n\nA good tutorial for displaying things to screen would be this tutorial :\n\nhttp://www.cplusplus.com/doc/tutorial/basic_io.html\n\nShort of that look here :\n\nhttp://www.cplusplus.com/doc/tutorial/\n\nalso www.codeproject.com and www.pscode.com will have lots of other source code examples etc.\n\nIt all depends on how complex you want to get and if you want a GUI etc
This question from the Yahoo Q&A forum is categorized in the topic: Entertainment & Music