ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello,
I am newbie in c++ and want to have good proggramer in it. I want to ask some question
1)I downlaoded some .cpp files and found some have iostream.h while some have only
#include <iostream>
using namespace std;
whats difference between them?
2) former include works in turbo C++ compiler but later not works why??
3) which is most used good debugging facility provider compiler for Windows and Linux to do c++ programming?
4) Also in world C++ programming mean its console based programming or visual c++ programming?
5) which is mostly used way to do c++ programming on console(Dos based) or on windows?
Thanks,
rahul
PS. Sorry if anybody dont like questions asking about windows environment
hi, pal... maybe I'm not the best one to give an advise, 'coz I'm just trying to understand how to compile c++ under linux..
..but my advise is : it would be easier if you begin writting programs in a IDE like borland turboC++ under windows. It's very popular, have many tools for debugging and a very copmlete help file.. and all in just one program.
good luck!
also why are you using turbo C++, just get Fedora Core 3. Install everything and it will be a good ready to go development setup with KDevelop and etc.
Thanks for replys
Now can i know what are main parts to learn in C++ to become good programmer. I know class, inheritence, polymorphism, operator overlading what else i must learn?
Also what is STL?
1. Complete all assignments provided in that course.
2. Use class notes and class examples. They will bail you out.
3. STL:standard template library. There are examples availabe in class examples and class notes.
At all costs, STAY AWAY FROM TURBO C++!! Turbo C++ is an outdated DOS compiler that has been around since long before the ANSI/ISO C++ standards were established. It not supporting <iostream> is just one example. (Which is the standard, btw. iostream.h is deprecated.)
There are a number of good free compilers for Windows, so there is no reason to be using it anyway. (Both Borland and Microsoft have free command-line compilers you can download, and you can get the GNU compiler with the Cygwin tools or with DevC++.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.