Skip to main content
GameDev.net gamedev.net
🔒 Locked

An issue with code formating on the forum.

Started by __ALex_J_ May 3, 2002 at 12:14 AM 6 replies 1.5k views
Oluseyi
Oluseyi
It's a bug. To quote MKH's sig, "Oh, so you've never written buggy software?!"

The simple workaround is to insert an extra newline, ie type this in your post instead:

[source]
#include <header>
­
#include <header>
­
// etc...
[/source]


That shows up like so:

    
#include <header>

#include <header>

// etc...



[Edit: Formatting.]

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ ]
[ MS RTFM [MSDN] | SGI STL Docs | Boost ]
[ Google! | Asking Smart Questions | Jargon File ]
Thanks to Kylotan for the idea!


[edited by - Oluseyi on May 3, 2002 1:26:36 AM]
__ALex_J_
__ALex_J_
Thank you for the good trick. I will add thoses lines right now.
__ALex_J_
__ALex_J_
Copy, Past and it compiles corectly again. But it''s still full of grey. Any trick for that one?
bishop_pass
bishop_pass
testing...


  
#include <stdio.h>

#include <stdlib.h>

/*************/

void main ()
{
printf ("Howdy!\n");
}
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in
__ALex_J_
__ALex_J_
another test


      
/* 123/345
*
*/



#include <stdio.h>

int
main (void)
{
printf("hello!\n");
return 0;
}


[edited by - __ALex_J_ on May 3, 2002 1:43:07 AM]

[edited by - __ALex_J_ on May 3, 2002 1:44:06 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.