*warning: I am a beginner programmer*
Here is the deal. I am creating a C++ program using Xcode's 'Command-Line Utility'. I am deciding *not* to make a GUI for two reasons:
(1) I only know C++. So, unless I want go the Carbon route (which I've heard might not be a good idea), I would have to learn another language (Objective C/Cocoa, Python, etc.)
(2) It will be more portable without a GUI. If I do learn Cocoa and make a GUI, it only runs on Macs! On the other hand, I should be able to compile my C++ code on a Windows or Linux machine (right?) to get executables that work on non-Macs as well.
My program looks OK as is, but I am wondering what tips & tricks there might be for making my command-line program look nicer when it runs in the terminal.
Right now it is all black & white, and there are 3 text fields boxed off by 'boxes' consisting of characters such as '|' and '-'. I am using a fixed-width font, and am assuming the user's terminal will be using one as well (otherwise things will not look right -- I hope this isn't a problem!).
Any suggestions here or links to places where I could find out more info (I didn't have much luck searching...)?
Thanks!
[for example, is there a way for me to add color, or make better looking boxes (using longer dashes than '-', or L-shaped characters for corners, etc.)? And can I be certain that this will look the same in everyone's terminal window? I'm assuming almost everyone uses a fixed width font in their terminal, but what else can I assume? ...blah blah blah... I'll shut-up now]
Here is the deal. I am creating a C++ program using Xcode's 'Command-Line Utility'. I am deciding *not* to make a GUI for two reasons:
(1) I only know C++. So, unless I want go the Carbon route (which I've heard might not be a good idea), I would have to learn another language (Objective C/Cocoa, Python, etc.)
(2) It will be more portable without a GUI. If I do learn Cocoa and make a GUI, it only runs on Macs! On the other hand, I should be able to compile my C++ code on a Windows or Linux machine (right?) to get executables that work on non-Macs as well.
My program looks OK as is, but I am wondering what tips & tricks there might be for making my command-line program look nicer when it runs in the terminal.
Right now it is all black & white, and there are 3 text fields boxed off by 'boxes' consisting of characters such as '|' and '-'. I am using a fixed-width font, and am assuming the user's terminal will be using one as well (otherwise things will not look right -- I hope this isn't a problem!).
Any suggestions here or links to places where I could find out more info (I didn't have much luck searching...)?
Thanks!
[for example, is there a way for me to add color, or make better looking boxes (using longer dashes than '-', or L-shaped characters for corners, etc.)? And can I be certain that this will look the same in everyone's terminal window? I'm assuming almost everyone uses a fixed width font in their terminal, but what else can I assume? ...blah blah blah... I'll shut-up now]