Turbo C/C++ and other junk compilers help, discussions and queries here

nims11

BIOS Terminator
Re: Turbo C/C++ and other junk compilers discussions here

^^that's why, the code is non-ANSI, which doesn't guarantee it will run in a standard compiler (which Dev-C++ uses).
 

soumo27

→|Requiescat| |in| |Pace|
Re: Turbo C/C++ and other junk compilers discussions here

Well how is "Cfree" as a C compiler? (I m new to C; but well acquainted with JAVA).

MOD EDIT: This is not a general C/C++ thread. Read and ask if needed in the sticky thread.
 

dashing.sujay

Moving
Staff member
Re: Turbo C/C++ and other junk compilers discussions here

^^that's why, the code is non-ANSI, which doesn't guarantee it will run in a standard compiler (which Dev-C++ uses).

Can you explain me what do you exactly mean by non-ANSI standards? Using outdated programming styles?
 

Vyom

The Power of x480
Staff member
Admin
Re: Turbo C/C++ and other junk compilers discussions here

Can you explain me what do you exactly mean by non-ANSI standards? Using outdated programming styles?

You may want to read this post by Who, and subsequent posts, if you like.
*www.thinkdigit.com/forum/programmi...de-post-basic-questions-here.html#post1288952
 

mohityadavx

Youngling
C++ Exponential output (Merged with Turbo C++ thread)

Here's a little code i have written but the problem is it gives output in exponential form whereas i want the output in numeric form plz suggest anyway to fix it

Code:
#include<iostream.h>
#include<conio.h>
void main()
{
ulong int first, second, url;
int third, fourth;
clrscr();
cout<<"Please enter the first part \n";
cin>>first;


cout<<"Please enter the second part \n";
cin>>second;


cout<<"Please enter the third part \n";
cin>>third;


cout<<"Please enter the fourth part \n";
cin>>fourth;

cout<<"/n";

url = (16777216*first) + (65536*second) + (third*256) + fourth;

cout<<url;
getch();
}
 

gopi_vbboy

Cyborg Agent
Re: C++ Exponential output

format n convert to string n output

or read this


faculty.cs.niu.edu/~mcmahon/CS241/c241man/node83.html
 

saswat23

Human Spambot
Re: C/C++ Beginner's Guide and Post Basic Questions here

Want a C compiler for windows 7.
Can i get some download links (most probably looking for Turbo C).
 

dashing.sujay

Moving
Staff member
Re: Turbo C/C++ and other junk compilers discussions and queries here

Don't use turboC. Its outdated and non-standard. Instead use at least Dev c++, but better use MS vc++ or gcc.
 

saswat23

Human Spambot
Re: Turbo C/C++ and other junk compilers discussions and queries here

Can you plz give me there links. I couldn't find any of their dwnld links after googling.
Actually i wanted TurboC Bcoz its used in our college and i would be me more comfortable with it. But if others are better then i will surely try them.
 

abhijangda

Padawan
Re: Turbo C/C++ and other junk compilers discussions and queries here

don't use Dev C++ instead use CodeBlocks, if you want to use mingw.
 

dashing.sujay

Moving
Staff member
Re: Turbo C/C++ and other junk compilers discussions and queries here

Though devc++ is not updated since long its still good enough.
 

saswat23

Human Spambot
Re: Turbo C/C++ and other junk compilers discussions and queries here

k, will try it.
BTW which is the simplest C compiler.

But these are C++ compilers. Aint they different from C compilers?? I am looking for C compilers. And AFAIK C++ is different from C.
Am I wrong. If so plz do correct me. I am new to prog. And am totally unaware of all these.
 

krishnandu.sarkar

Simply a DIGITian
Staff member
Re: Turbo C/C++ and other junk compilers discussions and queries here

Check GCC, the GNU Compiler Collection - GNU Project - Free Software Foundation (FSF) and GCC - Wikipedia, the free encyclopedia

In simple words C is subset of C++.

You can compile C programs with C++ compiler.

But don't worry, you are not using C++ compiler.

To know more about MingW check MinGW | Minimalist GNU for Windows and MinGW - Wikipedia, the free encyclopedia

Check *www.thinkdigit.com/forum/programming/132924-c-c-beginners-guide-post-basic-questions-here.html for installing GCC
 
Top Bottom