Friday, July 31, 2009

How do I use C++?

I have never donw any programming in my life and was recommended to start with C/C++. I have no idea how to use it and I also need to know what I need to get to program on. I also need to know how to get my hands on whatever I need and how to get a decent tutorial so I can learn easily.

How do I use C++?
Go to book store and buy "Beginning programming for dummies", not kidding, this was my first book, and now I am a certified programmer. Don't start with C/C++.
Reply:I think you shouldn't use C++. VB.Net is a great beginner language (I started with it and in less than a year I moved on to C# and I have to say I'm pretty good) and you can download it for free. C++ gets mind boggling. If you insist on C++ then go to the bookstore and find some book entitled "Beginning C++" or something like that and read every page. You will need an IDE, I like Dev C++ because it's pretty good and it's free. Good luck.
Reply:If you've never done any programming C++ is not the place to start. I would recommend a scripting language like perl or python, which are free and you can download to any computer - mac, linux or windows. There are some basics you need to understand and any easy language will help you as much as any.


Here are the very basics:


variables


arithmetics


boolean (true/false) logic


conditionals (if then else clauses)


loops (for counting and iterating)


input from keyboard and output to screen





once you are comfortable with these then you can move on.


Typically every one starts out creating a program that just outputs "Hello World!" to the screen. Once you've done that you're ready for trying out loops, conditionals, arithmetic etc. Then download other peoples samples and try to figure them out and modify them.





I happen to like python because it starts easy you can use any text editor to creat your first program. And plenty of online samples and documentation to get you going
Reply:You will need a compiler (to turn your code into something the computer can run). Compilers usually come with a development environment, which is where you do your coding. I would recomend either dev C++ or microsoft visual C++ depending on what you want to do with it and why you are learning it. Download links listed below.





As for learning the language, there are plenty of good resources on the internet, however I would recomend buying a book or two, especially if you are new to programming

wedding reception flowers

No comments:

Post a Comment