And, uh, as a newbie, don't mess with boot sectors or the like. Messing around with how your computer boots is generally NOT a wise thing, especially when you don't know exactly what you're doing.

Wait until you know C++ and low-level I/O pretty well before you attempt this.