your own interface for what?
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Writing an entire operating system to generate your own brand of windows would be possible with C++, but it would take extensive knowledge of both how operating systems work as well as how current gui's work, whether written with C, C++ or some other language.
Creating your own text editor that can highlight fragments of text based on certain criteria should also be possible. It would, arguably, be easier than writing your own operating system, but it would still be a prodigious task.
Either project is likely to be done using multiple authors instead of a single individual, but if you've got the time an energy, then it is probably doable. Have I done it, no. Do I think it doable, yes. How would I proceed---by testing/expanding my knowledge base on less strenuous projects first and ask/look for information about how other people/groups may have done the same task before (I'd start by Googling the topics I thought might be helpful).
Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396
If all you want is an editor then use Notepad++. It has the features, and more, than you want.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
>>invoking the compiler from the editor must not be a problem
Not at all, afterall both Code::Blocks and VC++ do it, and both of those are nothing more than editors that invoke the compilers.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Here's my understanding. The program code I write is done within a text editor inside of an IDE (Integrated Development Environment). I just push a button and the code is compiled. Well, it's actually preprossed, then compiled and then linked, or something like that, but most people just say it's compiled. However, you can write code in any text editor and use command line processing instead of the default IDE to get the source code file you write into the compiler and let it do it's stuff. To open the g++ compiler from the command line and get it to process a file called filename, I believe the command used is:
C> g++ filename
where C> is the C prompt command line, g++ is the name of the compiler program and filename is the name of the source code file to compile. The source code file you want to compile, filename, can be typed using (just about) any text editor you want. There are a whole passel of other command line options that are available for if you want to do it that way.
I suspect that within the IDE when I push the compile button it "saves" the text I've typed in a source code file someplace (without the annoying "do you want to save this file" message box I get when I want to store a document I've created with Notepad or whatever) and internally sends off a call to start the compile process using a default sequence of options that I could have written on the command line if I'd have wanted to do that. I believe that within most IDEs there is an area of options/settings where you can change the stuff you want to get done, but I'm not a sophisticated enough programmer to use things other than the default settings anyway so I never venture there, though you're welcome to explore if you want.
Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396