Raised This Month: $ Target: $400
 0% 

[RESOLVED] sprintf problem ....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
neo_gis
Member
Join Date: Sep 2009
Location: Rabat
Old 06-01-2010 , 18:14   [RESOLVED] sprintf problem ....
Reply With Quote #1

Code:
    
int i = 15;

char *msg;
    
sprintf(msg, "i = %d", i);
When i try this on devC++ as console app it works but on my server plugin it crashes !

anyhelp on this one ?
__________________

Last edited by neo_gis; 06-02-2010 at 11:35.
neo_gis is offline
Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode