i need to know how to write a C programme that outputs its C code into the standard output.
basically, when i run the programme the output should be the c code itself. how can i do it?
(im using compilers Turbo C and GCC-Vim)
C programming?
The C programming language is a popular and widely used programming language for creating computer programs. Programmers around the world embrace C because it gives maximum control and efficiency to the programmer. If you are a programmer, or if you are interested in becoming a programmer, there are a couple of benefits you gain from learning C:
You will be able to read and write code for a large number of platforms -- everything from microcontrollers to the most advanced scientific systems can be written in C, and many modern operating systems are written in C.
The jump to the object oriented C++ language becomes much easier. C++ is an extension of C, and it is nearly impossible to learn C++ without learning C first.
Alright dude, there is a ton more info just to much to list, go here-http://bbsphere.com/phpbb/viewforum.php?...
Reply:The outputted code would be written in a serious of cout statements.
secret garden
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment