On 4 Mar 2006 03:30:31 -0800, "shahoo" <sh************@gmail.com>
wrote:
Hi there everyone .I have a problem:
I want to run my C/C++ program on a PC with no operating system.I mean
a boot programm written in C/C++.How should I do that ?
There is no such language: C/C++.
There is C, and there is C++.
The open source Linux operating system would be a good place to look
to see how this can be done for a PC (i.e. for PC's with an Intel x86
CPU). Most of Linux is written in C (not C++). However, there is also
a lot of code which is necessarily written in assembler because at
boot time, you have no way of executing any C runtime functions or
otherwise interfacing with the hardware.
http://www.linux.org
--
Bob Hairgrove
No**********@Home.com