Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Dev C++ Problem?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Sun Dec 28, 2008 7:06 pm    Post subject: Dev C++ Problem? Reply with quote

Why does this code:

Code:

#include <stdio.h>

int main(int d, char[] a) {
   printf("you suck");
   return 0;
}


generate a 500kb file in dev c++? the source isnt even 1kb -_-

_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Dec 28, 2008 7:17 pm    Post subject: Reply with quote

Perhaps because you're including stdio.h?
It's still too huge I believe.
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Sun Dec 28, 2008 7:25 pm    Post subject: Reply with quote

oh, when it compiles, it adds standard in/out?
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sun Dec 28, 2008 7:41 pm    Post subject: Reply with quote

Try using iostream instead of stdio :/
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Sun Dec 28, 2008 7:54 pm    Post subject: Reply with quote

okay thanks for the tip
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Mon Dec 29, 2008 12:01 am    Post subject: Re: Dev C++ Problem? Reply with quote

Jvlaple wrote:
Why does this code:

Code:

#include <stdio.h>

int main(int d, char[] a) {
   printf("you suck");
   return 0;
}


generate a 500kb file in dev c++? the source isnt even 1kb -_-


Use MSVC++ instead.
Back to top
View user's profile Send private message MSN Messenger
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Mon Dec 29, 2008 12:57 am    Post subject: Reply with quote

I used to use that, but I didn't really like the Interface, I want something similar to NetBeans.
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Mon Dec 29, 2008 1:20 am    Post subject: Reply with quote

Jvlaple wrote:
I used to use that, but I didn't really like the Interface, I want something similar to NetBeans.


Then enjoy your 5times larger executeables, and an old and outdated compiler.
Back to top
View user's profile Send private message MSN Messenger
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Mon Dec 29, 2008 6:17 am    Post subject: Reply with quote

I found a compiler that can be used with NB Wink yay
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites