Teen Programmers Unite  
 

 

Return to forum top

C++ Help

Posted by andymcnab [send private reply] at April 01, 2002, 04:59:24 AM

Hello u guys, I have been programming with Visual Basic now for 2 years. Do you think i am ready to move on to C++ now, i have the MS Visual C++ compiler. I really want to start on C++ as i know that visual basic will teach me bad habits if i stay with it for too long!
I would appreciate any good links for really good tutorials and maybe e books that i can download that would help me a great deal. Also if there are books you would recommend please do so. Thnx a lot

Your help is appreciated!! AndyMcNab

Posted by buzgub [send private reply] at April 01, 2002, 05:07:06 AM

If you can't do an array yet, don't try C++ yet. It sounds to me like you've learnt very few of the concepts behind programming. Keep working on it.

Posted by AREM [send private reply] at April 01, 2002, 09:51:08 AM

informit.com has some free ebooks on it. check it out when you're ready.

Posted by andymcnab [send private reply] at April 01, 2002, 11:03:20 AM

thnx, but i know quite a bit of visual basic and i have yet to find some good tutorials for visual basic that teachs you the concepts of programming.

but i do want to move on to visual c++ soon but i understand that i should make sure i know the concepts of programming bore i get on to more complicated languages.

thnx all

Posted by Mycroft [send private reply] at April 01, 2002, 12:15:14 PM

The best way to get started in VC++ is get a good book on C++ and go through it, in almost every programming book the first few chapters are on programming concepts so don't sweat it. Do the examples and read the text. You don't have to understand all of it just understand how the code works.

Posted by vikram_1982 [send private reply] at April 02, 2002, 01:35:23 AM

Do u want to moe on to VC++ or C++. Whatever be the language , take a plunge into it. Knowing/Not Knowing VB has got nothing to do with it. I did C++ before starting on VB. So, just do for it.As for the books , try the following authors,

1.Robert Lafore ( XCEllent book)
2.Balaguruswamy
3.KK Thyagarajan
4.Milton


-Vikram

Posted by gian [send private reply] at April 02, 2002, 03:49:18 AM

I have one to add to that list:

"The C Programming Language", aka. K & R C... I would learn C first, and then C++ is only a little step up, as opposed to a giant leap.

Posted by metamorphic [send private reply] at April 02, 2002, 08:31:46 AM

unless you already know the concets of programming, then C++ isn't so bad

Posted by andymcnab [send private reply] at April 02, 2002, 03:03:20 PM

Helo Vikram_1982,

i might get that robert lafoe book, do you think it would be good for begginers cos i have no previous know ledge of C++ but i have some knowledge of VB, quite a bit actually!!

plz help or reccomend begginers books

Posted by andymcnab [send private reply] at April 02, 2002, 03:04:59 PM

Also is any C++ book good for MS Visual C++ Cos that is the compiler i have??
So can i buy any book about C++ and that will teach me how to do the MS Visual C++??

Posted by gian [send private reply] at April 02, 2002, 03:06:08 PM

VC++ implements ISO C++, so hopefully, any book you choose will be teaching you the agreed upon standard.

Posted by unknown_lamer [send private reply] at April 02, 2002, 03:56:25 PM

/me notes that learning C before C++ != good idea. C is not entirely compatible with C++, and the two lend themselves to completely different designs. The _C++ Programming Language_ reccommends doing it the other way around, because C++ has things like vectors and lists so you don't have to use manual memory allocation or pointers when learning to program. Of course, I would reccommend getting a good book like _The Structure and Interpretation of Computer Programs_ (available from the MIT Press...mitpress.mit.edu). It uses Scheme, which is _very_ easy to learn. After you understand important concepts, you should move on to production quality (although you can use Scheme for real projects if you have a decent Scheme system) languages like C++ or Common-Lisp (don't talk about how "Lisp sucks!" unless you have used Common-Lisp recently with a decent lisp system like CMUCL).

Posted by Psion [send private reply] at April 02, 2002, 04:01:20 PM

If you want a good functional language, then go straight for the best: SML!

Posted by vikram_1982 [send private reply] at April 03, 2002, 12:30:13 AM

Andy,
Visual C++ is slightly different from C++. It is like the difference between C and c++, if u get what I mean. Robert Lafore, is good for the begginers. I guess the size of the book is troubling u , eh??? . To start with, try some online tutorial sites. Then, try book no 2 ( Where do u reside? I am not sure whether books 2 and 3 are available outside this country). Try getting ur hands on a Turbo C++ or a Microsoft c++ compiler. It should be quite easy to get. I recommend these two because, it does not have a GUI to help u and that will make u a better programmer, as u dont have a lot of assistance... Also, remember that the VC++ compiler is a bit error prone. It can sometimes make ur system crash if u make errors in ur code ( It has happened to me, so u can take my word).

Anyways, Robert Lafore should be fine yaar. All the best.

Vikram

Posted by vikram_1982 [send private reply] at April 03, 2002, 12:35:08 AM

Andy,
I would like to reinforce what Gian has said. Learn C before C++. C is a normal prog. language, while C++ is an Object Oriented one. Although, VB is object oriented, the differences are more than the similarities. The jump from C to C++ is an easy one to make. Further the same compilers u use for C++ can be used for C . So, I would recommend u go in for C first. If u learn C, in a month, U will be able to do C++ in a fortnight... Get it??? All the best....

Vikram

Posted by vikram_1982 [send private reply] at April 03, 2002, 12:38:05 AM

Andy,
How is ur Chat Bot working???

Posted by unknown_lamer [send private reply] at April 03, 2002, 02:55:28 PM

C and C++ are not compatible! It used to be that well written C programs were also C++ programs, but that is no longer true. C99 added several new features that are not present in C++! Anyway, if you want to learn C++, then learn C++. The STL makes programming much easier than what you can do in C. You can ignore the "Object Oriented" features of C++ and merely use it has a "better C" while learning. Of course, I still reccommend getting a copy of _The Structure and Interpretation of Computer Programs_ or a similar textbook. If you really want to learn something, get _The Art of Computer Programming_ volumes 1, 2, and 3...(if you can get through a page without wondering what the hell is going on)

Posted by andymcnab [send private reply] at April 03, 2002, 03:19:49 PM

My bot is going very well thnx, when it is done i might give a link of where you can download the compiled app. and if any of you wanna give me further advice or stay in tough here is my ICQ:
142689247 thnx for all the advice and if any of you have any more books or sites to direct me to for tutorials and books pls do so

thanks a lot AndyMcnab

Posted by metamorphic [send private reply] at April 04, 2002, 05:23:11 AM

i would like everone to read this:

http://theory.stanford.edu/~amitp/rants/c++-vs-c/

its completley neutral, and its a good read. told me some new things.

Marc

Posted by metamorphic [send private reply] at April 04, 2002, 05:30:00 AM

damn forum..... Psion, prehaps you could change URL recognition so it includes ~ also? second good read:

http://www.telegraph-road.org/writings/cpp_plea.html

I strongly recomend that people read these

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.