Line break in code
Solved
teava
Posted messages
3
Registration date
Status
Membre
-
teava Posted messages 3 Registration date Status Membre -
teava Posted messages 3 Registration date Status Membre -
Hello everyone,
I am new to this forum and I am starting with C++.
I have some basics in programming in other languages, like Matlab.
So, here's my question:
How is it possible to create a line break in the code (and not in the program) to avoid writing long lines? In Matlab, we simply use the characters "..." at the end and the beginning of the next line.
Basically, I want to do something like:
cout << "blablabla\n [line break]
blablablablabla\n"
Instead of having:
cout << "blablabla\n blablablablabla\n"
Thank you for your help :)
I am new to this forum and I am starting with C++.
I have some basics in programming in other languages, like Matlab.
So, here's my question:
How is it possible to create a line break in the code (and not in the program) to avoid writing long lines? In Matlab, we simply use the characters "..." at the end and the beginning of the next line.
Basically, I want to do something like:
cout << "blablabla\n [line break]
blablablablabla\n"
Instead of having:
cout << "blablabla\n blablablablabla\n"
Thank you for your help :)
Configuration: Windows XP Firefox 2.0.0.2
Thank you