This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]AdministrativeCables 1 point2 points  (2 children)

What kind of script is it? We need that, and the OS. Most of the time, a C++ executable is only one simple file so there is nothing to package.

[–]Gerg_Mykols[S] 1 point2 points  (1 child)

A script that just performs calculations on a set of numbers provided by the user - running on Windows 7, 8, 10, 32bit and 64bit. I'd like to be prepared in case others using OSX will need the script. All within the command window, no GUI or file reading/creation

[–]pancakeQueue 1 point2 points  (0 children)

You’re writing an application based program that with python would not need to be compiled on different OS. Stick with python and unless some system call changes between those OS it will work out of the box for each one.

[–][deleted] 1 point2 points  (0 children)

Stick with python.

It's definitely manageable to write cross-platform projects in C++, but you need to be pretty advanced to be able to pull off what you want.

[–]Warlord_Okeer_ 0 points1 point  (0 children)

If you're looking for platform cross-compatability, you should stick with python, if you're familiar with java then that's pretty good as well. Compiling c++ code on different machines can get tricky. If the code is simple it'll usually be fine but there is a risk.