ok here is the question.Is it possible to create a Operatin System like "Windows XP" in Visual C++ 2005.
Is it possible? Yes, almost anything is possible. Is it gonna happen, not your lifetime. Take teams of programmers and various languages to code an OS.
Well last I heard, windows xp has around 40 million lines of code? Better get started working on that now
I would like to add, though, that if you were going to do it in Visual C++, then you will either: a) not use the 'visual' aspect at all; or b) only have a virtual operating system. VC++ applications require Windows libraries to run and so you could only create a full 'native' OS if you don't use any of the Visual aspects if that makes sense.
Windows XP is already written in Visual C, so it is possible. But it is impossible without Assembler, because not all parts written in pure C. So you want to write an OS if you ask such questions? Where can I download the beta in the next ten years?
Few operating system kernels are written in C++ due certain features of the language/compilation that make it a weaker candidate than C. And as wmtips pointed out, certain parts of the operating systems must be written in assembly. Despite the steep learning curve of writing an operating system from scratch, many people still do it as a hobby. http://www.osdever.net/ has a bunch of tutorials and papers, and links to other places that deal with the same subject.