| View previous topic :: View next topic |
| Author |
Message |
Jvlaple Grandmaster Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Sun Dec 28, 2008 7:06 pm Post subject: Dev C++ Problem? |
|
|
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 |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Dec 28, 2008 7:17 pm Post subject: |
|
|
Perhaps because you're including stdio.h?
It's still too huge I believe.
|
|
| Back to top |
|
 |
Jvlaple Grandmaster Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Sun Dec 28, 2008 7:25 pm Post subject: |
|
|
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 |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Sun Dec 28, 2008 7:41 pm Post subject: |
|
|
| Try using iostream instead of stdio :/
|
|
| Back to top |
|
 |
Jvlaple Grandmaster Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Sun Dec 28, 2008 7:54 pm Post subject: |
|
|
okay thanks for the tip
_________________
| jadeling wrote: | | how do i save my npc? |
| samerj13 wrote: | | What the fuck is visual basic? |
|
|
| Back to top |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Mon Dec 29, 2008 12:01 am Post subject: Re: Dev C++ Problem? |
|
|
| 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 |
|
 |
Jvlaple Grandmaster Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Mon Dec 29, 2008 12:57 am Post subject: |
|
|
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 |
|
 |
Zerith Master Cheater
Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Mon Dec 29, 2008 1:20 am Post subject: |
|
|
| 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 |
|
 |
Jvlaple Grandmaster Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Mon Dec 29, 2008 6:17 am Post subject: |
|
|
I found a compiler that can be used with NB yay
_________________
| jadeling wrote: | | how do i save my npc? |
| samerj13 wrote: | | What the fuck is visual basic? |
|
|
| Back to top |
|
 |
|