FYI: The Q's that I asked in this post have been answered... thanks!
5-6 years ago I took a single C++ course. I've done little with C++ since then, so I definitely qualify as a 'Newbie'.
Lately I have been writing simple 'command line' C++ applications in Xcode to help me solve some tricky math problems. I tried out Xcode first (since it was already on my Mac), and could only figure out how to get my simple C++ programs to work/run by creating them as "Command Line Utility"->"C++ Tool" programs in Xcode. I type in my code, I hit the "build and go" button, then I open up my executable file and it runs in my terminal -- very basic, but it works and it is all that I need.
Now I am wondering if I could give others my executable file so that they could use them. Here are my thoughts/questions:
(1) Could I just send my executable file to any windows/mac/other user, have then double click on it & it will open up in a terminal window for them and work without any issues?
(2) Even if '(1)' does work, it would be nice to have my programs look a little better. I have *no* GUI experience, but I am wondering if somehow I could change/adapt my code so that my programs look a little nicer (are more user-friendly if I sent them to others for use).
(3) Should I be using the "command line utility" in Xcode, or is something else more appropriate (if so, I need help -- I couldn't other methods to work)? Should I start using something other than Xcode?
(4) How much time/effort would it take for someone like me to learn to use Xcode or another application to adapt my existing programs into more user-friendly ones (with a GUI?) that I could send to other people to use? I am only willing to put so much time into this...
Keep in mind I have no GUI experience, I only know (a little) C++, and my programs are "all-in-one" programs (meaning I don't have separate files, like .o, .h, .c files floating around, just one file [I actually do not remember how using multiple files works and what the reasons are for having code in separate files are, but that is a whole other topic]).
Any comments/help/suggestions would be appreciated.
Thanks -- Adam
Additional comments are welcome (of course), but as far as I am concerned, all of my questions have been answered. Thank you all very much!
-Adam
5-6 years ago I took a single C++ course. I've done little with C++ since then, so I definitely qualify as a 'Newbie'.
Lately I have been writing simple 'command line' C++ applications in Xcode to help me solve some tricky math problems. I tried out Xcode first (since it was already on my Mac), and could only figure out how to get my simple C++ programs to work/run by creating them as "Command Line Utility"->"C++ Tool" programs in Xcode. I type in my code, I hit the "build and go" button, then I open up my executable file and it runs in my terminal -- very basic, but it works and it is all that I need.
Now I am wondering if I could give others my executable file so that they could use them. Here are my thoughts/questions:
(1) Could I just send my executable file to any windows/mac/other user, have then double click on it & it will open up in a terminal window for them and work without any issues?
(2) Even if '(1)' does work, it would be nice to have my programs look a little better. I have *no* GUI experience, but I am wondering if somehow I could change/adapt my code so that my programs look a little nicer (are more user-friendly if I sent them to others for use).
(3) Should I be using the "command line utility" in Xcode, or is something else more appropriate (if so, I need help -- I couldn't other methods to work)? Should I start using something other than Xcode?
(4) How much time/effort would it take for someone like me to learn to use Xcode or another application to adapt my existing programs into more user-friendly ones (with a GUI?) that I could send to other people to use? I am only willing to put so much time into this...
Keep in mind I have no GUI experience, I only know (a little) C++, and my programs are "all-in-one" programs (meaning I don't have separate files, like .o, .h, .c files floating around, just one file [I actually do not remember how using multiple files works and what the reasons are for having code in separate files are, but that is a whole other topic]).
Any comments/help/suggestions would be appreciated.
Thanks -- Adam