Dear FOSSouls,

Kindly forward this mail to all those who think that Turbo C++ (legacy
IDE of 1991) is either necessary or sufficient. Just ask them to run
this simple code of ISO standard C++ -

        #include<iostream>
        #include<string>

        using namespace std;

        int main()
        {
                string s;
                cout << "Please enter your first name followed by a newline\n";
                cin >> s;
                cout << "Hello, " << s << '\n';
                return 0; // this return statement isn't necessary
        }

Turbo C++ of 1991 will fail because namespaces were added to C++ in
1998. Any C++ program without namespaces is a sin today. This is a
simple test code given by none other than Bjarne Stroustrup - the
creator of C++!

Still any room left for Turbo C++?


-- 

Mohit Singh

GNU/Linux User Group - Meerut

-- 
l...@iitd - http://tinyurl.com/ycueutm

To unsubscribe, reply using "remove me" as the subject.

Reply via email to