Jump to content

Recommended Posts

Posted

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

Posted

In simple terms for ... simple people ... you need a compiler to compile C++ programs. When you have to compiler, then you can compile.

I see just was brain dead since autoit came with one :)

Thanks in advance
Posted

There is no such thing as a C++ script. If you are asking how to convert AutoIt to C++, many people have had the same question. The next question to arise is why?

If you are asking how to convert AutoIt to C++,

um vicea versa C++ into autoit thanks

Thanks in advance
Posted

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.

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

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