Jump to content

Compile C++ Script


Evil_Has_Survived
 Share

Recommended Posts

well my topic explains it all how do I compile a C++ script thanks

What do mean by C++ script?

Somthing realy simple could be doen by: gcc -o script.exe script.cpp

But you probably would like

dev-c, codeblocks, mingw32

Link to comment
Share on other sites

There is no such thing as a C++ script.

Define script! I think you will find a project on codeproject.com that includes a minimum compiler setup in it's setup and lets the users create c++ scripts whom are compiled as needed, on the fly by the program using the "script".

yeah and by the way if you coded it in C++ the extension to save the file as would be .cpp just a heads up

Most c++ compilers don't care. You can use the extention you want. So it is quite common to use .cxx.

Link to comment
Share on other sites

It is nearly impossible to convert C++ to AutoIt because C++ supports so much more than AutoIt does at the present. AutoIt has no way to support such things yet. I doubt it ever will support everything in C++.

By the way, you don't need any specific extension, you just need a text format file. Any compile that requires a specific extension is stupid and must be punished.

Link to comment
Share on other sites

It is nearly impossible to convert C++ to AutoIt because C++ supports so much more than AutoIt does at the present.

You need to qualify this. Are you referring to language features like "templates" and "classes" which are mere programmer conveniences? Or are you referring to operating-system and hardware interaction? The former is true, the latter is not. I can interact with hardware/software from an AutoIt exe just as well as I could from a C++ exe, it's just harder to do some things.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...