Jump to content

Exporting Codes

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
ld_pvl

ld_pvl

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Hello,

I was wondering how I could export my code for documentation so that it has numbered lines on the left like shown below. I would be very grateful if you could cite me a software that I could use or anything that could help.

Thank you,
LD

1. public class Test
2. {
3.     public Test()
4.     {
5.          ...
6.     }
7. }


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You should be able to write a program that does that quite easily, in almost any language that supports file processing. It's not the sort of thing you would normally find as a tool option, since it would make the code uncompileable.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
ld_pvl

ld_pvl

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Thank you! I'll give it a go.