Interfaz pascal Programa C

Cómo escribir una interfaz pascal Programa C en lenguaje de programación C ?


Solution:


‪#‎include <mouse.h>
#include <graphics.h>
#include <conio.h>
#include <dos.h>
#include <stdlib.h>
void main(void){
int ran=DETECT,modo,i,k;
int raya=10;
initgraph(&ran,&modo,"c:\\tc20\\bin");
setbkcolor(1);
setcolor(15);
rectangle(raya,10,630,475);
line(10,40,630,40);
outtextxy(13,20,"File");
outtextxy(58,20,"Edit");
outtextxy(97,20,"Search");
outtextxy(160,20,"Run");
outtextxy(200,20,"Compile");
outtextxy(270,20,"Debug");
outtextxy(330,20,"Tools");
outtextxy(390,20,"Options");
outtextxy(460,20,"Windows");
outtextxy(530,20,"Help");
line(10,425,630,425);
do{
mver();
}while(!kbhit);
getch();
closegraph();
} 


Learn More :