01.05.2016, 16:23
I'm programming some C++.
And I came across a problem, I can't use the quote marks in a cout.
I don't remember how to do.
I tried with this: http://www.cplusplus.com/forum/beginner/2355/
But on that way it just thought that I wanted to end the sentence in my cout.
Or what I should say. I might have used it wrong though.
And another question:
How can I let a user paste a text? (when the built program are running)
And then I let the program for example add a character infront
(of what was pasted) or so.
I want it to read the text in a .txt file or just paste it normally into the program I created.
Edit: Post the easiest ways as I'm not a expert at C++ yet.
And I came across a problem, I can't use the quote marks in a cout.
I don't remember how to do.
I tried with this: http://www.cplusplus.com/forum/beginner/2355/
But on that way it just thought that I wanted to end the sentence in my cout.
Or what I should say. I might have used it wrong though.
And another question:
How can I let a user paste a text? (when the built program are running)
And then I let the program for example add a character infront
(of what was pasted) or so.
I want it to read the text in a .txt file or just paste it normally into the program I created.
Edit: Post the easiest ways as I'm not a expert at C++ yet.