Page 2 of 2
Re: OS inside windows
Posted: Tue Apr 14, 2009 6:34 pm
by quok
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.
Re: OS inside windows
Posted: Tue Apr 14, 2009 6:42 pm
by brokenbylaw
ok i got my answers directx and C++ will do a good job thank you all for your help ansd sorry of my bad attitude
Re: OS inside windows
Posted: Tue Apr 14, 2009 8:08 pm
by Troy Martin
brokenbylaw wrote:sorry of my bad attitude
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.)
Re: OS inside windows
Posted: Tue Apr 14, 2009 8:46 pm
by brokenbylaw
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
Re: OS inside windows
Posted: Tue Apr 14, 2009 8:49 pm
by Troy Martin
DevC++ is great for C/C++ and OpenGL. MS Visual C++ Express is seriously Windows-only and .NET-based.
Re: OS inside windows
Posted: Tue Apr 14, 2009 9:02 pm
by pcmattman
Hi,
OpenGL is a C API. There are C++ wrappers for it but at its core it is all C.
Also,
i really cant get microsoft express 2008 to work the way i need
Why not? Don't just drop an IDE because it doesn't work the way you need it to, try to figure out if there's a solution to the problem first.
Re: OS inside windows
Posted: Tue Apr 14, 2009 9:05 pm
by neon
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.
Re: OS inside windows
Posted: Tue Apr 14, 2009 9:58 pm
by brokenbylaw
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
Re: OS inside windows
Posted: Tue Apr 14, 2009 11:58 pm
by pcmattman
Hi,
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.
Re: OS inside windows
Posted: Wed Apr 15, 2009 1:20 am
by cyr1x
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.
Re: OS inside windows
Posted: Wed Apr 15, 2009 9:51 am
by brokenbylaw
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
Re: OS inside windows
Posted: Wed Apr 15, 2009 11:53 am
by Firestryke31
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.