sprintf code

Discussions about the internal structures of the game. You can also post here if you'd like to know how things really work (and don't know how to read C code).
Post Reply
idcarlos
Posts: 63
Joined: Mon Sep 12, 2005 2:30 pm

sprintf code

Post by idcarlos »

Hi.

In the source code I can see some sprintf sentences that I not see in the console window.

For example in the funcion file_load_hints_file(void)

Code: Select all

 sprintf(hints_file, "bygfoot_hints_%s", buf);
Can you explain (remember that I'm a VB programmer) who see this sentences?

It's the better way to see how works bygfoot without debbug (I can't debbug under C::B, maybe I need to reinstall Devcpp)
idcarlos
Posts: 63
Joined: Mon Sep 12, 2005 2:30 pm

Post by idcarlos »

Sorry.

sprintf don't show anything to the console, a mistake with "print" funtion in VB

I'll use g_warning and one C tutorial
Post Reply