i searched everywhere but to no avail for my programming project not a solution to the ~ sign.
Then you really need to work on your context skills, because the following sentence clearly states you restarted in an attempt to fix it. I highly doubt you restarted more than 5 times just trying to fix a programming error. If so, I think you're doing something wrong.
Regardless, there are a lot of unanswered questions in this thread (as well as in others):
- Why do you not want to use Allegro, or other (graphical or other) libraries during learning? Why is QT acceptable, for example?
- Why do you only want to use DirectX, and not OpenGL?
- Why do you only want to develop for Windows?
To me, most of these don't make a lot of sense, especially considering you yourself state that you need to learn "almost everything there is to learn" (and you often cite games which are not primarily restricted in the same manenr).
If you want to make a game, I would find it highly recommended to spend/schedule time on learning e.g. various libraries and APIs, instead of wanting to create your own OS and programming language (+ all the other stuff you list).
At this rate, I'm actually expecting one of your next posts to say you want to manufacture the hardware to go with your future OS, you personally. Oh, and the tools used to make the hardware as well.
If your goal is to make games, make games. There's tons of stuff you can learn starting right now.
You said you don't want to create another Tic-Tac-Toe -- fair enough.
You can make a side-scroller game, a shooter (top-down or side-scrolling), a Battleship game, Pong, a card game, a sports game. You can choose to create your own genre, if you've got ideas for it. Just choose to make something.
Or you can list all kinds of highly unlikely things to achieve in your future dream world, and post on forums about it instead.