17 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for sunfizu
Member Avatar for ZmohJ

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 for deceptikon
0
124
Member Avatar for DavdPrez

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 …

Member Avatar for DavdPrez
0
2K
Member Avatar for PIXXAR

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 …

Member Avatar for PIXXAR
0
980
Member Avatar for rutwvu

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 …

Member Avatar for rubberman
0
193
Member Avatar for bobytch

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 …

Member Avatar for vidit_X
0
276
Member Avatar for shantanusinghal

[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 …

Member Avatar for Narue
0
624
Member Avatar for saad749

Hi, I am trying to make a Picture viewer for my BS Computer Science 1st Year Project in [B]Turbo C Compiler[/B]. I have to stick with this compiler atm. I want to be able to display BMP,PNGs and JPEGs [TIFF and others too if it won't be very difficult]. I …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for saad749

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 …

Member Avatar for Ancient Dragon
0
603
Member Avatar for puttam77e

Dear Friends, Can any one suggest me, im using Windows 7, i m try to install the Turbo C complier, but it is creating virtual directory, after completion of the creation of directory, it will ask for renameing the root path, How can i rename the root path... (virtual Directory …

Member Avatar for najmul islam
1
349
Member Avatar for GMSI

I have windows XP version 5.1, SP 2. Tried installing Turbo C, on ruuning the install.exe, it does not take any input from keyboard. e.g. it says press Enter to continue. When I press Enter nothing happens. CAnt even close the install window. Have to kill it to close.

Member Avatar for Adak
0
738
Member Avatar for aianne

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 …

Member Avatar for jhamelberja@yah
-3
151
Member Avatar for aianne

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> …

Member Avatar for Adak
0
282
Member Avatar for aianne

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: …

Member Avatar for Top9ne
0
1K
Member Avatar for neoeinstein

I am very new to C++ and have written only basic algorithms. In school we use turbo c++ compiler but now i have to attend a workshop for which I need to be able to use a gnu compiler and I do not know how to change my programs for …

Member Avatar for neoeinstein
4
666
Member Avatar for kyumi419

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 …

Member Avatar for kyumi419
0
136
Member Avatar for mshafi

I tried to compile a code written in C which had included the file "graphics.h".It worked fine in my desktop PC which had a VGA monitor.But when i tried to run the same code in my laptop,it showed some graphics error. why is it like this?fG

Member Avatar for dng
0
436

The End.