messages [Archive] - ForumsHQ

Post Reply
dxpac666
Posts: 0
Joined: Sun Dec 09, 2001 6:00 am

messages [Archive] - ForumsHQ

Post by dxpac666 »

when editing messages, some of them have %s and %d. what are the specific meanings for the s and the d, if any? I hate complicated stuff... I hate it even more when I'm the only person who finds it complicated.
Aragon
Posts: 0
Joined: Fri Jan 19, 2001 6:00 am

Re: messages [Archive] - ForumsHQ

Post by Aragon »

I believe it has to do with whether a string or integer is outputted. In C, %d is integer, and if I'm not mistaken %s would be string.

printf(%d,11111);

printf(%s,"abcde");

Gotta love C++ though..

cout
Post Reply

Return to “Editing Questions and Guides”