i need turbo c soft for 64 bit..

Member Avatar
Member Avatar
+0 forum 2

My game is like "space invader". can someone tell me how can i move the ship at the same time i can also shoot bullets.. . TIA

Member Avatar
Member Avatar
+0 forum 2

well I've this little homework. "Given a text file, create a function that search an specific ID provided by the user inside the file, If exits, print the entire profile as follow: ID_genre_name_age_height" So In the text file there is only one profile. 19800372_male_David_19_1.75 so, my function should print that information If I introduce the same ID. My code which don't work so far Is this one. void search() { char ced1[10],ced[10],nombre[20],sex[10],age[10],altura[5]; FILE *in; in=fopen("c:\\ex.txt","r"); clrscr(); printf("Enter ID: "); gets (ced1); do{ fscanf(in,"%.0f %s %s %d %.2f",ced,sex,nombre,edad,altura); if (strcmpi(ced,ced1)==0) { printf("Cedula:%.0f\n",ced); printf("Sexo:%s\n",sex); printf("Nombre:%s\n",nombre); printf("Edad:%d\n",edad); printf("altura:%.2f\n",altura); } } while(!feof(in)); fclose(in); getch(); …

Member Avatar
Member Avatar
+0 forum 12

IM HAVING PROBLEM WITH THIS PROGRAM, GOING BACK TO THE MAIN PAGE AND SELECTED PAGE, IF THE USER ANSWER NO, THE PROGRAM WILL GO BACK TO MAIN MENU IF THE USER ANSWER YES, THE PROGRAM WILL COMPUTE THE SAME PROBLEM. help PLS... THE PROGRAM BELOW WONT GO BACK TO COMPUTE THE SELECTED PAGE IF YOU ANSWER "YES". [code]#include <stdio.h> #include <conio.h> main() { float choice,A,CUBE; char temp; { clrscr(); textcolor(BLUE); gotoxy (24,5); cprintf("SOLVE FOR THE FOLLOWING VOLUMES\n"); textcolor(345); gotoxy (26,7); cprintf("[1] - CUBE"); gotoxy (26,8); cprintf("[2] - CONE"); gotoxy (26,9); cprintf("[3] - SPHERE"); gotoxy (26,10); cprintf("[4] - CYLINDER"); gotoxy (26,11); …

Member Avatar
Member Avatar
+0 forum 4

I am currently working on implementing an operating system in turbo c which uses c as the programming language. For this project we must implement pagination. I have absolutely no idea how to do this in c and most web results are for web pages using mySQL or java or css etc. Does anyone know how to do this?

Member Avatar
Member Avatar
+0 forum 3

Good Day Everyone here is my code so far [CODE] #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void vp(int x,int tc,int bk,char *text); void square(int x,int y,int size); void main() {//=========================================================== int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver, &gmode, "C:\\TC\\BGI"); //------------------monitor-------------------- setbkcolor(0); setcolor(15); square(300,160,150); square(300,160,148); square(300,160,130); square(300,160,131); setaspectratio(2,5); int stangle=0,endangle=180;int radius = 100; setcolor (2); // This becomes drawing color square(300, 160, 128); // Draw the circle setfillstyle(1, 2); // Set pattern to fill interior floodfill(300,160, 2); // Fill the circle setcolor(15); /* draw arc */ arc(295+9, 353, stangle, endangle, radius); arc(295+9, 354, stangle, endangle, radius-1); arc(295+9, 355, stangle, …

Member Avatar
Member Avatar
+0 forum 1

[CODE=c] int main(int argc, char *argv[]) { ifstream inHandle; Assembler obj; if(argc!=2) { cout<<"InvalidInput ERROR"; } else { inHandle.open("test.asm"); if(inHandle==0) cout<<"FileNotFound ERROR"; else obj.pass1(inHandle); } inHandle.close(); return 0; } [/CODE] this is my code for the main() function, i have tried entering the filename in every possible format but the control always jumps to.. [CODE=c] if(inHandle==0) cout<<"FileNotFound ERROR"; [/CODE] ..Can anyone please suggest me what the problem could be?!? NOTE: i am using TurboC++ v3.0

Member Avatar
Member Avatar
+0 forum 8

My Object is to display a 24bit color .bmp picture in 24 bit colors via Turbo C Compiler. Turbo C can display only 16 colors so I will need to use a Windows Interrupt[or something like that] to display the image. I googled a lot but couldn't get a hint on how to proceed. I know how to display images in turbo C in 16 colors and etc. If Someone can guide me to the topics/books/websites/functions that will be used/ etc..... that can help me achieve my goal I will be very grateful.

Member Avatar
Member Avatar
+0 forum 17

Hello, I'm almost completely useless at C, and as part of a project I've got to conjure up a programme, and I'm just hoping someone can give me push to get it started. I want to make a programme where the user can draw a CIRCLE, SQUARE, LINE and POLYGON (and eventually any polygon) by setting the size or the starting X & Y and ending X & Y and radius. My professor gave us a clue, we have to use printf and scanf This what our professor gave to us, : clue: [CODE]...... printf("SQUARE"); printf("starting X: "); scanf( ); …

Member Avatar
Member Avatar
-3 forum 5

Hi!, I'm newbie here on daniweb.. and i dont know if i'm in a right place to post this problem. lol. *sorry for my english* anyway, will you please help me about Turbo C? My teacher gve us a sample problem and he starts it with this code : [code]#include<conio.h> #include<stdio.h> #include<stdlib.h> #include<graphics.h> int gd,gm; void main() { gd=DETECT; initgraph(gd,gm,""); if(graphresult()!=grOk){exit(1);} rectangle(0,0,getmaxx(),getmaxy()); rectangle(1,1,getmaxx()-1,getmaxy()-1); settextstyle(1,0,1); outtextxy(50,50,"HELLO"); circle(400,600,10); getch(); closegraph(); }[/code] and when I tried to run it, it suddenly closed. and I don't know what is wrong with this. :'( help me! did I missed some codes to put on or …

Member Avatar
Member Avatar
+0 forum 12

Hi! I need help to my Turbo C program.. I need to create a program that will ask the "Starting X:", "Starting Y:", Ending X:", and Ending Y:" on different shapes.. this is how the program should be: [CODE]SQUARE: starting X: starting Y: ending X: ending Y: CIRCLE: Starting X: Ending Y: Radius: LINE: Starting X: Ending Y:[/CODE] and also [CODE]POLYGON:[/CODE] ...the user will write numbers in starting X, starting Y, ending X, ending Y, and radius, after encoding the numbers, the result will create the shape that the user chose and according to their X and Y and radius …

Member Avatar
Member Avatar
+0 forum 39

guys.. i hope you could help me out here.. we are currently in iterative and conditional statements.. problem is making a [I]pyramid[/I] using asterisks. for example, if the user input 6, that would be the height of the pyramid, while the body starts at 1 and increases by 2 each line. i.e. input = 5 xxxxxxx* xxxxxx*** xxxxx***** xxxx****** xxx******** x - is the spaces. :) thanks advance!

Member Avatar
Member Avatar
+0 forum 5

The End.