I
I
iamdivine2018-06-13 19:20:50
ubuntu
iamdivine, 2018-06-13 19:20:50

How to compile c++ project on Ubuntu 16.04?

How to compile c++ source in ubuntu? I know about g++, but I need to enter data through the php file (variable value, etc.), and after compilation, the file is downloaded

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Nikulshin, 2018-06-13
@xasya89

I don't know about c++, but for c# i did something similar.

int main(string args[])
{
foreach (string s in args)
//какие то действия с переданными параметрами
}

Compiled and put into CGI directory. See C++ and CGI in general

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question