59 replies
HI,
I am a PHP guy. Now I want to learn C++. Anyone guide me to start it...?
#c++ #learn #tutorial
  • {{ DiscussionBoard.errors[759731].message }}
    • Profile picture of the author marynorth21
      Originally Posted by Tyrus Antas View Post

      Sure: learn c++ - Google Search

      Good luck,
      Tyrus

      This is the tut I consulted for my C++ language.
      {{ DiscussionBoard.errors[1188409].message }}
  • Profile picture of the author Ant West
    Try lynda.com m8 i think they might have i aint sure but i know there have loads of good material ,


    Originally Posted by seofreaks2009 View Post

    HI,
    I am a PHP guy. Now I want to learn C++. Anyone guide me to start it...?
    Signature
    "This time next year I'm Going to be a Millionaire"
    {{ DiscussionBoard.errors[759757].message }}
  • Profile picture of the author seofreaks2009
    Thanks for all your suggestions. I know how to google for CPP tutorials. But I need few info about
    • Whether C++ & VC++ are same?
    • Which is the best editor?
    {{ DiscussionBoard.errors[759962].message }}
    • Profile picture of the author Tyrus Antas
      Originally Posted by seofreaks2009 View Post

      Thanks for all your suggestions. I know how to google for CPP tutorials. But I need few info about
      • Whether C++ & VC++ are same?
      • Which is the best editor?
      C++ is the programming language.
      VC++ is one of the multiple editors available to edit C++.

      The best editor depends on your goal and preferences. Most windows c++ programmers go with VC++, the express edition being free.

      On Linux you'll often find people using vim or emacs or IDE's like Eclipse.

      Tyrus
      {{ DiscussionBoard.errors[760059].message }}
    • Profile picture of the author jim09875
      Originally Posted by seofreaks2009 View Post

      Thanks for all your suggestions. I know how to google for CPP tutorials. But I need few info about
      • Whether C++ & VC++ are same?
      • Which is the best editor?
      I will suggest a book of good author is more reliable than internet .
      {{ DiscussionBoard.errors[983175].message }}
  • Profile picture of the author janicejan
    you can try and visit this website Documentationtutorial/
    you will surely learn from that site.
    {{ DiscussionBoard.errors[760104].message }}
  • Profile picture of the author milo_pl
    Best way to learn programming is from books. If you want to learn eg. VC++, buy a book which covers both Win32 programming and ANSI C++, read it, try examples and write programs For a start I recommend book by Ivor Horton "Beginning VC++" u can find it on Amazon I think.
    {{ DiscussionBoard.errors[762938].message }}
    • Profile picture of the author highrider21
      I think learning from books is alot better than online because reading online hurts your eyes after a while. I would just go to the library and check out a book on C++ programming or search amazon for books. A good free editor is Dev-C++. Check out their website at bloodshed (dot) net.
      Signature

      {{ DiscussionBoard.errors[765345].message }}
  • Profile picture of the author kaskuz
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[768175].message }}
    • Profile picture of the author xiaophil
      Going from PHP to C++ is quite a jump.

      I can recommend O'Reillys "C++ The Core Language" as a good introduction.

      What are your reasons for wanting to learn C++?

      If you're looking for a productive, cross-platform framework Nokia's Qt is certainly worth a look.
      {{ DiscussionBoard.errors[771494].message }}
      • Profile picture of the author seofreaks2009
        Originally Posted by xiaophil View Post

        Going from PHP to C++ is quite a jump.
        What are your reasons for wanting to learn C++?
        I want to develop my own crawlers for some needs. Am I going into right way?
        {{ DiscussionBoard.errors[777116].message }}
  • Profile picture of the author tunasalad
    If you do plan on learning C++, learn it in a vendor-neutral form. Qt is a good framework. GNU is standard. VC++ can be a pain. Choose your poison.
    {{ DiscussionBoard.errors[776077].message }}
  • Profile picture of the author madison_avenue
    Have look at this book it has a very visual learning style, it might be too basic for you but it is good for the beginner:

    Head first C# by andrew stellman


    good luck

    madison
    {{ DiscussionBoard.errors[777209].message }}
  • Profile picture of the author xga
    If you are referring to simple crawler for crawling other websites, you can develop them using PHP. No need to mess with C++. CURL functions in PHP is actually quite powerful.
    {{ DiscussionBoard.errors[777215].message }}
    • Profile picture of the author seofreaks2009
      Originally Posted by xga View Post

      If you are referring to simple crawler for crawling other websites, you can develop them using PHP. No need to mess with C++. CURL functions in PHP is actually quite powerful.
      Yes, I am very well in PHP & CURL and I have written lot of simple crawlers. But I need something powerful .....
      {{ DiscussionBoard.errors[777573].message }}
  • Profile picture of the author kobe24
    Well when I was learning C++ I read this book:
    Amazon.com: C++ Without Fear: A Beginner's Guide...Amazon.com: C++ Without Fear: A Beginner's Guide... It is just a startoff guide but I promise you will learn alot. And its on sale hehe.
    {{ DiscussionBoard.errors[798447].message }}
  • Profile picture of the author chuawenching
    Originally Posted by seofreaks2009 View Post

    HI,
    I am a PHP guy. Now I want to learn C++. Anyone guide me to start it...?
    Hi. May I know the actual reason for you to learn c++? If you like to do web stuff, c++ probably is a bad choice or maybe not possible. If you like to do hard core (drivers), games dev and performance driven application, symbian, probably c++ is a way to go. you can choose to do c++ for console apps or windows apps, but it is just too hard. If you want to do rad, c# is a good choice. They are almost in the same family.

    can advise you better from there
    {{ DiscussionBoard.errors[806923].message }}
  • Profile picture of the author porter0009
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[848753].message }}
    • Profile picture of the author lharding
      Hello,

      C++ as a programming language isn't that difficult. But (there's always a but), the complication comes in when you start adding all the classes required to support the operating system.

      Visual C++ is a classic, again the basic C++ language is supported, but your effort will be in learning to use Microsoft's Foundation Classes (MFC) as it used to be called. Thousands of classes to make Windows work for you.

      You need to decide the platform you're going to write programs for (don't think you can simply write a Windows C++ application in Visual C++ and have it running on Linux, it just isn't that easy).

      It's funny, I used to be a C++ programmer by trade, and now I'm learning PHP.

      Cheers, Lee.
      Signature
      Lee Harding
      The Architect
      {{ DiscussionBoard.errors[851597].message }}
  • Profile picture of the author hire_us
    Do you know all the OOP stuffs...?? did you use that in PHP...??

    As far as I know PHP doesn't provide the 100% OOP stryctures,,,(actually not a singlelanguage does that..!!)...

    anyway if you are new in OOP...then C++ would a real pain...

    I would recommend "Complete guide to C++"...it's a good one...

    I think you should first learn the basic of C...then go for C++...
    {{ DiscussionBoard.errors[853999].message }}
  • Profile picture of the author garyk1968
    As another poster said I would question your choice of language for what you need to. You should choose a language which makes you productive with what it is you need to deliver. C++ is a very hard language to master and few truly do, as Lee mentioned when you add in frameworks it adds even more complexity. For what you need you could easily go down the route of c#. My weapon of choice for over 14 years has been Delphi and that like c++ is compiled and gives me all the power of c++ with all the same low level access but without any of the headaches.
    {{ DiscussionBoard.errors[863648].message }}
  • Profile picture of the author Safade Billy
    Just curious why do you want learn c++
    {{ DiscussionBoard.errors[867648].message }}
  • Profile picture of the author yaji
    Any reason why you wanted to learn c++? Why not Java or c#? If for VC++ GUI development, Flash/Flex, web/JSP, VisualBasic might be better options.
    Signature

    Thanks, Yaji

    Hypnosis Weight Loss Fun Info about Hypnosis Weight Loss | Cheap Car Insurance
    Cat Dandruff All about Cat Dandruff. A Must-Read for Cat Lovers

    {{ DiscussionBoard.errors[870711].message }}
  • Profile picture of the author thewebhostingdir
    Try the documents an tutorials at cplusplus.com. Nicely explained tutorials.
    {{ DiscussionBoard.errors[871953].message }}
  • Profile picture of the author aGor
    I can recommend "Accelerated C++" if you like to learn from books
    {{ DiscussionBoard.errors[873715].message }}
  • Profile picture of the author Eric Stanley
    I would definitely recommend the O'reily Head First series of books. I picked up Head First PHP & MySQL and it's excellent!
    Signature
    {{ DiscussionBoard.errors[873725].message }}
  • Profile picture of the author SethTheUBotGuy
    I think php to c# is a much easier jump
    {{ DiscussionBoard.errors[899272].message }}
  • Profile picture of the author jlxsolutions
    Well If i understood you correctly your learning Cpp to build a crawler well there are many open source projects in java and python wich i think might be easier to learn.
    Thou i,m not very good at any programming language LoL i learn what i need to.
    And if your definetly planning on Cpp then i suggest to look into Nvidia's CUDA programming Now thats something that blows my mind every day. like if i have to restore a password form a DB encrypted in MD5 Well a normal dual core processor 3.1Ghz would do about 3000 to 5000 tires per second brute force as a CUDA enabled nvdida 9500 Gforce does way over 62 MILLION tries persecond
    {{ DiscussionBoard.errors[899823].message }}
  • Profile picture of the author jeffsolochek
    Check out Vidual C++ Express, it is free and it is Microsoft. They also offer training which assumes you have no knowledge all the way up to expert status.
    Signature

    Jeff Solochek
    http://www.jeffreysolochek.com/blog
    http://www.networkcelebrity.com

    I also build blogs for companies and individuals

    {{ DiscussionBoard.errors[922746].message }}
  • Profile picture of the author jeffsolochek
    C# is basically Microsofts version of JAVA
    Signature

    Jeff Solochek
    http://www.jeffreysolochek.com/blog
    http://www.networkcelebrity.com

    I also build blogs for companies and individuals

    {{ DiscussionBoard.errors[922749].message }}
    • Profile picture of the author CDarklock
      Originally Posted by jeffsolochek View Post

      C# is basically Microsofts version of JAVA
      In other words, it runs faster, is easier to learn, and doesn't turn you into a jerk.
      Signature
      "The Golden Town is the Golden Town no longer. They have sold their pillars for brass and their temples for money, they have made coins out of their golden doors. It is become a dark town full of trouble, there is no ease in its streets, beauty has left it and the old songs are gone." - Lord Dunsany, The Messengers
      {{ DiscussionBoard.errors[924012].message }}
  • Profile picture of the author Aiyana_costello
    Hey,
    i think you should start with the C and then goes towards C++.
    {{ DiscussionBoard.errors[938348].message }}
  • Profile picture of the author ryanstreet
    A lot of really good advice you've received so far. If you are looking to program on multiple platforms, (such as crawlers for linux), stay away from Visual C++ or the like. You will need to learn it platform independent of a single platform, so you are not tied down to the platform's structure.

    I was on the exact (I am talking EXACT, PHP to Desktop Applications) same road as you, and got all kinds of conflicting advice from one person to the next.

    I wanted to develop Iphone Apps, but was restricted by Objective-C's super cryptic language structure and the Iphone's difficult interface in which to develop.

    I started on Objective-C's Tutorials, but that didn't work. Too difficult.

    I then went to C#, which is Window's programming language. Too platform dependent, and I couldn't migrate too easily from one to the other.

    I then decided to try and start from the beginning. I tried C, but it seemed like a waste of time to start at step 0 and move one at a time all the way to step one million

    I then went to c++, but all the tutorials used Visual C++ and taught you more how to use their systems vs. the programming language itself.

    After all that, I was done with all of that garbage.

    Finally, (here is my advice) I picked up C++ For Dummies, (corny and cliche, i know) but it taught me to code platform independent so I wasn't tied to one structure and it provided me with all the tools to jump in and start programming right away. I had my first app in, (no joke) 10 minutes.

    I would pick up a copy of C++ For Dummies 2009 Edition and go over to codeblocks.org and download a copy of their FREE software and ROCK AND ROLL dude!

    I hope this helps.
    Signature
    Ryan Street
    PHP Developer Specializing in WordPress and Magento
    {{ DiscussionBoard.errors[938839].message }}
  • Profile picture of the author geofftop
    Writing a crawler is easy in c/c++, its probably the best way, I've written them in PHP and other scripting languages and found c the most flexible way. But c is my language of choice.

    To download a page as a text file you could use something like the following code
    This is for windows, Unix is a little different.

    #include <windows.h>
    #include <Urlmon.h>

    bool DOWNLOAD_URL_AS_FILE(char * URL_NAME, char * file_returned){
    if(URLDownloadToFile(0,URL_NAME, file_returned, 0, 0)){return false;}
    return true;
    }

    if (DOWNLOAD_URL_AS_FILE("my_web_site.com", "A_TEXT_FILE.txt") == true){

    //code here to open A_TEXT_FILE.txt into a string and parse out whatever info you need
    //maybe hrefs, images, text, whatever

    }

    Pm me and maybe I can help provided its not for email addresses or credit card numbers or other shifty stuff.

    Be sure to throttle the crawler so your not hitting the server to hard, A good crawler should also obey robots.txt and the META tags.
    {{ DiscussionBoard.errors[957361].message }}
    • Profile picture of the author JaneBY
      The best editors I think are Visual Studio or Borland C++ Builder. The second one is easier to understand and to use, while the first is more complicated, but at the same time more interesting and has wider posibilities=))))
      {{ DiscussionBoard.errors[957830].message }}
  • Profile picture of the author garyk1968
    IDE wise there isn't alot in it, BCB is more of a RAD tool as you can quickly design your UI and have it produce your wrapper code very quickly, a la Delphi (which Ive used for over 10 years now)

    Still think its overkill for the task in hand though!
    {{ DiscussionBoard.errors[959001].message }}
  • Profile picture of the author opinextt
    Tons of good advice above, tho not much perspective among languages.

    For a web crawler, I would use PHP and a database.

    PHP is uses much of the "C" language syntax and libraries, so even the library names are the same or similar.

    Although I have mastered C, I use PHP for its simplicity. C++ is enormously complicated, well beyond C. If you must use C++, the real power will be with the STL or standard template library.

    The purpose of C++ is to avoid reinventing the wheel behavior. Therefore, there are gobs of libraries (functions) to learn. That's a steep learning curve for a single objective.

    To understand what C++ demands of you, I recommend reading a few C++ puzzles in "How Not To Program In C++" by Steve Oualline. Just because it compiles without errors and warnings does not mean your program will run as you intended!

    When programming at this level, always have a standard reference manual handy - something by Plauger, Harbison, Lipmann or Stroustrop.

    BCB/RAD tools are great if you know C++ but to drill down to the debugger if you don't really understand the language may not help. C++ is intensely object oriented (OO). About ten times more difficult to master than C -- by my yardstick.
    {{ DiscussionBoard.errors[959907].message }}
  • Profile picture of the author taha_umair
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[960504].message }}
    • Profile picture of the author xiaophil
      I guess we're talking amongst ourselves as seofreaks hasn't been in for over a month.

      Looks like this a special job and clearly curl or w-get or a mature and fully tested library for php or python simply will not cut the mustard.

      Many may argue that obviously the best solution in this case is to program a web crawler from scratch using object oriented machine code. Only then can the full power of the target platform be directed to the arduous and bespoke task at hand.

      I personally disagree and believe it's ludicrous to attempt such a thing at such a low level. It would be much better to use a macro assembler, and leverage all the advantages of writing instructions that a human can almost understand.

      Also, in order to maintain the mysterious undertones and hidden purpose of this ubercrawler, it's functionality should be broken down and outsourced to five different rentacoders on five different continents, including Antarctica, such that nobody really knows what they are doing and can't meet up for lunch and talk about it over a pint.

      Sure the integration and debugging might take a while, a few late nights for several months or years, but once it's finished it will be the fastest piece of redundant, unmaintainable spaghetti you ever did see.

      It will be something very, very special.
      {{ DiscussionBoard.errors[960512].message }}
  • Profile picture of the author redlake2
    You need to get back to basics and analyse your requirements.

    I am a C++ programmer with 5 years experience. PHP code is similar but there is so much design work in designing the program in C++ because of the object orientation and structure of the actual files themselves.

    I couldn't even design a program unless you have first done the requirements. You don't pick the code and then decide to learn it and how you are going to do it because there is no guarantee that it will work.

    By starting with what you need (the requirements) then you 'derive' and analyse the different languages and what they provide, as well as interaction with databases, and which opearating system they will reside on at the end point. ie windows or linux. You do not touch any code or start any design until after you know what you want. Its no different to building a house, you don't start with a bricklaying lesson if you need an arhitect.

    So why not hire the architect? Submit a job to GetAFreeLancer and get them to create a requirements document to find out what it is that you want. They will then look at the different sites you need to interact with. Put a job in with your budget in the $30 to $250 dollar bracket and if you don't like whats on offer cancel the job, you dont' have to pick someone if you don't want to.

    If you have a crawler then do they not provide API information for you to interact with. This will enable a software engineer to analyse what you need to get the job done. If you pay $50 for a requirements document then at least you know whether the job is doable or not. You could then pay a programmer to build the design.

    Much quicker and easier to get it done elsewhere, by the time you learn C++ and build something one year could have elapsed.

    I would have thought PHP was powerful enough. I have done some PHP but as I was C++, and used Borland C++ as my interface to C++, then I am not so up with Internet Applications. I created and wrote only desktop applications.

    Hope that helps.

    No, I don't do coding from home anymore. I quit when I quit my job 5 months ago. Its nice to be able to read and check code though when I pay for someone to do jobs. :-)

    Good luck.

    Denise
    Software Engineer
    {{ DiscussionBoard.errors[960605].message }}
  • Profile picture of the author geofftop
    "Much quicker and easier to get it done elsewhere, by the time you learn C++ and build something one year could have elapsed.

    I would have thought PHP was powerful enough. I have done some PHP but as I was C++, and used Borland C++ as my interface to C++, then I am not so up with Internet Applications. I created and wrote only desktop applications. "

    Good comment, if you don't know the language in the first place there will be a steep learning curve. Well php is kind of like c their are many differences, I would say the similarities are superficial at best. Also you will have to communicate directly with whatever OS your using, so you will need to learn a new compiler, a new language and a new operating system api.

    As the poster above said contracting out the job may be far easier, but if you have the ability to stick to a project for a while you may find it rewarding but beware its a lot of work.
    {{ DiscussionBoard.errors[961086].message }}
    • Profile picture of the author WayneBuckhanan
      Let me share my answer to the question as asked then wander off into the woods.

      Maybe I'm old school but if you really want to learn C++ (which is questionable from further posts) I suggest learning good ol' C to get the core syntax down and then adding in the ++ object aspect. Of course, I started with C and my PHP and Perl look a lot like C...

      Which brings me around to the underlying issue: the problem determines the tool. At the risk of being offensive, I suspect the problem in this case is behind the keyboard. Whether that is true or not the correct tool is the one that gets the job done while maintaining the programmer's virtues of laziness, impatience, and hubris. Don't learn new tools to solve problems the old tools can solve sufficiently well.

      From the little shared about the original problem I'd use Perl, but my weapon of choice is generally Perl so that is no surprise. Look for the libraries w/in your tool of choice and go from there.

      Hope that helps (someone since the original poster seems AWOL).
      {{ DiscussionBoard.errors[962560].message }}
  • Profile picture of the author Tracey_Meagher
    On the subject of learning C++

    There are some really good open source tools which don't have the learning overhead of the Visual Studio Express environment. Also, the whole GUI thing can take away from understanding the core concepts in C++. It's good to note that a lot of c++ code is not of the visual kind. C++ is used to write code to run servers, write operationg systems, computer netwok software, and game engines. All of which require no gui work at all!

    As already mentioned earlier Code::Blocks Code::Blocks is a fantastic IDE.
    For strictly learning C++ you could check out C++ Annotations (C++ Annotations | Get C++ Annotations at SourceForge.net)
    'The C++ Annotations poject offers an extensive tutorial about the C++ programming language. It can be used as a textbook for C++ programming courses.'
    Also, ZinjaI - "a multi platform IDE for programming in C/C++ aimed to be used in classroom for learning C++, with strong emphasis in debugging information as an educational resource".
    If you want to do web stuff with the power of C++, then you could do worse than try out cppserv : Total Knowledge: CPPSERV
    It's been around since 2005, with active development, so don't be put off by its low version number.
    If MS VC++ or C# is your thing, then try sharpdevelop www.sharpdevelop - SharpDevelop @ic#code
    sharpdevelop is lighter than Visual Studio and easier to work with initially, it also supports VB, Boo and IronPython


    On a final note, I agree with an earlier post that suggested learning Python or another scripting language as a first 'real' language. However, if you intend to become a 'real' pogrammer, it's definitely worth the effort at some point to learn c or c++. It's just a bit harder to learn C++ first, and with scipting environments it is possible to see the results of your efforts almost immediately.
    {{ DiscussionBoard.errors[999041].message }}
  • Profile picture of the author jeffsolochek
    Regarding platform dependancy Look at Netbeans.org they are a WYSIWYG editor for many languages including Python, JAVA, C#, VB, etc...Plus NetBeans offers some great training in both Video and Text documentation and the forum is highly active
    Signature

    Jeff Solochek
    http://www.jeffreysolochek.com/blog
    http://www.networkcelebrity.com

    I also build blogs for companies and individuals

    {{ DiscussionBoard.errors[1000972].message }}
  • Profile picture of the author pbennett
    C# is now standard in the industry. I wouldn't waste my time unless there's something really specific you need C++ for.
    {{ DiscussionBoard.errors[1006966].message }}
    • Profile picture of the author DataGoRound
      Originally Posted by pbennett View Post

      C# is now standard in the industry. I wouldn't waste my time unless there's something really specific you need C++ for.
      Microsoft thought that with Vista too, then dropped most of the C# code and went back to C++ for its release.

      I think you'll find language usage graphs around the net that show C++ is still a very capable language and used language, with probably the widest variety of proven libraries out there. Plus C++ is a great language for writing extentions to PHP.

      The strong typed nature of C++ as compared to PHP might give you fits at first, but the learning curve will not likely be long.
      {{ DiscussionBoard.errors[1011757].message }}
  • Profile picture of the author zain654321
    The best tutorial I ever seen is

    Learn C++ -
    {{ DiscussionBoard.errors[1008366].message }}
  • Profile picture of the author garyk1968
    Probably because when it comes to writing an OS you need to compile to native code rather than run it interpreted via IL. I would agree that its use is still probably quite high but there are plenty of other languages that dont have the learning curve of C++ and are still strongly typed, Delphi and Java are two that spring to mind straight-away. In fact with Delphi it can do everything C++ can, the only thing C++ offers over Delphi is multiple inheritance and operator overloading.

    So getting back on track and has been stated above why learn c++??
    {{ DiscussionBoard.errors[1012328].message }}
  • Profile picture of the author aleksander
    if you want to learn C++ i suggest you take a course there are parts that you will need someone to help you and understand certain code.. believe me.. there are a lot of good books but a teacher is better !
    {{ DiscussionBoard.errors[1013202].message }}
  • Profile picture of the author Ciara Mac Mahon
    I second that, can you find a local course? It might allow you to get your feet wet in a supported environment & decide if you really want to get stuck in? It's quite a large language to learn and to really benefit from more advanced features you'd need a good bit of experience with it.
    {{ DiscussionBoard.errors[1014884].message }}
  • Profile picture of the author ryanstreet
    No Matter what you use, make sure you stay platform independent. 3/4 of all books that teach VC++ teach you how to build the visual stuff before the code and don't focus nearly as much on the language itself.

    Stay independent. Don't get pinned down into one operating system. Especially Since Google's new Operating system, (Chrome) will be coming out next year. GET READY!!!

    I hope this helps.
    Signature
    Ryan Street
    PHP Developer Specializing in WordPress and Magento
    {{ DiscussionBoard.errors[1028099].message }}
  • Profile picture of the author thatsfine
    Originally Posted by seofreaks2009 View Post

    HI,
    I am a PHP guy. Now I want to learn C++. Anyone guide me to start it...?
    I am also a php guy and also way to learn C++ but i have not read any good tutorial yet.

    Thanks
    Signature
    {{ DiscussionBoard.errors[1063873].message }}
  • Profile picture of the author Peter Temp
    I have basic knowledge in C++ but its been years I am not doing program in this language, so I too want to re learn the language, with the blogger replies I got lots of resources. Thanks
    {{ DiscussionBoard.errors[1082175].message }}
  • Profile picture of the author uday1583
    Well, since that you're already a programmer, it will be easy for you to learn new language. There is a lot of free tutorial you can find in the net. Good luck.
    {{ DiscussionBoard.errors[1126248].message }}
  • Profile picture of the author jumboa7
    I would suggest you read this free book from Bruce Eckel. You can search "bruce c++" on google.

    I love C++. It is very lean (sometime a bit mean also). I would suggest you start with fundamental of C++ such as object oriented. It is difficult but after you can understand the concept, you can apply it to many programmin language.

    HTH
    {{ DiscussionBoard.errors[1126330].message }}
  • Profile picture of the author netalab
    Hey man. Do you have a good foundation in data structures? If not, make it a good one, next is OOP, then the actual language (C++). Proprietary language like VC++ has an advantage if you are targeting only a single platform, if not, you can use Eclipse as the IDE and MinGw (you can choose other compilers) as the compiler. Ok?

    As of now, i am a little bit disappointed in java because APIs are limited especially if your application requires a vendor specific execution. Been in java for 4 years now, especializing in modularization using OSGi and J2EE. Now i am starting to review my C language knowledge. Hehe.
    Signature
    Netalab, Inc., bringing quality health products direct to you!
    <Contact Us><About Us><Articles><FAQ>
    Add me on |Twitter|MySpace|Facebook|
    {{ DiscussionBoard.errors[1151135].message }}
  • Profile picture of the author varun21
    According to me. U first learn C And tahn after C++ . If u are a programer in php than i suggeted to Learn C which is foundation of Programing .You can take tutorial from the W3school.com of C,C++. Best of Lucky.
    {{ DiscussionBoard.errors[1172214].message }}
  • Profile picture of the author seyamco
    i think Wrox Ivor Hortons Beginning Visual C Plus Plus 2008 is the best book
    for learning C++
    {{ DiscussionBoard.errors[1174275].message }}
  • Profile picture of the author VASEO1
    i can teach you c++ can you teach me php in return
    {{ DiscussionBoard.errors[1187769].message }}
  • Profile picture of the author seogirl
    Banned
    Read This Book - LET US ''C'' - YASHWANT KANETKAR. Learn C first and then move on to C++
    {{ DiscussionBoard.errors[1188085].message }}
  • Profile picture of the author ericmartinez
    STOP!!!!!!

    You are going to learn C++ to create a crawler?

    No! No! No! No! No!

    and no again!

    The only reason you need C++ for your own tools is if you are writing system level software, drivers, or accessing hardware. For IM purposes, you will not.

    Sure people have been helping you out, they do a quick google and link you to an article. That doesn't really help.

    C++ is an entirely different beast than PHP. You will waste your time and effort.

    What should you do instead?

    Instead you should pick a language that will work with you rather than against you such as Ruby, Python, Perl, or Java.

    Here is the breakdown:

    1. Ruby - Hands down the best language for tool development. Ruby gets out of your way. It is the easiest language to use. Is not a pain in the ass about data types, syntax, type-safety, and all the things that suck in C++. Runs on all operating systems and your code is entirely portable. It is interpreted so your same script will run without modification anywhere. I use it to make all of my own crawlers, scrapers, SEO tools, and more. It is great for screen scraping. Highest recommendation!
    2. Python - Python is another awesome language. Gets out of your way. Strong library base. Interpreted, runs everywhere. Would recommend as well.
    3. Perl - Perl is awesome as well. See Python description. VERY strong library base. I would recommend Python over Perl since it is easier to learn.
    4. Java - Java is very similar in syntax to C++. Very strong library base and can incorporate C++ dll's easily. Strong visual development language.
    5. Visual C# - Access to Microsoft .NET. Very similar in syntax to Java. Great for Windows only application development.
    6. Visual Basic - Don't waste your time, it has been replaced by Visual C#
    7. C++/Visual C++ - The longest way to develop a program. You will be confined to Windows if you use Visual C++. You will run into many issues as it is just the nature of the language. It takes so long just to do anything that it is a waste of time. I love C++. It has it's place. IM is not the place for C++. Everything you want to do would be done quicker by one of the above languages.
    If you need a crossplatform GUI then don't go for Ruby.
    This is what I was able to do in Ruby in a few hundred lines of code.
    1. Scrape a certain page for keywords
    2. Perform SEO analysis on keyword
    3. If the competition is weak it will find content from Youtube, blogs, and news
    4. Submit to a blog via Wordpress RPC
    5. Modify the All-In-One-SEO SQL data for that post to get the best on-page optimization
    6. Automatically submit the bookmark to many social bookmarking services for backlinks.
    A few hundred lines. In C++ that would take a good programmer at least a week. A decent one, weeks. I came up with the idea at 10PM one night pulled an all nighter and had it done by the morning. That is the power of dynamic, out of the way languages like Ruby and Python.
    {{ DiscussionBoard.errors[1190339].message }}

Trending Topics