turbo-c

"unable to open stdio.h in turbo c"

whenever i compile my program i get the error above,plz give some solution. ...

Error: Out of memory in function main

I get this error whenever I put more of my gotoxy and textcolor but when putting more printf this error does not appear...well this was not appearing before, it just appeared in lately after tons of codes are inputted. -thanks....appreciation for those who can help or even read my question...thanks again. EDIT: THANKS FOR THOSE WHO HELP...

Cannot run c graphics programs

I have developed a graphic program on a desktop system. But when I tried to run it on the hp compaq laptop it's not getting executed. I developed it using Turbo C. Then i tried writing a simple graphic program in Turbo C on the laptop, but the problem I am getting is in 'initgraph' statement it is unable to detect the driver. Can you pl...

Alternative to Turbo C

My university is hosting a Programming Competition, and have decided to support Turbo C (the 16-bit DOS version) as a valid programming environment. I have just read that PC^2, the software that is going to be used to auto-judge the competition, does not support 16-bit programs. So, is there any alternative to Turbo C that I can use. I ...

Windows.h in C using Turbo-C

Hi, I cannot find windows.h in my include folder of Turbo C and hence cannot work with the Win32 api's Can someone please suggest a workaround? thanks ...

Which version of ANSI C standard does Turbo C 3.0 follow?

Which version of ANSI C standard does Turbo C 3.0 follow wholly or partly? C89 or C90 ? ...

about turbo c working under windows 7

i am using windows 7 64 bit laptop.i installed turbo c and write programs using dosbox, but i can't run the program.... when run is selected it show some message like not an :exe plz give solution to this problem ...

why there are some errors in the mex.h?

Hi, I opened a c file in Turbo C, the beginning of this c file looks like this: #include <math.h> #include <stdio.h> #include "mex.h" #include "matrix.h" It uses some of the matlab structures and do something in c I checked the directory and am sure that they are right. but when I tried to compile it, some errors here (I just copy s...

Problem occur in case structure

I am doing my project to implement a typing tutor application in turbo C compiler (this is the limit), this function is actually a look up table for x,y and key character but it is returning a garbage value at first value of that I passed in argument. From second onwards it starts doing right. Note that that x,y are pointers to return tw...

Using assembly routines with C on DOS

Hello, I've been playing with DOS real mode assembly for a while and now I want to utilize some routines in a C program. I'm using Turbo C 2.01 and TASM 3.0. I'm however unable to modify a variable passed by address, see the _setval routine below. I don't need/want inline assembly. A simple example: foo.c #include <stdio.h> extern voi...

How do I perform "Millions of Calculations?"

My code is pasted below.When I run this program,it keeps on calculating.I am using the old Turbo C++ compiler.How much time should such a program take to execute?I waited about 5 minutes but there wasn't any output. /*The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. */ #include<std...

How to code C in a x64 bit machine ?

My new PC is Dell Inspiron 580s which is a x64 machine. Before which I used to code in TURBO C++ in my x86 machine. Since I was unable to run TURBO C++ in the new system. I installed NetBeans 6 IDE for which we need to install the compiler (CYGWIN) manually and so I did. But I'm unable to code in NetBeans. After lots of search I heard ...

how to create a project in turbo c++ 16 bit compiler

I want to create a project file turbo c++ and link the files in this project. Although i have tried for it but i found only one option that to open a project no option to create a new project. So How to do that Thanks in advance. Saurabh Mehta. ...

graphics.h programs not running in Dosbox Windows 7 environment

I have installed Dosbox to run Turbo C in it. But my graphics.h programs are not executing in it. I am getting Linker Error which says"Undefined sumbol initgraph in module..." and so on. please help me to solve this problem. Thanks in advance. ...