Answer the question
In order to leave comments, you need to log in
How to convert a cpp file into an exe "shnik without installing third-party programs?
Let's say I wrote a program in C++.
Since I have to program on a school laptop, and there the evil uncle admin set a password and nothing to install, I have nowhere to run the program.
Online compilers are not suitable for me.
How can I convert the program into an executable exe "shnik?
For VB.NET, Windows has a built-in hidden compiler, for example.
But I don't have VB.NET, but C ++)))
Answer the question
In order to leave comments, you need to log in
Mingw-w64
https://sourceforge.net/projects/mingw-w64/files/m...
Download portable x86_64-posix-seh
C:\MinGW\bin\g++.exe C:\C++\ HelloWorld\Hello.cpp -o C:\C++\HelloWorld\Hello.exe
The answer is obvious - download the C++ compiler of your choice (many do not require installation) and compile the program.
But if everything is really so severe there that, for example, only certain programs are allowed to run, then a miracle will not happen in any case - negotiate with the administrator.
Learn to negotiate. This skill will always come in handy.
What you need:
1. Justify that it is necessary for learning,
2. Select a compiler (for example , https://visualstudio.microsoft.com/ru/thank-you-do... )
3. Ask to install (evil uncle, by the way, do not he is so evil)
4. Profit!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question