I have a function inside an object that I want to pass in an array to. I then want to modify it and pass it back. I assume the only way to do this is to use pointers to an array.
How do i...
Type: Posts; User: samuraijack
I have a function inside an object that I want to pass in an array to. I then want to modify it and pass it back. I assume the only way to do this is to use pointers to an array.
How do i...
Does any body know how to change the mode of the parallel port to enhanced mode so I can read the data back through the data lines.
I am using microsoft visual c++ but progamming in C.
I have been looking into this one and have found out that because I am using Windows NT 4 I can not just use the windows drivers and must make my own with windows DDK.
Before I begin does anybody...
I do have a main function, I just didn't think that I needed to put that in aswel.
#include <conio.h>
#define data 0x378
int main(void)
{
scanf("%i",&bits);
_outp(data,bits);
}
I am trying to write a number to the parallel port data lines and when I use the following code, my program crashes.
#include <conio.h>
#define data 0x378
scanf("%i",&bits);
_outp(data,bits);...
Chill man! There is no need to go ape.
Ok so I didn't try all of them, big deal. It got sorted in the end.
Option 2. Well in my original message, I said, "and return the cursor to the top of...
This is a windows question, but I am running it in a console(ie MS-DOS).
I am using Microsoft Visual C 6.0
Thanks Mate.
How do I access the parallel port and send data to and from it?
I am using Microsoft Visual C.
I tried that but it still doesn't work
Any other suggestions?
Is the a function in Microsoft Visual C to clear the screen and return the cursor to the top of the screen?
I used to use Borland and there was a pre-defined function.
Thanks mate.
That works.
Thanks for that, but it says that an unresolved external has occured.
Do I need an extra header file?
I'm already using time.h
Please somebody help me.
I'm trying to use a timer function in Microsoft Visual C but don't know where to start or where to go.
I want the program to paused for 2 seconds before...