Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Troy Martin wrote:And bumping after less than an hour is stupider than this thread. If it's at least somewhere near the top, people might read it. "BUMP" just makes us want to read it less.
For reference, I deleted the bump post.
@brokenbylaw: Don't bump your posts like that. It doesn't make people want to read the post any more than they wanted to read it before. Give people a chance to answer. It sometimes takes more than an hour for someone that wants to comment to even see your post.
Hehe, compared to some newcomers around here in the past, you're a godsend
I'd say "no" to DirectX personally, and go with something portable like OpenGL. It's probably quite similar, too, although there's no built-in sound and input support (other libraries or possibly libc helps, never really got too far into graphics programming.)
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
with OPENGL is it just C or can you use C++ on it, and another thing whats a good compiler i really cant get microsoft express 2008 to work the way i need do you know if its easiest to use devCPP to compile my projects... any help would be apreciated
DevC++ is great for C/C++ and OpenGL. MS Visual C++ Express is seriously Windows-only and .NET-based.
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
with OPENGL is it just C or can you use C++ on it, and another thing whats a good compiler i really cant get microsoft express 2008 to work the way i need do you know if its easiest to use devCPP to compile my projects... any help would be apreciated
You can use C with C++, so yes, you can use C++ with OpenGL.
Also, there are alot of good compiliers out there - Visual C++ 2008, Code::Blocks, DevC++, GCC, etc... I recommend just using the one you feel most comfortable with.
Based upon some of the questions you asked in this thread, I have a suspicion you a fairly new to C. If this is the case, I highly recommend waiting on getting into any advanced API, DirectX or OpenGL.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
i am new to C but i know plenty of C++
the only problem im having with my compiling for directx in VC++ Express 2008 , it wont find the headers so it wont compile so im looknig into other compilers i can use with microsoft directx sdk 2009
other than that i would be able to start
the only problem im having with my compiling for directx in VC++ Express 2008 , it wont find the headers so it wont compile so im looknig into other compilers i can use with microsoft directx sdk 2009
Have you setup your environment properly? Installed the Platform SDK? If you've installed the Platform SDK properly you'll know how to setup your environment for DX.
As I said, don't just switch IDE or compiler because you can't get something like that working, things don't just work out of the box.
Going back to the OS in an OS idea:
I think there's nothing wrong with this idea. Especially it makes it easy to test yout OS.
Linux does run on Linux, too! And I'm seriously thinking about to give my kernel a HAL for Windows.
So i chose not to give up on directx and visual c++ express
do you guys know how to setup the directx sdk 2009 with ms visual studio 2008
any sites would be great
This assumes MSVC++, but I'd guess the steps are very similar under other VS programs...
Install MSVC++, then install the DirectX SDK.
If you did it out of order (i.e. already had the SDK installed) or something still doesn't work then go to Tools->Options, then select "VC++ Directories" under "Projects and Solutions." Now in the drop-down box select "Include Files" and see if the DirectX SDK's include path is there. If not, click the folder icon, then the "..." on the new line, and find the SDK include folder. Do the same for both the release and debug library folders under the drop-down "Library Files" and everything should be set up now.
IIRC MSVC++ 2008 came with the Platform SDK, but if yours did not then you should do the same with that.