View Single Post
Re: Do NOT use CODE tag for posting source code
Old
  (#9)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: Do NOT use CODE tag for posting source code - 08-01-2004

lets see if it works

Code:
#include <stdio.h>
 
int main(void)
{
int just_a_number = 5;
printf("Some ugly text %d\n",just_a_number);
while(getchar()!='\n'); // hmm seems like there has to be a space after while
return -1;
}
 
if while for switch case break continue
 
int char BYTE BOOL float double TRUE FALSE // highlight theses too
 
1 2 3 -4 5.6 // highlight numbers with red for example
this is how it looks in my MSVC


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)

Last edited by koraX; 08-01-2004 at 09:24..
  
Reply With Quote