0

Hey Guys!
I am vedel and this is my first Thread in this Community. My question is, how i can boot a c++ code?

example code:

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World!" << endl;
    return 0;
}
5
Contributors
9
Replies
14
Views
6 Years
Discussion Span
Last Post by vedel
Featured Replies
  • >>Get Bloodshed That compiler hasn't been updated for quite a few years now and uses an old version of MinGW. Code::Blocks is current and still being supported by its writers. Bloodshet isn't. Read More

  • [URL="http://www.codeproject.com/KB/tips/boot-loader.aspx"]Read this tutorial[/URL] Read More

0

Get Bloodshed... Still the best for pure C++ apps. If you intend to make apps for win32, get Visual C++ 2010 Express (it's free! :D)

1

>>Get Bloodshed

That compiler hasn't been updated for quite a few years now and uses an old version of MinGW. Code::Blocks is current and still being supported by its writers. Bloodshet isn't.

0

i want to make a OS but i didn know how i can boot a c++ code!

0

yeah i know this tutorial and i try it out but it did not work

I wrote something like this but didn't use C++, I used asm(16 bit) plus had to write my own linker script to get it to work...

Projects like this are very interesting and the end result is generally a very simple exe that will boot the computer...I would try ams if your really interested in pursuing this.

Here's another link..

http://linuxgazette.net/77/krishnakumar.html

Edited by gerard4143: n/a

0

i want to make a OS but i didn know how i can boot a c++ code!

seems like you want to get Bill and Shuttleworthy off the deal.
Do you mean it or just for little funny?

0

I wrote something like this but didn't use C++, I used asm(16 bit) plus had to write my own linker script to get it to work...

Projects like this are very interesting and the end result is generally a very simple exe that will boot the computer...I would try ams if your really interested in pursuing this.

Here's another link..

http://linuxgazette.net/77/krishnakumar.html

cool tutorial but i cant download the programm to convert the files

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.