Skip to main content
gamedev.net
🔒 Locked

Literals in posts

Started by adammil 0 replies 700+ views
Original Post
adammil
adammil
How do I preserve literals in posts? I can''t hardly paste any code without the board misinterpreting it! (IE, Less than signs as html tags, pipse as slashes.. as a command for italics?.. those smiley faces too) Help! Thanks
adamm@san.rr.com
Cygon
Cygon
By using the et sign.

If you want your text to contain
#include <stdio.h>
you've got to write
#include & lt; stdio.h>
(without the space between & and lt;, or course)

I don't know what to do against
MyClass:rint();
but perhaps you could just insert an additional space:
MyClass:: Print();

Anyway, there's a converter somewhere which changes text so that its html version looks like the original.
Sorry, can't find it anymore, but you'll surely find something using altavista or so

-Markus-


Edited by - Cygon on 4/12/00 4:21:09 AM
Professional C++ and .NET developer trying to break into indie game development.
Follow my progress: http://blog.nuclex-games.com/ or Twitter - Topics: Ogre3D, Blender, game architecture tips & code snippets.

Topic Locked

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

Sign in to reply to this topic.