Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9177933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:26:22+00:00 2026-06-17T17:26:22+00:00

I have been using Turbo C++ for 1 year now, thing is… i know

  • 0

I have been using Turbo C++ for 1 year now, thing is… i know it’s extremely old, but now i have got used to it’s syntax.Can you suggest a (better) IDE which doesn’t show any error with turbo C++ code?
I have tried visual C++ and codeblocks, and even tried (really wildly) an eclipse CDK pack. But, all of them show errors to a normal programme like:
#include<iostream.h>
void main()
{cout<<"hello";}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:26:23+00:00Added an answer on June 17, 2026 at 5:26 pm

    The problem with Turbo C++ being so old is that it is much less conformant than modern compilers. Ages ago C++ compilers all varied wildly; supporting different features, different syntaxes, and had severe bugs in their C++ implementations. Back then writing portable C++ was difficult. Things have vastly improved over the last 15 years as compilers matured with got better and better about implementing the common C++ standard.

    So probably the major benefit of modern compilers is that they are more conformant; that they don’t support the same wrong dialect of C++ that Turbo C++ supported.

    Instead of asking for a modern C++ compiler that doesn’t have the major feature that makes modern compilers desirable, you should simply figure out the areas of Turbo C++’s dialect which are not correct. This is probably a good exercise anyway; C++ programmers learn a fair bit of C++ from their compiler, and so when the compiler is wrong they learn wrong things. Using different compilers helps ferret out such misunderstandings and improves one’s knowledge of C++. It shouldn’t be too hard to make the adjustments.

    So here’s what’s wrong with the simple program you posted as far as the authoritative ISO specification for C++: Standard C++ headers don’t have ‘.h’ suffixes on them, so instead of #include <iostream.h> you must use #include <iostream>. These standard headers put things in namespaces, so in order to access cout you have to access it inside the std namespace: instead of cout<<"hello"; you should write std::cout << "Hello\n";. Finally main is required to return int rather than void, so your whole program might look like:

    #include<iostream>
    
    int main() {
        std::cout << "Hello\n";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using JSONKit in my app, but now that I have upgraded
I have been using echo $.sprintf(%01\$.2f,$numvar); for my USD formatting, but I only copied
have been using no DOCTYPE but rather simply starting with <html> as per HTML5
I have been using the following line of code happily for a while now
We have been using Visual Studio Database projects for a while now and they
I have been using iterators for a while and I love them. But although
We have been using SVN at my workplace for a few years now and
I have been using JIRA for the past 15 months, and now I find
I have been using Javascript but more in a procedural way not the object
I have been using Amazon SES for sometime now through the PHP library found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.