Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 719789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:41:03+00:00 2026-05-14T05:41:03+00:00

I need to learn C++ in order to learn building Nokia WRT and or

  • 0

I need to learn C++ in order to learn building Nokia WRT and or maemo application.
I need to know what gotchas and what aspect of C++ that I need/have to learn or focus more.
One thing I got in my mind is that C++ doesn’t have garbage collector. Therefor, I need to focus on variable type. But, is there any others that really important and I can’t ignore it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:41:04+00:00Added an answer on May 14, 2026 at 5:41 am

    Main gotcha is to try to envisage C++ in terms of how it differs from PHP or Java.

    Sorry, it just doesn’t work like that. C++ differs from those languages in almost every important respect beyond the syntax for arithmetic. Sometimes the differences are subtle. You need to learn it fresh, and not think that something that’s appropriate to do in PHP or Java will work well for you in C++.

    That said, common difficulties include:

    • resource management: RAII; implementing copy constructors, destructors and operator=; avoiding having to implement copy ctors, dtors, operator=.
    • understanding what references, pointers, values and automatic variables are.
    • avoiding undefined behaviour (myarray[i] = i++; is a favourite). PHP and Java are both more “tightly” defined languages than C++: firstly the behaviour of a program is more likely to be defined and hence reliable. Because of this, separate implementations are more similar than C++ implementations. It’s pretty easy to write a program in C++ that doesn’t just do the wrong thing, it does wildly different things on different runs, including crashing, corrupting data, etc.
    • learning to safely and effectively use templates, multiple inheritance, operator overloading, and other features you’re not familiar with.
    • correct idioms for throwing and catching exceptions (throw by value, catch by reference, don’t throw out of a destructor).
    • writing portable code (understanding the difference between what the standard guarantees, and what isn’t guaranteed but that your implementation happens to do. implementation-defined behavior such as the sizes of fundamental types).
    • C++’s standard libraries are limited compared with Java or PHP. You will be using non-standard libraries as well. For instance, Maemo uses GTK+ and/or Qt. Often the answer to “how can I do X in C++” is, “you can’t do it using only standard C++, you need platform-specific APIs or a portable library compiled for your system”. X can be graphics, sockets, regular expressions, multi-threading, XML handling, crypto. Especially with mobile platforms you need to keep an eye on OS versions, things can and will change under you from time to time.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I totally understand that in order to learn javascript I need to know how
I am building my own blog in order to learn rails3. Need my URLs
I need to learn ADO.NET to build applications based on MS Office. I have
I need to learn about Postgresql. I'm trying to branch an application framework which
I need to learn more about creating setup projects from within Visual Studio to
I need to learn RegEx but don't have time to figure this out right
I can do a few things with PowerPoint, but I need to learn more
I have a C++ Windows application that can be extended by writing C++ plugins,
I have a need to learn MVC 3 with the Razor view engine and
I am trying to learn about MapField in Blackberry and I need to know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.