Questions tagged [turbo-c]

Turbo C was an Integrated Development Environment and compiler for the C programming language from Borland, released in 1987. It had been re-release as freeware version 2.01 by 2006.

First introduced in 1987, it was noted for its integrated development environment, small size, fast compile speed, comprehensive manuals and low price.

Today, Turbo C is considered obsolete. It is a 16-bit compiler for DOS environments, and as such cannot access more than 640 KB of memory (and even that only with difficulty), and cannot interoperate with 32- and 64-bit code in modern operating systems. Additionally, due to its age, its standard library differs in some significant fashions from modern C libraries. Plainly put, it is not an appropriate tool for many development tasks today.

Despite this, it is sometimes used in introductory C programming courses, particularly in India. Students using Turbo C should keep its limitations in mind.

273 questions
1
vote
1 answer

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)…
1
vote
1 answer

Moving object that override the background in Turbo C

I code in Turbo C. I drew a basketball court and I want to move circle on the court and when I do this it overwrites and destroys the court. How can I move the circle on the court and still see the court without losing it? #include…
shiran
  • 11
  • 1
1
vote
3 answers

make the middle letter blink

I've already solved this by not displaying the last letter of the word then locating the last letter and making it blink then I displayed the word inversely minus the last letter of course. #include #include
Jane Doe
  • 29
  • 7
1
vote
1 answer

How to reduce cursor speed in Dosbox Turbo C?

I am running Turbo C using DOSBox in Ubuntu. But I'm facing cursor speed problem. Actually the speed of cursor is so fast. It troubles me and make me irritating. So suggest me the appropriate solution for this.
Bharti Rawat
  • 1,949
  • 21
  • 32
1
vote
2 answers

What is the proper ansi c example for windows?

Some books claim that they used ansi c and use turbo c compiler to run these example. i tried to run these on linux but I found that these example are only for windows. #include #include /* #include */ int main() { int…
user5721274
1
vote
1 answer

C graphics program generating static output

I have written a simple code to rotate a line. Following is the source code: #include #include #include #include #include void main(){ int gd=DETECT, gm; int x1, y1, x2, y2, t, deg, b1, b2; …
user3382203
  • 169
  • 1
  • 6
  • 25
1
vote
0 answers

turbo c++ GUi Base Calculator

I wanted to create GUI base calculator in turbo C++ which have basic math function , no mouse pointer is required in this calculator, any help and workaround is appreciated i don't know where to start in this case. thanks for helping in advance
hxnAbbas
  • 43
  • 5
1
vote
2 answers

How to create a DLL from a C program using Turbo C

I wrote a small program in Turbo C and I would like to get or create a DLL of this program for using it with my C# application. So how can I create a DLL of a C program using Turbo C? I would like to use it with a C# or VB program in a DLL…
pvaju896
  • 1,397
  • 6
  • 25
  • 46
1
vote
2 answers

Use of type modifiers(near,far,huge) with normal variables

I used type modifiers(far,near,huge) with normal variables rather than pointers and found that these pointer type modifiers are only applicable for the global normal variable but an error is generated when used with a variable local to a block. int…
NeoR
  • 353
  • 2
  • 9
  • 27
1
vote
4 answers

Is Borland C++ not C++?

One of my career courses is teaching us the basics of "Turbo C". I was never sure if it was C or C++. So I checked the help and it said "Borland C++ Version 3.0". But when I go look for help on the web, my code seems to be C. So which one is it or…
Emiliano Rodriguez
  • 454
  • 2
  • 6
  • 19
1
vote
2 answers

Will this program compile in Turbo C?

I want to know because I am currently learning C. #include int main() { into a=10, *j; void *k; j=k=&a; j++; k++; printf("%u %u\n, j, k"); return 0; }
user4652595
1
vote
1 answer

how to store and print sixteen digits number in hexadecimal format in Turbo C?

I tried to store and print a sixteen digits number in hexadecimal format in Turbo C by typing the coding long long unsigned num=0x35647882781256532 But it prints only last eight digits. When I tried in Ubuntu, it prints all the sixteen digit…
1
vote
1 answer

Ternary Conditional operator in C

(k < m ? k++ : m = k) This particular expression gives compile time error saying lvalue required. The problem is with k++. Not able to understand what is wrong in this expression.
1
vote
3 answers

Input text in graphics in C programming

I am making a project in C. Its simple, just a Hangman Game. Got the logic already cause I've done that only in console. Now, I'm trying to do it in C again with GRAPHICS. I am using Turbo C. I've read some of the functions of graphics.h: so far…
2cool4u
  • 41
  • 1
  • 2
  • 9
1
vote
7 answers

Function should have a prototype error

I have written the following C program: #include #include void main() { int count; scanf("%d",&count); if(count < 1 || count > 100) { exit(1); } int inputs[10]; for(int i = 0; i < count;…
Harikrishnan
  • 7,765
  • 13
  • 62
  • 113