943,555 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 12326
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 29th, 2006
0

Creating an OS

Expand Post »
Hello,

I just wanted to say Something about OS I read the one march 2004 topic But if I read a book on C and c++ Will it show me how to do like programs Is there a site that shows me how to make a OS?
Similar Threads
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Oct 29th, 2006
1

Re: Creating an OS

A C/C++ book will NOT show you how to write an operating system, and for a good reason: it's far beyond the scope of the book. Creating an operating system takes a whole team of skilled programmers just to create a simple kernel. Linux took years before a GUI was even released with it.

It's usually easier to start writing an operating system with some sort of core already prewritten to make it easier. Here's a website you might find useful:
http://www.powerdb.org/study/OS/os-faq.html

But I would say don't try something like this until you're confident you're capable of completing it. If you bite off more than you can chew, you'll usually end up getting frustrated and quit (I know from experience).
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Oct 29th, 2006
0

Re: Creating an OS

ok now how do i put tht stuff into a OS LOL?
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Oct 29th, 2006
0

Re: Creating an OS

Also can u find me a book on it at amazon or barnes and nobles Thank you
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Oct 29th, 2006
0

Re: Creating an OS

Click to Expand / Collapse  Quote originally posted by Tauren ...
ok now how do i put tht stuff into a OS LOL?
You write the kernel. This is the base of your operating system, will be the largest part of your operating system, and will take the longest to write and be the most difficult to maintain.

Once you have written the kernel, you compile it into an image as described in the FAQ link I provided. This image can then be loaded, either manually or with a bootloader (GRUB/LILO) when the PC is booted.

Look, seriously, if you don't know how to program, why are you even worrying about how to write one? Learn C++ inside and out, THEN try to attempt it.

[edit]
>Also can u find me a book on it at amazon or barnes and nobles Thank you
I don't know that much about writing operating systems, I just know that they're hard to write.
[/edit]
Last edited by John A; Oct 29th, 2006 at 11:36 pm.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Oct 29th, 2006
0

Re: Creating an OS

Of course if you are curious enough you could ask google your question and study the links it gives you. I found at least a half-dozen articles in just a few seconds.

Most universities officer course in operating systems. You might take one of those courses, but you will need to meed the prerequisits first.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005
Oct 30th, 2006
0

Re: Creating an OS

Click to Expand / Collapse  Quote originally posted by Tauren ...
Also can u find me a book on it at amazon or barnes and nobles Thank you
You seem to be a newbie without any programming experience whatsoever. Go and learn to crawl before trying to run. But what the heck. Go and get burnt. Here is a good book with already written source code. But if you don't understand all the #defines don't come here asking. Get a good C/C++ book and learn them yourself.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Oct 30th, 2006
0

Re: Creating an OS

Ok does it have to be C and C++ or one or anthoer?

ONE DAY I will be the next BILL GATES SOFTWARE lol
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006
Oct 30th, 2006
0

Re: Creating an OS

Click to Expand / Collapse  Quote originally posted by Tauren ...
Ok does it have to be C and C++ or one or anthoer?
Doesn't matter. There are Operating systems written in both C or C++. You will have to learn assembly language also.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Oct 30th, 2006
0

Re: Creating an OS

Uhhh,

Do you think I can ern money for this and donate to the site and build something cool? and also can you check barnes and nobles online a look for a good book for my to buy Cause I buy the wrong ones

THANK YOU!!
Reputation Points: 9
Solved Threads: 0
Junior Poster
Tauren is offline Offline
108 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: classes
Next Thread in C++ Forum Timeline: inheritance and abstract base class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC