1: Does anybody if it's possible to or reference on how to 2: generate linenumbers????
3: That indicate on which line you are busy on?
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
Printable View
1: Does anybody if it's possible to or reference on how to 2: generate linenumbers????
3: That indicate on which line you are busy on?
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
Try this, might not work on your compiler though...
#include <iostream>
using std::cout;
int main() {
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
cout << __LINE__ << endl;
return 0;
}