I'm having some trouble following the VGA tutorials on this site. I get all sorts of compiler errors whenever I try the following program:


#include <iostream> // Included lots of includes just to
#include <stdlib.h> // make sure that I wasn't missing the one
#include <dos.h> // that I needed
#include <mem.h>
#include <stdio.h>
#include <conio.h>

using namespace std;

int main(void) {
_AX = 0x0013; // first compiler error on this line: undefined function
geninterrupt (0x10); // another similar compile error here


cin.get();
return 1;
}



Can someone help me?