Hi
Is there a way to print out line numbers with the code (i.e. number each line of code)? Or even better export it to word with line numbers?
(In MS Visual C++ 6.0)
Thanks
Hi
Is there a way to print out line numbers with the code (i.e. number each line of code)? Or even better export it to word with line numbers?
(In MS Visual C++ 6.0)
Thanks
There are text editors that use that.
"When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."
Would you care to mention any good one?
Actually, do you know of one that can save the line numbers with the code as well in text?
Last edited by anomaly; 12-10-2003 at 03:31 PM.
Why would you want to save the line numbers with the code?
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
echo that, any editor worth it's salt just lists what number it is (www.textpad.com is a good one). You don't have to save the numbers for any reason.
PHP and XML
Let's talk about SAX
in VC++ 7:
Tools > Options > Editor > C++ > Line Numbers
But you won't be able to copy line numbers with your code, so if you want to add your code to a word doc with line numbers, why not write a program for it, it would be extremely easy, read the file line by line, add line number, and print it to another file.