[Weird Question] Where to break a line in C++ code?
I have a weird question:
I am using emacs and g++ to code C++ code in linux. Sometimes a line is too long to fit in a screen, I would like to break a line with RETURN key but I don't want to offend the compiler. Does anybody know the rule where to break a line in C++ code?
For example, can I break the line at the following <break> points?
for (int verylongname=0; verylongname<100; <BREAK> verylongname++)
bool verylongfunctionname<BREAK>(int verylong1, <BREAK> string verylong2);