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. New to C++

New to C++

Scheduled Pinned Locked Moved The Lounge
csharpc++databasesql-serversysadmin
17 Posts 9 Posters 0 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.
  • R Offline
    R Offline
    rcVu
    wrote on last edited by
    #1

    Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

    P R C C R 5 Replies Last reply
    0
    • R rcVu

      Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. My advice would be, based on those fields you specified, to go for C#, not C++. However this largely depends on whether you think you can persuade your clients to upgrade to .NET were needed. Also best way to learn is to use MSDN, websites, places like CP and making your own sample apps. Books are great as references but IMHO not the best for starting out. VB, (yeah... I know not a real program) VB is good at what it does, don't knock it :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001

      1 Reply Last reply
      0
      • R rcVu

        Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #3

        I think you should focus on your spelling. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

        R 1 Reply Last reply
        0
        • R rcVu

          Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

          C Offline
          C Offline
          Caleb Groom
          wrote on last edited by
          #4

          If databases are your thing (SQL Server does rox0r my box0rs :-O), I would start out with C#. I'd recommend finding a good book though. Most C++ programmers can fish through the documentation and be okay, but newcomers will probably have a problem. As somebody has already mentioned, if you are going to distribute your programs you will have some issues getting your customers to install .NET. But for in-house programs it is a breeze. __________________________ do { cout << "I will never use = when I mean == " << endl; } while (i = 1)

          1 Reply Last reply
          0
          • R realJSOP

            I think you should focus on your spelling. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

            R Offline
            R Offline
            rcVu
            wrote on last edited by
            #5

            I wrote a program in LotusScript (Yeah, I use notes as my mail client), and it takes care of checking the spelling, and alerting me of "any" possible errors, and it does this without me having to do anything. Well, I've got so used to it, that I never check or even think about checking the spelling anymore. This sucks when I’m typing on the web, (Hotmail does have a spell checker). I wish this site had one. Anyways, last I’ve checked, so long my job works, and my databases keep running nobody cared about my spelling. I don't do the actual design of the front ends, or web pages, I drop controls on pages, and then the "other" people take care of making it look pretty. I just make sure they work. Dammed the people that made Laptop keyboards.

            R C 2 Replies Last reply
            0
            • R rcVu

              I wrote a program in LotusScript (Yeah, I use notes as my mail client), and it takes care of checking the spelling, and alerting me of "any" possible errors, and it does this without me having to do anything. Well, I've got so used to it, that I never check or even think about checking the spelling anymore. This sucks when I’m typing on the web, (Hotmail does have a spell checker). I wish this site had one. Anyways, last I’ve checked, so long my job works, and my databases keep running nobody cared about my spelling. I don't do the actual design of the front ends, or web pages, I drop controls on pages, and then the "other" people take care of making it look pretty. I just make sure they work. Dammed the people that made Laptop keyboards.

              R Offline
              R Offline
              realJSOP
              wrote on last edited by
              #6

              If more people took the time to ensure that their spelling and grammar were correct, there would most likely be a lot fewer problems online. Relying on someone or something else to do your spell checking for you is just laziness. Spelling correctly should not be your only concern. Proper syntax and usage is just as important (an aspect of the language that is not verified by a spell checker). It's a royal pain in the ass to come across something that isn't spelled correctly, or that contains incorrect grammar, because I have to sit there and back up to see what the person was actually trying to convey. Source code can be the same way. I came across a variable called "delimeter" in a string parsing class, and my first thought was that I didn't even know they had an official unit measurement for sub sandwiches. Of course, the programmer meant to type "delimiter", but he was simply too lazy to correct his mistake. So you see, spelling does matter, even (and especially) when you're writing source code. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

              G _ 2 Replies Last reply
              0
              • R rcVu

                Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                I'd recommend you buy a good book on C# ( I disagree with Paul, I find books the best way to learn, and sites like this a great way to find help when I get stuck. However, this just proves people are different and learn differently. ) I am buying the book Jesse Liberty wrote for O'Reilly myself. I would also suggest you use C# as a stepping stone to C++, unless you want to remain tied to only writing for Microsoft platform and tied to a proprietary language that 'protects' you from access to all sorts of stuff. I am going to learn it partly out of academic interest, partly out of blind fear that it will become dominant regardless of it's shortcomings because M$ is pushing it aggressively. I don't have *any* plans to use it commercially, in fact for my current work it is of no value at all. I'd need a pretty hefty reason to require my customers to install a CLR at this stage, although down the track if everyone has it, the way we safely assume most people have IE$+ now, then I might consider it for peripheral 'toy' apps that support our main one. Christian This space for rent.

                R 1 Reply Last reply
                0
                • R rcVu

                  I wrote a program in LotusScript (Yeah, I use notes as my mail client), and it takes care of checking the spelling, and alerting me of "any" possible errors, and it does this without me having to do anything. Well, I've got so used to it, that I never check or even think about checking the spelling anymore. This sucks when I’m typing on the web, (Hotmail does have a spell checker). I wish this site had one. Anyways, last I’ve checked, so long my job works, and my databases keep running nobody cared about my spelling. I don't do the actual design of the front ends, or web pages, I drop controls on pages, and then the "other" people take care of making it look pretty. I just make sure they work. Dammed the people that made Laptop keyboards.

                  C Offline
                  C Offline
                  ColinDavies
                  wrote on last edited by
                  #8

                  Look just a pointer rcVu, As I know you are new around here. Nobody answers back to John, it can be detrimental to your health and he'll start treating you like roger Best of luck. Regardz Colin J Davies P.S I need beta testers for VMTU.

                  Speed up your internet connection with VMTU

                  Variable Maximum Transfer Unit, or VMTU is an algorithm for negotiating the packet sizes passed from your Internet Service Provider (ISP) to your Internet TCP connection. The connection speed does not increase; the throughput of the modem is improved.

                  R 1 Reply Last reply
                  0
                  • C Christian Graus

                    I'd recommend you buy a good book on C# ( I disagree with Paul, I find books the best way to learn, and sites like this a great way to find help when I get stuck. However, this just proves people are different and learn differently. ) I am buying the book Jesse Liberty wrote for O'Reilly myself. I would also suggest you use C# as a stepping stone to C++, unless you want to remain tied to only writing for Microsoft platform and tied to a proprietary language that 'protects' you from access to all sorts of stuff. I am going to learn it partly out of academic interest, partly out of blind fear that it will become dominant regardless of it's shortcomings because M$ is pushing it aggressively. I don't have *any* plans to use it commercially, in fact for my current work it is of no value at all. I'd need a pretty hefty reason to require my customers to install a CLR at this stage, although down the track if everyone has it, the way we safely assume most people have IE$+ now, then I might consider it for peripheral 'toy' apps that support our main one. Christian This space for rent.

                    R Offline
                    R Offline
                    rcVu
                    wrote on last edited by
                    #9

                    Great pointers, thanks everyone. By reading a book, I didn't mean just reading it. I meant, building something, and referencing back to the book for help. All our computers have win2k, which makes it easier for me, and I don't foresee radical changes in the future. So I think, C# will be the path I'll take. Btw I can understand simple programs in C++, but I can't really write anything yet. That is why I though about starting up with C++, I just haven't had the chance to actually do it yet.

                    1 Reply Last reply
                    0
                    • R rcVu

                      Well I'm startin this new junery and I would like to hear (read?) about some things I should and shouldn't focus on. Basically, all my work do date has had to do with web development, and Databases (Sql server rocks). But now I would like to venture further down and check out what all this fuzz is about. Should I start learning C++, and a few months from now (hopefully months, and not years) call my self (in secret) the c++ king. Or should I start on C# and then call my self the C# king. What I want to do mostly is development with Databases (Did I say that SQL Server rocks?), front ends, maintenance programs (for my web apps), data retrivers, etc. If I were to start in C++, what books (I Hate teachers) should I buy and read from. Don't get me wrong, Im pretty good with math, extensive knowledge of VB, (yeah... I know not a real program), and for the most part able to add 2+2. any pointers will be helpfull. Thanks.

                      R Offline
                      R Offline
                      rob bakes
                      wrote on last edited by
                      #10

                      I'd say learn C++. The skill won't go astray and it should be easy to learn c# later if it takes off in a big way. If it doesn't you haven't wasted time. I'm going on a year and wouldn't say I've mastered it by any long shot because of it's depth and/or my stupidity, so good luck mastering it in a few months ! I recommend Scott Meyers 'effective c++' books.

                      1 Reply Last reply
                      0
                      • C ColinDavies

                        Look just a pointer rcVu, As I know you are new around here. Nobody answers back to John, it can be detrimental to your health and he'll start treating you like roger Best of luck. Regardz Colin J Davies P.S I need beta testers for VMTU.

                        Speed up your internet connection with VMTU

                        Variable Maximum Transfer Unit, or VMTU is an algorithm for negotiating the packet sizes passed from your Internet Service Provider (ISP) to your Internet TCP connection. The connection speed does not increase; the throughput of the modem is improved.

                        R Offline
                        R Offline
                        realJSOP
                        wrote on last edited by
                        #11

                        Not unless he *acts* like Roger. beisdes, I thought my posts regarding this issue were well-balanced, informative, and thoughtful, while still allowing me to inspire greatness through learning. How could I have failed in that endeavor? :) And if that approach doesn't work, then I'll mere stomp his head like a little red potatoe and make him wish he'd paid more attention to Webster *and* his damned dictionary. I now return you to your regularly scheduled chaos. Ladies, please back away from the goat - slowly. He's attracted to sudden movement. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                        1 Reply Last reply
                        0
                        • R realJSOP

                          If more people took the time to ensure that their spelling and grammar were correct, there would most likely be a lot fewer problems online. Relying on someone or something else to do your spell checking for you is just laziness. Spelling correctly should not be your only concern. Proper syntax and usage is just as important (an aspect of the language that is not verified by a spell checker). It's a royal pain in the ass to come across something that isn't spelled correctly, or that contains incorrect grammar, because I have to sit there and back up to see what the person was actually trying to convey. Source code can be the same way. I came across a variable called "delimeter" in a string parsing class, and my first thought was that I didn't even know they had an official unit measurement for sub sandwiches. Of course, the programmer meant to type "delimiter", but he was simply too lazy to correct his mistake. So you see, spelling does matter, even (and especially) when you're writing source code. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                          G Offline
                          G Offline
                          George
                          wrote on last edited by
                          #12

                          Man, what a bunch of nonsense! If more people took the time to ensure that their spelling and grammar were correct, there would most likely be a lot fewer problems online. Well, if more online "applications" took care to provide the spell and grammar checker... Relying on someone or something else to do your spell checking for you is just laziness. Yeah! So, let's trash all the computers that do a job for us and let's just everybody simply work hard. Spelling correctly should not be your only concern. Proper syntax and usage is just as important (an aspect of the language that is not verified by a spell checker). Well, that just proves that a spell checking technology has a lot of work to do. It's a royal pain in the ass to come across something that isn't spelled correctly, or that contains incorrect grammar, because I have to sit there and back up to see what the person was actually trying to convey. No, I think it rather gives you opportunity to bash people for no reason. Otherwise just go to the next post and everybody will be happy. So you see, spelling does matter, even (and especially) when you're writing source code. That proves as well that source code editors should have a spell checking as well.

                          R 1 Reply Last reply
                          0
                          • R realJSOP

                            If more people took the time to ensure that their spelling and grammar were correct, there would most likely be a lot fewer problems online. Relying on someone or something else to do your spell checking for you is just laziness. Spelling correctly should not be your only concern. Proper syntax and usage is just as important (an aspect of the language that is not verified by a spell checker). It's a royal pain in the ass to come across something that isn't spelled correctly, or that contains incorrect grammar, because I have to sit there and back up to see what the person was actually trying to convey. Source code can be the same way. I came across a variable called "delimeter" in a string parsing class, and my first thought was that I didn't even know they had an official unit measurement for sub sandwiches. Of course, the programmer meant to type "delimiter", but he was simply too lazy to correct his mistake. So you see, spelling does matter, even (and especially) when you're writing source code. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                            _ Offline
                            _ Offline
                            _Magnus_
                            wrote on last edited by
                            #13

                            An "ego-checker" should be good for some people.... /Magnus

                            R 1 Reply Last reply
                            0
                            • G George

                              Man, what a bunch of nonsense! If more people took the time to ensure that their spelling and grammar were correct, there would most likely be a lot fewer problems online. Well, if more online "applications" took care to provide the spell and grammar checker... Relying on someone or something else to do your spell checking for you is just laziness. Yeah! So, let's trash all the computers that do a job for us and let's just everybody simply work hard. Spelling correctly should not be your only concern. Proper syntax and usage is just as important (an aspect of the language that is not verified by a spell checker). Well, that just proves that a spell checking technology has a lot of work to do. It's a royal pain in the ass to come across something that isn't spelled correctly, or that contains incorrect grammar, because I have to sit there and back up to see what the person was actually trying to convey. No, I think it rather gives you opportunity to bash people for no reason. Otherwise just go to the next post and everybody will be happy. So you see, spelling does matter, even (and especially) when you're writing source code. That proves as well that source code editors should have a spell checking as well.

                              R Offline
                              R Offline
                              realJSOP
                              wrote on last edited by
                              #14

                              > Man, what a bunch of nonsense! You're certainly entitled to that opinion. >> If more people took the time to ensure that their spelling and grammar were correct, there would >> most likely be a lot fewer problems online. > > Well, if more online "applications" took care to provide the spell and grammar checker... Wrong. >> Relying on someone or something else to do your spell checking for you is just laziness. > > Yeah! So, let's trash all the computers that do a job for us and let's just everybody simply work > hard. It isn't hard to spell and speak correctly - it simply requires a little effort in the form of checking your work. >> It's a royal pain in the ass to come across something that isn't spelled correctly, or that >> contains incorrect grammar, because I have to sit there and back up to see what the person was >> actually trying to convey. > > No, I think it rather gives you opportunity to bash people for no reason. Otherwise just go to > the next post and everybody will be happy. I don't bash anyone "for no reason", and I certainly don't think I was bashing the guy. If you think that was "bashing", you're either very new here, or you simply have the attention span of a gnat. >> So you see, spelling does matter, even (and especially) when you're writing source code. > > That proves as well that source code editors should have a spell checking as well. Oh yeah, that's practical. Such a spell checker would stop on pretty much everything you type that isn't a keyword. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                              G 1 Reply Last reply
                              0
                              • _ _Magnus_

                                An "ego-checker" should be good for some people.... /Magnus

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #15

                                > An "ego-checker" should be good for some people.... I want everyone to use this as an example. If you keep your sentence structure simple and your words to two syllables or less... To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                                1 Reply Last reply
                                0
                                • R realJSOP

                                  > Man, what a bunch of nonsense! You're certainly entitled to that opinion. >> If more people took the time to ensure that their spelling and grammar were correct, there would >> most likely be a lot fewer problems online. > > Well, if more online "applications" took care to provide the spell and grammar checker... Wrong. >> Relying on someone or something else to do your spell checking for you is just laziness. > > Yeah! So, let's trash all the computers that do a job for us and let's just everybody simply work > hard. It isn't hard to spell and speak correctly - it simply requires a little effort in the form of checking your work. >> It's a royal pain in the ass to come across something that isn't spelled correctly, or that >> contains incorrect grammar, because I have to sit there and back up to see what the person was >> actually trying to convey. > > No, I think it rather gives you opportunity to bash people for no reason. Otherwise just go to > the next post and everybody will be happy. I don't bash anyone "for no reason", and I certainly don't think I was bashing the guy. If you think that was "bashing", you're either very new here, or you simply have the attention span of a gnat. >> So you see, spelling does matter, even (and especially) when you're writing source code. > > That proves as well that source code editors should have a spell checking as well. Oh yeah, that's practical. Such a spell checker would stop on pretty much everything you type that isn't a keyword. To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                                  G Offline
                                  G Offline
                                  George
                                  wrote on last edited by
                                  #16

                                  You seem to cotradict yourself - you are complaining that it's a "royal pain in the ass" to read something spelled incorrectly yet you insist that a spell checker would not help to solve the problem? Also there are the spell checkers for the source code available already, the problem with "stopping" on everything doesn't seem to be occuring. See, the spell checker "knows" that it's the code it's dealing with and acts accordingly. In general you are on the lost ground here - spellcheckers are usefull and they do help to reduce or eliminate the problems you desribed.

                                  R 1 Reply Last reply
                                  0
                                  • G George

                                    You seem to cotradict yourself - you are complaining that it's a "royal pain in the ass" to read something spelled incorrectly yet you insist that a spell checker would not help to solve the problem? Also there are the spell checkers for the source code available already, the problem with "stopping" on everything doesn't seem to be occuring. See, the spell checker "knows" that it's the code it's dealing with and acts accordingly. In general you are on the lost ground here - spellcheckers are usefull and they do help to reduce or eliminate the problems you desribed.

                                    R Offline
                                    R Offline
                                    realJSOP
                                    wrote on last edited by
                                    #17

                                    No, I was implying that you shouldn't depend on a spell checker, nor even need one for day-to-day communications. Besides that, spell checkers are not infallible. You may spell "there" correctly, but what if you meant "their" or "they're". As far as the spell checker is concerned, you spelled it correctly, but it may be used incorrectly. There are many other examples to pick from - won, and one to, too, and two read and red no and know then or than (sounds slightly different but often transposed in use) new and knew right and write Add to that the possibility of merely stringing a bunch of words together - all spelled correctly but convey a completely different meaning than the author intended. So, a spell checker might be a good tool to have, but there's no replacement for simply knowing when and how to use a word. The "spell checker" for a piece of source code is the compiler itself. If you spelled a variable name incorrectly, it will flag the variable as not having been previously defined. Any other type of spell checker in a programming environment is pointless and a severe waste of memory. How can a spellchecker possible flag "delimeter" as a misspelled word? How does it know that you didn't want to spell it that way, especially if you defined it with such a spelling? To hell with those thin-skinned pillow-biters. - Me, 10/03/2001

                                    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