Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Produce clean, small executables from C/C++ code.

Featured Replies

which os. If you want an ide for windows you can try

MinGW Studio - Uses MinGW (a port of GCC to windows).

DevC++ - Uses mingw as well

Rhino - Can be configured to use any compiler once you know the command line.

At the moment if you use any c++ compiler it will give more or less the same results (approx same file sizes etc) with all ompilers producing as small as possible an exe.If you really want to compress your exe use upx with options to strip the icons from the file header.

Linux use gcc

With maximum size optimisations enabled, of course. However, FYI highlevel languages are not usually that well adapted to producing the absolute smallest programs.

  • Author

Thanks for the replies! Yes I want to develop Windows applications .. and preferably on a Windows platform.

An example of how small I mean.. Pyron's has made a few contributions to the unattended forums, he created a little Win app (I guess he used C++) of merely 4KB! I already sent him a PM a week ago but I still don't have a reply. This program of his is called WatchDriverSigningPolicy.exe and it monitors and writes to the registry.

It isn't UPX compressed btw.

Thanks for the replies! Yes I want to develop Windows applications .. and preferably on a Windows platform.

An example of how small I mean.. Pyron's has made a few contributions to the unattended forums, he created a little Win app (I guess he used C++) of merely 4KB! I already sent him a PM a week ago but I still don't have a reply. This program of his is called WatchDriverSigningPolicy.exe and it monitors and writes to the registry.

It isn't UPX compressed btw.

That app does not contain the usual Microsoft copyright string... nor does it contain the standard Runtime Library that is usually present. All it uses are the existing DLLs. However the code is definitely the output of a compiler.
  • 2 weeks later...
  • Author

The solution is indeed to exclude the default run-time libraries. Also, use microsoft specific functions, so that they can be linked by means of DLLs.

See this link for more information (actually it's for MS Visual Studio but parts are useful for all compilers.)

http://www.catch22.net/tuts/minexe.asp

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.