473,322 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

can i write a bootable program in C++?

i know this may sound very strange but it's because I just started to lear c++ ( at school we learn pascal although we are in the 3 milenium ) , i have some big ideas, and i just don't know how to put them in practice .

so can anybody tel me how can i write a program on witch a computer can start ?
if you want you can call it a mini os.
ok. " os " it sounds like a big thing but i'm willing to learn.
do i have to know assembler or c++ is inaf ?
can you recomand me any book or web site?
Dec 26 '06 #1
2 4288
willakawill
1,646 1GB
i know this may sound very strange but it's because I just started to lear c++ ( at school we learn pascal although we are in the 3 milenium ) , i have some big ideas, and i just don't know how to put them in practice .

so can anybody tel me how can i write a program on witch a computer can start ?
if you want you can call it a mini os.
ok. " os " it sounds like a big thing but i'm willing to learn.
do i have to know assembler or c++ is inaf ?
can you recomand me any book or web site?
Hi. You could go download some linux source code and fry your brain with it :)
Dec 27 '06 #2
macklin01
145 100+
Hi. You could go download some linux source code and fry your brain with it :)
That's a really nice idea. :) In particular, you might consider looking at the boot loaders: grub and lilo.

Other bootable open source projects worth looking at are memtest86, Darik's Boot 'n' Nuke, and freedos.

If you do end up writing something fun and bootable, please post source code here, as I'm sure we'd all enjoy looking! (But be _very_ careful that you don't take the Boot 'n' Nuke software and end up destroying a hard drive! Well, then again, be careful that you don't nuke a master boot record, either! ;)) -- Paul
Dec 27 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: =?Utf-8?B?SmF5YmVleg==?= | last post by:
Can anyone tell me how - or if there are tools available to create a bootable system DVD ROM from Windows XP Professional with Service Pack 2 installed to defeat the waste of time trying to...
1
by: k47867 | last post by:
Hello: I am looking for Python code to open, read, write, close, and make bootable the following: CD DVD USB Drive Can I just use open(), read(), write(), and close() for these? And how do...
1
by: =?Utf-8?B?QWxsd2luZA==?= | last post by:
I have downloaded many ISO's from the enterprise agreement site, but none of them seem to be bootable after I run the ISO/IMG through Nero 8 to a CD. Other sites are no problem and of course my...
1
by: MSDN | last post by:
MSDN FAQs say ISO images are bootable. But, I can't get the Windows 2003 R2 SP2 ISO to boot. (Installing on a box with no OS). Does someone have to go through this awful process of third-party...
7
by: MSDN | last post by:
MSDN FAQs say they are, but I can't get a box to boot with the Windows 2003 R2 SP2 ISO. I try dvdburn.exe per the FAQs and it only pukes this out: "Media type: Unknown Media Type" Media is...
4
by: gaurav92K | last post by:
sir., please tell me how can we make usb bootable through linux.
2
by: KLynnM333 | last post by:
We have a Windows 2003 R2 SP2 webserver that is currently backed up using ntbackup (the Windows backup tool). Our backups are stored on a shared drive of our file/print server. The webserver...
1
by: JOHNSHELL08 | last post by:
How can we make pen drive bootable. i.e. through which we can install xp instead of bootable CD while our BIOS have usb bootable features.
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.