Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. C++ or just C ?

C++ or just C ?

Scheduled Pinned Locked Moved The Lounge
3 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Last week I bought a new Book, C++ by Bjarne Stoustrup! After som lurking in the book I found out that my C++ realy was C with some C++ :-/ Here I was thinking what a *good* C++ programmer I was and discovered that my skills are a bit lower! Am I the only one that feel that way? /Jarek Gibek

    C L 2 Replies Last reply
    0
    • L Lost User

      Last week I bought a new Book, C++ by Bjarne Stoustrup! After som lurking in the book I found out that my C++ realy was C with some C++ :-/ Here I was thinking what a *good* C++ programmer I was and discovered that my skills are a bit lower! Am I the only one that feel that way? /Jarek Gibek

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      it took me a long time to realize that using classes as C-style modules wasn't really OO. for me, things like inheritance and virtual functions took a long time to sick in; not that i didn't understand them, i just didn't utilize them when designing a class. for a long time, i would just stuff functions into general purpose utility classes. i think i'm a decent OO programmer now, but i still have no problem reverting to plain old C when i need to... those books have the same effect on me - they show the reader how to solve problems using elegant OO techniques. but the problems are often artificial (designed to illustrate the OO techniques). so, i just try to absorb as much of the techniques as i can, and hope i'll find a problem that needs them before they fade from memory... -c

      1 Reply Last reply
      0
      • L Lost User

        Last week I bought a new Book, C++ by Bjarne Stoustrup! After som lurking in the book I found out that my C++ realy was C with some C++ :-/ Here I was thinking what a *good* C++ programmer I was and discovered that my skills are a bit lower! Am I the only one that feel that way? /Jarek Gibek

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I have been noticing this too recently, and I haven't even gotten Bjarne's book yet! Surely when I do I will realize even more OO flaws. Are you a windows programmer? I am, and I think this contributes to my mixing of C and C++. Because the Windows api is C, C++ code for windows will always have a little C, unless you use wrapper classes (or MFC) for every little thing (do you really never use POINT instead of CPoint?). So I guess we can partially blame this one on Microsoft :-D

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups