Skip to content

Compiling using Neutron

Fahad Mustafa edited this page Jan 6, 2019 · 1 revision

Compiling using Neutron

Create your C/C++ file and save it wherever you want.

(For this, I will show messageBox.cpp located here)

The file I am using only displays a Normal Message box using the Win32Api.

// Windows.h Demo.
// This file is to be compiled on Linux
#include <windows.h>

int main()
{
    MessageBoxA(NULL, "Hello, World!", "Neutron", MB_ICONINFORMATION);
    return 0;
}

Compile and Run the File using Neutron

Demo

The file compiled will also work on Windows Operating Systems aswell as on your PC with Neutron or Wine.

Clone this wiki locally