shrub/nix/nixcrpkgs/pkgs/hello_cpp/hello.cpp
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

16 lines
234 B
C++

#include <iostream>
#ifdef _WIN32
#include <windows.h>
#endif
int main(int argc, char ** argv)
{
std::cout << "hello world" << std::endl;
#ifdef _WIN32
MessageBoxA(NULL, "Hello world", "Hello Box", MB_OK);
#endif
return 0;
}