Wahoo, first post here! Good day all!
I hope this is in the right place - being about C - but as some things relate to using Cygwin, it might be better elsewhere. I'm not sure.
Anyway, I don't know a lot of C or of programming in general, so I come here seeking help for some problems I've enountered. These are probably pretty obvious/easy/whatever, but my search-fu is weak so I haven't found any solutions.
1) Running a program in a window.
So far I've been using Cygwin as a compiler for my code, which works great. However, so far it is also the only thing my code will output to. How do I output to a dedicated window?
As I've only been outputting to the Cygwin window, so far everything has been in black and white text. I don't have a problem with the 'text' part of it, but I'd like to be able to control how *each character* looks in terms of colour when it's outputted - blue text on a green background for the first character, for instance, but then to be able to change that for subsequent ones. You get the idea.
I was previously just using the default cygwin characterset, which I understand is 'standard' ASCII. Some hours of research lead me to adding 'set LANG=en_US.CP437' to cygwin.bat, which gives 'extended' ASCII. However, it doesn't want to display some of the earlier characters, only showing the hearts/clubs/diamonds/spades. I'd like the smily faces/etc. as well!
Either within Cygwin or within its own window, I'd like to be able to use these not-shown characters - how do I do that? Additionally, is it possible to define my own character set? (potentially so I could use rudimentary graphics)
Throughout all this I've been wanting to be able to customise like you can in Dwarf Fortress, for those that know of that.
And thus ends my first, verbose, post.