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).
well is it that difficult to proceed as you mention?
all i want is a windowed editor,you can call it a "front end" of sorts..
all the background processes proceed just as the turboc++ but the only difference is i have a better looking place to write c++ code.
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.
The java compiler supports something called 'compiler API' one of my friend wrote
a small IDE using swing classes in the previous semester.If this is related to
java compiler I could ask him an tell you how to.And pleasure.
And about gcc toolchian there is something I heard 'gcc plugins' that it allows you
to access to the internals of the gcc compilers , even you can read the symbol table,
syntax tree and do many more.
Actually I'm also can say I don't know and looks like above guys also unable to
prompt you to information. Mark this thread as open therefore we someone could
come with a best answer/resources. if someone unable to slove this withing next
48 hours you could ask this in comp.compilers .