|
|
|||||
|
A message board is a place where one can ask and/or answer questions concerning a specific topic (in our case Windows Programming in C++). Members and visitors of the forum are active participants. Message boards are very instructive and let us learn from the experience of both beginner and expert programmers.
[Top] Ultraboard Editor is a simple application that converts C/C++ source code giving it a better appealing for posting on message boards. The problem is that tabs and leading white spaces are stripped when converted to html. Certain sequences like \n are misinterpreted. The '^' sequence causes APO to appear and the remainder of the post is lost. The solution is to replace tabs and spaces with html non-breaking spaces and to replace all non alphanumeric chars with their coded equivalent.
The following table shows how source code looks like before and after conversion.
[Top]
|
|||||
Please do not hesitate
to send a message if you experience any problem or
if you have any sugestion or comment about this site. |
||||||
Copyright © 2000-2001 José M. Padrón. All rights reserved. Last update: 08-02-2001. |