Archived

This topic is now archived and is closed to further replies.

Exe output size

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hail Why it my exe file so big. I user ms vc++ 6.0. This is the code. And the output is about 500 kb. Humm. In Dev c++ its about 78 kb.
  
#include <iostream>
using namespace std;

int main()
{
char input[1024];
int num=0;
cin >> input;


for(int i = 0;i < strlen(input); i++)
{
        if (input[i] == ''*'')
        {
         cout << "en stjärna" << endl;
         num+=1;
        }

}


cout << num;




return 0;
} 

  

Share this post


Link to post
Share on other sites
How do i change to release mode mode. What is the main difference between debug and release?

There is in the meny "Project" -> settings.

Here i can fins links and lib files. And settings for release and debug. But I cant find where i can change to release mode.

Share this post


Link to post
Share on other sites
If you have a little drop-down menu in one of your toolbars that says "Win32 Debug", change it to "Win32 Release".

If not, show the Build toolbar, repeat.

Share this post


Link to post
Share on other sites