Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno
Options

Go back

Topic review (newest first)

mikau
2007-12-08 13:58:17

thanks, Ricky!

Ricky
2007-12-08 13:38:59

Actually, I had a similar idea way back when.  However, it was for the reverse direction.  The idea was to write a book, or perhaps a series of books.  It would assume knowledge of C++ and then teach only differences in syntax and structure.  The idea is that once you know a language, it really only takes 2-3 hours to become familiar with another.

I don't have any suggestions as of now, but I'll think about it some.

mikau
2007-12-08 12:56:49

Java is, in my opinion, a ridiculously easy language to learn. C++ on the otherhand, can be rather confusing for a while, and there are many more pitfalls and slight differences which are easy to overlook if you're used to using java.

But really the differences between C++ and java aren't that staggering in terms of essentials (am I not correct?)

what i'm thinking of doing is writing a short tutorial called C++ programming for java programmers. It would ignore all similarities and instead deal with the major differences. It would be a useful resource to me and perhaps other people.

note the tutorial would only assume you know java and teach you the essentials and not the whole of C++.

So what kinds of thing should I discuss? so far i intend to include:
• from reference variables to references and pointers
• from free store objects (always the case in java) to locally declared objects, pointers and references to objects, objects on the free store
• memory leaks
• arrays and strings
• multiple inheritance

any more suggestions?

Board footer

Powered by FluxBB