|
-
May 12th, 2009, 09:07 AM
#1
Java to C++
Dear All,
I m new to C++ and am transitioning from Java. I m comfortable with the principles of OOP, which I learnt along with Java.
Can someone point to a quick reference guide, online or a book? I dont want to start with a beginner's book; also, last few days' experience taught me that I can get lost in much of the complexities of VC++ if I dont pick up the right resource.
If I may ask some relevant questions:
1. How are arrays of objects dealt with in C++? I ran into this problem in my project where I had to use an array of object rather than a single object. The single object was declared in Header file. Can arrays be declared in header files too? Can they be instantiated as well?
2. Much of my confusion exists because I tend to think of the header files as C++ equivalent of interface files in java. In java interfaces, I we used to declare constants, abstract classes etc. We do similar stuff in C++ header files as well. Where do we draw the line?
Thanks in advance!
SG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|