Example
#include <conio.h>
#include <stdio.h>
#include "mmsultra.h"
void main(void)
{
int cStyle = 32;
printf("Choose cursor type:\nA (block)\nB (underscore)");
cStyle = _getch();
switch(cStyle)
{
case 'A': vidSetCursorType(0, 6);
case 'B': vidSetCursorType(7, 7);
default: printf("\nInvalid input");
}
}
4-110
Programmer's Manual
break;
break;
// Cursor style
// Prompt user
// Get input
// Take action