How to create a basic operating system?

Programming, for all ages and all languages.
Joshua50187
Posts: 8
Joined: Thu Oct 21, 2010 6:29 pm

Re: How to create a basic operating system?

Post by Joshua50187 »

I only mentioned it because he seemed to be in a rush and didn't really want anything good or well made to work if he wants it in 28 days then why not shoot for a ten minute lesson who knows he might be one of the few that learn "something" from it.
fronty
Member
Member
Posts: 188
Joined: Mon Jan 14, 2008 5:53 am
Location: Helsinki

Re: How to create a basic operating system?

Post by fronty »

If he really achieves to learn something useful about C++ in ten minutes "reading" a 320 page book, I guess he has work worth of many PhD's in psychology about learning.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: How to create a basic operating system?

Post by Combuster »

In any case, you are not going to master any language in 10 minutes, or even one day. And mastery is about that level of programming you need for OS development.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: How to create a basic operating system?

Post by pcmattman »

The Sams "Teach Yourself C++ in 10 Minutes" book has a misleading title: it should be "Teach Yourself a C++ Feature in 10 minutes"... and even that would be misleading. The book is made up of a number of lessons, each of which can theoretically fit into 10 minutes. To do so it obviously skimps on some details and throws a lot of code at the reader: it was in fact my first C++ book, and until I purchased a second, more beginner-friendly book, C and C++ remained firmly in the realm of "yet to learn how to do anything useful".

Unless you know C fairly well, I wouldn't suggest the book. Even if you were to merely copy the calculator example out of the book - with or without understanding - and into your assignment... (of course, that would be horribly unethical and likely to get you caught for plaigarism anyway!)
User avatar
Thomas
Member
Member
Posts: 281
Joined: Thu Jun 04, 2009 11:12 pm

Re: How to create a basic operating system?

Post by Thomas »

Hi,
I first learned C++ from this book : http://www.franca.com/cs1book/index.html , extremely well written and easy to understand . It does not cover templates , pointers or operator overloading in detail. Just enough to get you started :) . But there is a good chapter at the end of the book which gives an intro various aspects of software engineering. The author also poses philosophical questions like is "Software Engineering" an art or a science ? . Worth a read for all beginners who do not know any C++ at all .

Software Engineering is not limited to programming or technical skills alone. Software engineers seldom work alone. From my experience it is very important to learn to play as a team. Some people can be a pain in the a** , you yourself may be difficult person as well . It matters how you manage all these things.
--Thomas
Post Reply