i'm using win xp.i need a simple c++ program in the topic "parallel port programming".please help me...
i'm using win xp.i need a simple c++ program in the topic "parallel port programming".please help me...
Okay. First, this is the C forum. C != C++. Second, if you want a sample program, try Googling for one. We don't hand out code here. It says that in the forum guidelines, which I'm guessing you didn't read. Lastly, it usually helps for problems like this if you tell us what compiler you're using, as certain library functions may or may not be available.
So, go do some Googling, try writing it yourself, and come back when you're really stuck, not lazy stuck (as Tater would say).
> i'm using win xp
Yeah, and I've done a lookup of your IP address, and it would appear to be in India.
So my next guess is that you're using that ancient fossil known as TurboC.
If you are a TC user, and you're NOT willing to upgrade to a compiler which is compatible with your OS, there is nothing we can do here. You would need to find a "retro" programming board to get support for that old compiler.
Here are some modern (and free) compilers to choose from
Microsoft Express Downloads - Visual Studio Express and SQL Server Express
smorgasbordet - Pelles C
Code::Blocks
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.