Jump to content

Looking to expand my understanding of programming with CS


hydropulse17

Recommended Posts

I've been making programs for a long time. I started with Game Maker when I was a kid, eventually I started learning to program in C++ in High School and I learned a lot of core concepts. I was learning C# and XNA for a short while, but I've been working with Unity C# for a couple years now. I'd say I'm maybe an intermediate level programmer, but recently I feel like I'm relying on too much code that other people wrote. Nearly everything I write for Unity depends on the Unity Engine and the System namespaces. A mentor once told me that I didn't need to reinvent the wheel, but I feel like I'm being dressed every morning and driven to work, if you know what I mean. I want to understand, at least to some degree, How Unity reads my code, and how it communicates with my operating system, and how that communicates with my computer.

I'm not looking for Masters in Computer Science, but I was hoping that I could read a book or two and understand well enough the work beneath me so I can at least appreciate it more. If you guys could point me in a direction or perhaps recommend some books, I'd appreciate it.

Link to comment
Share on other sites

To understand OS, you need to use OS functions directly, in C++.

 

f.e. make test app "how to make window in Windows OS".

It's done using CreateWindow.

https://msdn.microsoft.com/pl-pl/library/windows/desktop/ms632679(v=vs.85).aspx *)

Then make some buttons, listviews, controls.

And learn how to attach functionality to them.

 

Once you will learn above, you can add to it OpenGL. Or DirectX/Direct3D. Inside of control, or taking entire area of window, or full-screen.

 

*) Windows window functions

https://msdn.microsoft.com/en-us/library/windows/desktop/ff468919(v=vs.85).aspx

Open every page, print them, then read them all.


and how that communicates with my computer.

 

It's done by drivers.

You would have to read Microsoft Driver Developer Kit (DDK later renamed to WDK)

https://msdn.microsoft.com/pl-pl/library/windows/hardware/ff557573(v=vs.85).aspx

Edited by Sensei
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.