Hello everybody, i am kinda new to programming. I used to do alot of C programming for psp, and i used cygwin. Im trying to learn regular C and some pascal now, but im having this problem with cygwin:
Craig@computer ~
$ #include <stdio.h>
Craig@computer ~
$
Craig@computer ~
$ main(){
> POINT pt;
> GetCursorPos(&pt);
bash: syntax error near unexpected token `&'
Craig@computer ~
$ }
bash: syntax error near unexpected token `}'
Craig@computer ~
$
This is What the bash says. Whats the problem here?
Also, The programmer doesnt recognize any pascal. i think i need libraries. Can somebody point me to some libraries for both c and pascal, and where do i save them under in cygwin?