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++ Anyone?

C++ Anyone?

Scheduled Pinned Locked Moved The Lounge
csharpc++architecturequestion
47 Posts 16 Posters 6 Views 1 Watching
  • 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.
  • S Stuart Dootson

    Is true. C++ templates are pretty simple IF you consider the use cases possible with C# generics. Go beyond that (with templates) and you'd better now what you're doing! But as most developers use, rather than write templates, it's a moot point really.

    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

    G Offline
    G Offline
    Gary R Wheeler
    wrote on last edited by
    #32

    Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor. I've seen heavily-templated code that was close to unreadable because the author was so entranced with doing everything via templates.

    Software Zen: delete this;
    Fold With Us![^]

    S 1 Reply Last reply
    0
    • C CaptainSeeSharp

      I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

      Fall of the Republic[^]

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #33

      My current project, The Big New Thing™ is actually a mix. The front end application is C#/WPF, and the back end services are C++/MFC. Previous products were pure C++/MFC. The front end UI was vastly more involved to program than the new one has been. As always, pick the appropriate tool for the job.

      Software Zen: delete this;
      Fold With Us![^]

      1 Reply Last reply
      0
      • G Gary R Wheeler

        Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor. I've seen heavily-templated code that was close to unreadable because the author was so entranced with doing everything via templates.

        Software Zen: delete this;
        Fold With Us![^]

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #34

        Gary R. Wheeler wrote:

        Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor

        Course they can. Anything can. OO, inheritance - they could be substituted for 'templates' in that sentence. But there's a difference between library code, which has a desire to be maximally reusable, and application code, which doesn't have that requirement. I'm quite happy to use libraries like Boost, which use templates like they were going out of fashion, but write that code? Na, not so much (although I have done at times when I needed to).

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        G 1 Reply Last reply
        0
        • C Christian Graus

          If you want to do that, you'd do better to learn objective C and program for the Mac. I can't imagine how C++ is competitive in the Windows world outside of niche markets. Why would something that takes longer to work with, make you competitive. ( FWIW, I love C++, but the reality is, things like WPF are the future for Windows )

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #35

          Christian Graus wrote:

          I can't imagine how C++ is competitive in the Windows world outside of niche markets

          There are TONS of software out there written in C++. Software that is still being extended. Hardly "niche" markets.

          -- Kein Mitleid Für Die Mehrheit

          G E 2 Replies Last reply
          0
          • B Brady Kelly

            You might spell it with one 's'. It's the Afrikaans plural for a poes. The translation is not KSS, but I'm sure any young Afrikaans girls that might read this can hold their own.

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

            Not sure what KSS is (being of an age when TLAs tend to confuse me)! I'll ask my Afrikaaner daughter-in-law about poes, unless it's a really obscene word. :^)

            G A 2 Replies Last reply
            0
            • S Stuart Dootson

              Gary R. Wheeler wrote:

              Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor

              Course they can. Anything can. OO, inheritance - they could be substituted for 'templates' in that sentence. But there's a difference between library code, which has a desire to be maximally reusable, and application code, which doesn't have that requirement. I'm quite happy to use libraries like Boost, which use templates like they were going out of fashion, but write that code? Na, not so much (although I have done at times when I needed to).

              Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #37

              I've occasionally written template code, and you're right. I believe most of the time I've used it in general-purpose code rather than 'application' code. I also agree with your estimation of the Boost libraries. I've used Boost.RegEx in one project. Those developers are the intravenous heroin addicts of the programming world.

              Software Zen: delete this;
              Fold With Us![^]

              1 Reply Last reply
              0
              • J Jorgen Sigvardsson

                Christian Graus wrote:

                I can't imagine how C++ is competitive in the Windows world outside of niche markets

                There are TONS of software out there written in C++. Software that is still being extended. Hardly "niche" markets.

                -- Kein Mitleid Für Die Mehrheit

                G Offline
                G Offline
                Gary Kirkham
                wrote on last edited by
                #38

                Same thing's true of FORTRAN, but it is a niche market.

                Gary Kirkham Forever Forgiven and Alive in the Spirit The men said to them, "Why do you seek the living One among the dead? He is not here, but He has risen." Me blog, You read

                1 Reply Last reply
                0
                • L Lost User

                  Not sure what KSS is (being of an age when TLAs tend to confuse me)! I'll ask my Afrikaaner daughter-in-law about poes, unless it's a really obscene word. :^)

                  G Offline
                  G Offline
                  Gary Kirkham
                  wrote on last edited by
                  #39

                  google knows all[^]

                  Gary Kirkham Forever Forgiven and Alive in the Spirit The men said to them, "Why do you seek the living One among the dead? He is not here, but He has risen." Me blog, You read

                  1 Reply Last reply
                  0
                  • L Lost User

                    Not sure what KSS is (being of an age when TLAs tend to confuse me)! I'll ask my Afrikaaner daughter-in-law about poes, unless it's a really obscene word. :^)

                    A Offline
                    A Offline
                    Anthony Mushrow
                    wrote on last edited by
                    #40

                    Richard MacCutchan wrote:

                    I'll ask my Afrikaaner daughter-in-law about poes, unless it's a really obscene word.

                    You might want the check on google with define:poes before you do that.

                    My current favourite word is: Delicious!

                    -SK Genius

                    Game Programming articles start -here[^]-

                    L 1 Reply Last reply
                    0
                    • J Jorgen Sigvardsson

                      Christian Graus wrote:

                      I can't imagine how C++ is competitive in the Windows world outside of niche markets

                      There are TONS of software out there written in C++. Software that is still being extended. Hardly "niche" markets.

                      -- Kein Mitleid Für Die Mehrheit

                      E Offline
                      E Offline
                      Ed Poore
                      wrote on last edited by
                      #41

                      Don't forget the embedded world, sure it's not the desktop yet it's still a huge market and certainly not "niche".


                      I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder

                      1 Reply Last reply
                      0
                      • A Anthony Mushrow

                        Richard MacCutchan wrote:

                        I'll ask my Afrikaaner daughter-in-law about poes, unless it's a really obscene word.

                        You might want the check on google with define:poes before you do that.

                        My current favourite word is: Delicious!

                        -SK Genius

                        Game Programming articles start -here[^]-

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

                        Just did that, thanks for the warning! I note that it's basically the same usage as (one of the uses of) English pussy :~

                        1 Reply Last reply
                        0
                        • C CaptainSeeSharp

                          I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

                          Fall of the Republic[^]

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

                          I love C++ and recently started using the Qt framework - you can compile your apps for Windows, Linux and the Mac (plus some other platforms) and the framework is superb. There is even a free IDE called Qt Creator that I cannot recommend highly enough. Download Qt and give it a spin - you won't regret it. http://qt.nokia.com/[^] http://qt.nokia.com/products/developer-tools/developer-tools[^] Another excellent Windows framework is WTL - it's completely template based and is built on top of ATL. It's close to the metal - think of it as a layer above from a pure Win32 app. The documentation is lacking and the learning curve is steep, so if you're starting from scratch I personally think that Qt would your best bet.

                          Blogging about Qt Creator

                          modified on Sunday, October 4, 2009 2:05 PM

                          M 1 Reply Last reply
                          0
                          • B Brady Kelly

                            Why are people down-voting CSS on this post? You might think he's a poes on the SoapBox, but a totally legitimate developer question should not attract down-votes. You people can often be such small minded poesses. (Sorry if I didn't spell that right)

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

                            I agree - it was a perfectly reasonable question and down-voting it just because of the posters history is just petty.

                            Blogging about Qt Creator

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              If you want to do that, you'd do better to learn objective C and program for the Mac. I can't imagine how C++ is competitive in the Windows world outside of niche markets. Why would something that takes longer to work with, make you competitive. ( FWIW, I love C++, but the reality is, things like WPF are the future for Windows )

                              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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

                              Niche markets? You're joking right? I'll bet you my house than more of the apps I have installed on my home PC are written in C or C++ than they are .NET. :) Don't believe me? How about the following for starters (I have icons for them all on my home desktop): Google Chrome iTunes uTorrent Spotify Picasa Google Earth OpenOffice VLC Media Player Adobe Reader Notepad++ IrfanView WinAVI Easy CD-DA These are all niche apps right? I still like using C++ simply because I have much more control over dependencies. FWIW I write a combination of desktop and server apps that are installed on tens of thousands (perhaps more) of PCs worldwide and I'll tell you now that if I had to insist on a certain release of .NET to make this possible it would be highly unpopular (a deal-breaker in some cases - there are a lot of old PC's out there.) Niche? Sorry but that's just ridiculous.

                              Blogging about Qt Creator

                              1 Reply Last reply
                              0
                              • C CaptainSeeSharp

                                I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

                                Fall of the Republic[^]

                                M Offline
                                M Offline
                                Mike Diack
                                wrote on last edited by
                                #46

                                Yup. I'm one such person. The syntax of Managed C++ and C++/CLR are both a mess, and like C# itself, are initially temptingly enough to C++ to make you think. "Yes this is good". But, they're annoyingly different enough, plus the screwy syntax of the .net C++ variants screws up a lot of existing tools. C# I can imagine is good for prototyping ideas, but I wouldn't want to use it full time. To me it feels I've lost control of things - plus the countless versions and huge run times are a serious pain for distributing.... Mike

                                1 Reply Last reply
                                0
                                • L Lost User

                                  I love C++ and recently started using the Qt framework - you can compile your apps for Windows, Linux and the Mac (plus some other platforms) and the framework is superb. There is even a free IDE called Qt Creator that I cannot recommend highly enough. Download Qt and give it a spin - you won't regret it. http://qt.nokia.com/[^] http://qt.nokia.com/products/developer-tools/developer-tools[^] Another excellent Windows framework is WTL - it's completely template based and is built on top of ATL. It's close to the metal - think of it as a layer above from a pure Win32 app. The documentation is lacking and the learning curve is steep, so if you're starting from scratch I personally think that Qt would your best bet.

                                  Blogging about Qt Creator

                                  modified on Sunday, October 4, 2009 2:05 PM

                                  M Offline
                                  M Offline
                                  Mustafa Ismail Mustafa
                                  wrote on last edited by
                                  #47

                                  I wish you'd write more often...

                                  If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                                  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

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups