Advertisement

2 very easy questions...

Started by November 09, 2000 07:57 AM
0 comments, last by Floru 24 years, 2 months ago
Hi! First: How do you output the % character in C/C++? For example in the standard printf function? Second: When you want to display some piece of code here in these forum messages how do you to this? I have seen that some people how they''re code in a white box and all the tabs etc. are correct... I think you have to use some kind of tag. Am I correct? Thanks Floru
1) For the printf() function you use "%%".

2) Read the FAQs at the top of the page.
<span class="smallfont">That is not dead which can eternal lieAnd with strange aeons even death may die.   -- "The Nameless City" - H. P. Lovecraft</span>

This topic is closed to new replies.

Advertisement