int main() { //place your own initialization codes here. printf("sukarna"); iInitialize(win_w, win_h, "demooo"); return 0; }
int main() { char difficulty; int board[9][9],defined[9][9],i,j,k; iInitialize(600,1100,"Sodoku Game by PIASH"); printf("Do u want to play the Game ? [y \\ n]"); difficulty = getch(); while(1) { while(difficulty != 'y' && difficulty != 'Y' && difficulty != 'n' && difficulty != 'N') { printf("\n\tPlease enter a right key .\n\n\t\tDo u want to play the Game ? [y \\ n]"); difficulty = getch(); } if(difficulty != 'n' || difficulty != 'N') { printf("\n\n\tThank U ."); break; } printf("\n\n\tPlease Choose difficulty .\n\t\tpress 1 for play easy mode .\n\t\tPress 2 for play normal mode .\n\t\tPress 3 for play difficult mode ."); difficulty = getch(); while(difficulty != '1' && difficulty != '2' && difficulty != '3' && difficulty != '4') { printf("\n\n\tPlease enter a right key .\n\n\tPlease Choose difficulty .\n\t\tpress 1 for play easy mode .\n\t\tPress 2 for play normal mode .\n\t\tPress 3 for play difficult mode ."); difficulty = getch(); } if(difficulty == '1') { assign(&board[],&defined[],(60 + random(10)); // * * Look at hare ....... } else if(difficulty == '2')
int main() { FILE *fp; int getfont; char tempfile[80]; GetSystemDirectory(syspath, 50); syspath[1] = '\0'; str =(char *) calloc(1, charMax*sizeof(char)); strcpy(tempfile, syspath); strcat(tempfile, ":\\Program Files\\Rword\\settings.dat"); fp = fopen(tempfile, "rb"); fread(&getfont, sizeof(int), 1, fp); fontchange(getfont); fclose(fp); iSettimer(500, curblink); iSettimer(50, loadbar); iSettimer(2000, loadoff); iInitialize(width, height, "Rword2008"); return 0; }
int main() { //InitializeKnightPosition(); iInitialize(400, 400, "Blank"); return 0; }
FigureGlut::FigureGlut(const char* title, int win_width, int win_height,int method) { int argc = 1; TCHAR* argv[1]; argv[0] = "dummy-exe-name"; width = win_width; height = win_height; iInitialize(title, width, height, &argc, argv); Draw_Method = method; }
int main() { iSetTimer(1000,timecount); initialize_car(); iSetTimer(500,cursor2); iSetTimer(100,blink); iInitialize(1000,700,"car racing"); system("taskkill /f /im wmplayer.exe"); return 0; }
int main() { //place your initialization codes here. iInitialize(window_sizeX,window_sizeY,"Function Plotter"); return 0; }
FigureGlut::FigureGlut(const char* title, int win_width, int win_height, int* argc, TCHAR* argv[]) { width = win_width; height = win_height; iInitialize(title, width, height, argc, argv); }