I'm a good programmer, but I'm new to Win32 and DirectX programming. If I can view a "hello world" program that somebody else wrote, I'm sure I could get my project working. Are there any "hello world" sample programs out there for win32/directx programming? I use Dev-C++, but am willing to pay to get a Borland or Microsoft C/C++ compiler.
How do I make a Win32 DirectX program?
Download Microsoft Visual studio 2005 express edition (its free) and the direct X SDK. which has lots of examples that you can try out.
Reply:download the directX SDK from microsoft.com, then have a look at the samples. Also, you will find many, many tutorials in the web just by searching for them, or on gamedev.net, devmaster.net, etc.
i don't know if the SDK works with Dev-C++, but you can download the microsoft visual studio express edition for
free from microsoft.com. no need to pay for it.
Reply:well first you........2pts
Tuesday, July 28, 2009
How do I use a non-visual compiler?
I was trying to program some stuff using C++ and I got a free non-visual compiler from Borland (have no idea what verson, name, and etc.) It's on my desktop and it only says "freecommandLinetools". So I worked myself into a corner when I tryed to compile it, easy enough, I know how to work Windows Explorer (haha), and some DOS and I know enough to do so with confidence.
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
So I go to the the Command Prompt, type in:
c:\borland\bcc55\bin\bcc32.exe [and location of script]
and it doesn't work, says it can't locate it and stuff. Then I gave up programming all together so now I realize that I could ask someone in Yahoo! Answers.
So I don't know what I did wrong. I typed in word for word, checked it over and over and no results.
Is it just me and DOS or it's just the compiler? Tell me how to enter the commands because when I space, it assumes that I gave it different locations for each word spaced.
How do I use a non-visual compiler?
dos does not allow the spacing of the directory structure like you see in windows. (aka my folder is not my folder in dos it's something like ~my).
i never did figure out the screwy system it uses to figure out what it's going to call the folder SO i personallya llways just traveled through the directory in dos to find what i needed then copyed and used it form there.
on a totally seperate note:
why use a borland comannd line compiler?
visual studio 2005 express is free!
c++ and c++.net and c# all available free for you to work with.
a visual ide is about 5000x easier to learn with.
don't like microsoft? djgpp also free! don't like djgpp and microsoft but want to use c# anyways? sharpdevelop.
bottom line. use an ide it will save SO much hassle thats why they made them.
can program for the .net runtime with only notepad but no one does that because it's insanely hard to do. thats why people get the ide =P
Reply:The only non visual compiler I use is the gcc :-)
On windows, how about trying bloodshed
http://www.bloodshed.net/devcpp.html
Its open source and free and I have never had a problem with it in my 2 years of trying it out!
florist shop
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
I'm using Borland CodeGear C++ Builder 2007. I've created a fairly complicated project that includes such features as database access, as well as the heavy use of classes and libraries.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
I apparently have some sort of a library synching issue because, when the statements:
double xx = 0.0;
xx = Pln.Nrd.retireAge;
are executed, xx is 65 and Pln.Nrd.retireAge is 0. I don't understand how this is possible-- it's a direct assignment, after all!-- unless it's a problem with the library I'm using.
In a separate (related?) issue, I have some files included in the project: report.cpp, plan.cpp, and getp.cpp. When I try to remove them, however, a dialog box immediately pops up saying, respectively:
List index out of bounds (8),
List index out of bounds (9),
and List index out of bounds (7)
I also can't "Save All", because the list index out of bounds error pops up and prevents these files from saving.
Any thoughts or suggestions would be appreciated.
Getting a "List Index Out Of Bounds (9)" error when I try to remove a file from a project...?
Well, the problem is certainly in either Pln or Nrd. If you set xx and it becomes 65, then Pln.Nrd.retireAge MUST have been 65 before you called it. You should look for a bug in one of those classes that might cause the variable's value to reset to 0 after you retrieve it.
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
im trying to install borland turbo C and it errors....
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
My XP says \system32\autoexec.nt is not suitable running msdos application when im trying to install TC
TC is really old, I cant remember if it works with XP or not but doubt it
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
I'm using borland Builder C++ 5 and i need to send and receive data via parallel port. I know this can be done using CreateFile, but I haven't found any tutorial or anything like that. Can you help me please?
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Does anybody know how to use CreateFile to send and receive data via teh parallel port in Windows XP?
Why Borland C++ 5.0. Doesn't that predate XP by like 7 years or more?
BTW: Google is your friend. Google knows all. (see links below).
Where can I download file clientdatamoduleu.h?
This file appears to be in C++ Borland Builder version 5. when I try to install it, there is an error message that indicates this file is missing.
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
Where can I download file clientdatamoduleu.h?
I haven't find this file at google or Yahoo. I suggest that you send an email to borland and request this file if you think that it should have come with the C++ Borland Builder.
http://www.borland.com
sympathy flowers
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
I strictly use MFC if I can, VC6 only. I HATE console apps/code with a passion. They are utterly useless. I am so sick of all these tutorials that just 'paste a pic' on a white 'Edit Box' but don't tell you a thing about HOW in the world it got there! PLEASE for all that is decent and holy in the gaming world, please, please help me without mentionint the following words:
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
cout, cin, console, Linux, Unix, Mac, iMac, IPOD, VB6, .NET, VC7, vc8, Borland, Builder, CDocument, 'make it a memer of the %^%26amp;#$ class' and so on. I just want to know how do I put an image at the location of X, Y, and how do I CHANGE X and Y. I'd like to be abl to have 2 versions of this code, one where I am able to set the movement myself, and another where I can 'click and drag' the graphic (such as a chess piece or checker?) JPGs have great color as GIFs seem splochy, but only GIFs/PNGs have transparency, although I've heard rumours of transparent JPeGs! A versitle code that can use all 3 would be nice.
How do I display an image in a CERTAIN P(preferably GIF, PNG, or JPG, but BMP will do) in VC6 / C++ using MFC.
i tryed to send you a email but some how it did not go through so i am "answering" here. you are very ignorant about macs. i have worked with a lot of pcs both fast and slow, and never had any thing but problems with them. all pcs are junk compared to macs. macs never get viruses, have the best hardware in the world, and have been rated the best computer of any price. they last long, have all good software, pcs have a lot more software but most of it is junk and if you got rid of all the bad stuff there would be less for pc than theere is for mac. i know what a good computer is and you dont. i will never use a pc again. my mac is the best computer i have ever had, and when i need a new computer i will get a mac. PCs STINK.
Subscribe to:
Posts (Atom)