|
Thread: Api
-
Sep 12th, 2002, 08:37 PM
#1
Thread Starter
Fanatic Member
Api
Hi, i used this code, but all it does is change the cursor to arrow with hourglass:
#include <windows.h>
#include <iostream.h>
#include <string.h>
#include <dos.h>
int main()
{
string command;
date today;
getdate(&today);
cout<<"Terminal Activated ";
cout<<today.da_mon<<" "<<today.da_day<<" "<<today.da_year<<"\n";
while(command!="end")
{
cin>>command;
if(command=="cursor")
ShowCursor(FALSE);
if(command=="show")
ShowCursor(TRUE);
}
}
ive tried passing the parameter in numbers, tried it in lowercase, someone please help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|