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 Visual C?

C# Or Visual C?

Scheduled Pinned Locked Moved The Lounge
c++questioncsharpdelphilinux
35 Posts 18 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.
  • J Joseph LeBlanc

    Fazlul Kabir wrote: The .property way (aka Delphi/VB way ) of programming is not specific to C# language. You can perfectly have that feature, including other RAD (Rapid Application Development) /CBD (Component Based Development) features in C++ too. Check Capitolsoft's RadVC and Borland's C++ Builder for proof. How widely used are these tools though compared to Microsofts? Looking at this from a career point of view, would it be better to learn to use Microsoft tools (if they are the defacto-standard)? Or is this not really an issue? Joseph LeBlanc

    F Offline
    F Offline
    Fazlul Kabir
    wrote on last edited by
    #22

    Joseph LeBlanc wrote: Or is this not really an issue? Perhaps I should use a disclaimer of shameless plug before I start answering your question. In terms of the followings, you're right, they are no way close to the same of Microsoft's product. In terms of technology, things are a bit different. Though BCB works with Borland's proprietory VCL component framework, RadVC's framework is a MFC extension library that emulates the one used by VB and now C#/.NET. Thus there is no new learning curve you have to master, you will be programming in C#/.NET way, and your code will be compiled in VC++ using MFC framework. // Fazlul


    Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

    1 Reply Last reply
    0
    • Z Zyxil

      Since you're 18 and like programming, you probably want to pursue it as a career. You can make applications that do any of the things that you want with either C# or C++ (except you can't really play with COM with C#, but the CLR does the things that COM does in different ways). The .net platform is MS's target programming environment for the foreseeable future, it is where they will be placing their focus and $$$. Corporate and private shops will make the switch, it is even rumored that the .net framework is in w2k sp3, the next os releases will definitely include it. There will be work for both platforms (managed vs. unmanaged code) for many years yet, but it will probably become easier to stay employed by focusing on C#. __ One important thing: It doesn't really matter what language you choose. The larger issues with professional programming have to do with design. Learn Object Oriented Design. Learn the basics about more than one modeling language (start with UML). Learn to code to popular coding standards. The language is job skills 101, the more advanced topics are what will really make you a professional. -John

      Brian C HartB Offline
      Brian C HartB Offline
      Brian C Hart
      wrote on last edited by
      #23

      My -- albeit simplistic -- advice, is just to learn whatever programming languages you possibly can, such as VB, C#, C++, and so forth. Explore making example programs and features just for the heck of it, get libraries and other tools you can afford, and become an expert in something that catches your interest. That way, you have a nice big bag of tricks for when you start your career. :) Sincerely Yours, Brian Hart "And that's the news from Lake Wobegon, where all the women are strong, the men are good-looking, and the children are above-average." - Garrison Keillor

      1 Reply Last reply
      0
      • N Nemanja Trifunovic

        ****Christian Graus wrote: in case M$ manages to kill C++, which I am sure is their aim, :suss: And what are they going to use to make next Windows, Office, IE, etc? Even .Net was coded with C++. I vote pro drink :beer:

        M Offline
        M Offline
        Mustafa Demirhan
        wrote on last edited by
        #24

        And windows is mostly coded with C, not C++. Does that mean that C is the best language for our purposes? ;P ;P Kind regards Mustafa Demirhan http://www.macroangel.com Sonork ID 100.9935:zoltrix

        1 Reply Last reply
        0
        • J Joseph LeBlanc

          Hello, I'm a hobby programmer, I'm 18 and I've been programming for the past 4 years or so. I started out with Turbo Pascal 7 on dos, then moved to linux and c, and now I have a growing interest in windows programming (i've since abandoned linux as a desktop os and moved to win2k/xp). Unfortuneatly I'm not quite sure where to begin programming on windows. I've used visual c++ 6 to make a few programs, just some simple dialog apps and an SDI app or too. Nothing overly complicated. However C# has made me curious. I like the idea of a language that has the power of c++ and ease of use of vb however I'd like to learn what's going on "under the hood" of windows. I find the biggest problem I have when I'm trying to accomplish something in VC++ is the task seems to be trivial but I have no idea of exactly what I'm looking for so I spend more time trying to find an example of some sort and when I finally do, it usually doesn't work (I find unless you know what your doing the MSDN is rather useless, and I don't know what I'm doing most of time :)). So my question is what would be better to begin learning? Visual C++ or C#? Joseph LeBlanc,

          P Offline
          P Offline
          philip andrew
          wrote on last edited by
          #25

          Write in C#, and write a peer-to-peer computer programming language where all the classes and methods are avaiable on a peer network. Everyone can reference anyone elses class and we can all build a giant class hierachy ! Cheers, Philip

          1 Reply Last reply
          0
          • F Fazlul Kabir

            ****Christian Graus wrote: M$ manages to kill C++, which I am sure is their aim Here comes the conspiracy theory, again.. // Fazlul


            Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

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

            You mean a statement of the blatantly obvious ? They didn't *need* Stanley Lippman to impliment the standard, X3J16 is publically available to anyone. They needed him to *look* like they were trying to finally fix VC. And why, if not to hedge their bets if C# fails ? To put it another way, why would M$ create C# if they want us to keep using C++ ? Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

            Sonork ID 100.10002:MeanManOz

            I live in Bob's HungOut now

            F 1 Reply Last reply
            0
            • C Christian Graus

              You mean a statement of the blatantly obvious ? They didn't *need* Stanley Lippman to impliment the standard, X3J16 is publically available to anyone. They needed him to *look* like they were trying to finally fix VC. And why, if not to hedge their bets if C# fails ? To put it another way, why would M$ create C# if they want us to keep using C++ ? Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

              Sonork ID 100.10002:MeanManOz

              I live in Bob's HungOut now

              F Offline
              F Offline
              Fazlul Kabir
              wrote on last edited by
              #27

              Honestly, I'm not aware of any MS inside info, nor do I know of any secret memo from Mr. Gates being circulated to development teams to execute / slaughter C++ in Redmond campus, but here is why I think MS is not out to kill C++. (1) MS has a huge C++/Win32 customer base and they don't want to make them upset. If anything MS is good at is a solid understanding of software business practices, and they've learned it in hard way. (2) MS needs C++ for there own legacy software development. Most of the major MS apps including Office was written using C/C++. (3) It's true that they will be spending more and more resources on .NET /C# initiative, but my guess is power developers will always need native C++. Think about the trend that happened in the last 18 months or so since .NET was announced. We've heard from so-called *industry experts* again and again C++ will die in 2 years. Well, guess what, C++ is still alive and thriving. Again, it's my own guess. I can only wish if that is what happening in Redmond. // Fazlul


              Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

              1 Reply Last reply
              0
              • C Christian Graus

                VisualSee wrote: >>in case M$ manages to kill C++<< I doubt that. Microsoft has one of the most popular implementations of C++. Get rid of that and I'm sure they'll have a lot of unhappy developers on their hands. You're living in a fantasy. Here are the facts. 1/ Microsoft has one of the WORST C++ compilers in terms of compliance with the standard 2/ Microsoft are releasing a new language, which no-one actually *needs*, after losing a court case with Sun and thus no longer shipping Java 3/ Microsoft is in pursuit of monopoly. 4/ They have hired a guy known in the C++ world to 'oversee' standards conformance, and he is writing books on C# and taking the road to train people in C#. It's clear they are making an each way bet, but the future is C#, baby. No more annoying cross platform apps, no more annoying standards that they cannot conform to, and change will be gradual. Already the most lemming like developers are ditching C++, more will follow. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

                Sonork ID 100.10002:MeanManOz

                I live in Bob's HungOut now

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

                While going through job adds and applying I found one wanting experience in VB.NET, C# and other .NET technologies. This was posted the day after VS.NET was available to MSDN subscribers. They will of course get a lot of gurus applying for the job. I was not one of them. Michael Martin Australia mmartin@netspace.net.au "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

                1 Reply Last reply
                0
                • J Joseph LeBlanc

                  Hello, I'm a hobby programmer, I'm 18 and I've been programming for the past 4 years or so. I started out with Turbo Pascal 7 on dos, then moved to linux and c, and now I have a growing interest in windows programming (i've since abandoned linux as a desktop os and moved to win2k/xp). Unfortuneatly I'm not quite sure where to begin programming on windows. I've used visual c++ 6 to make a few programs, just some simple dialog apps and an SDI app or too. Nothing overly complicated. However C# has made me curious. I like the idea of a language that has the power of c++ and ease of use of vb however I'd like to learn what's going on "under the hood" of windows. I find the biggest problem I have when I'm trying to accomplish something in VC++ is the task seems to be trivial but I have no idea of exactly what I'm looking for so I spend more time trying to find an example of some sort and when I finally do, it usually doesn't work (I find unless you know what your doing the MSDN is rather useless, and I don't know what I'm doing most of time :)). So my question is what would be better to begin learning? Visual C++ or C#? Joseph LeBlanc,

                  J Offline
                  J Offline
                  Jamie Nordmeyer
                  wrote on last edited by
                  #29

                  If you really want to learn what goes on under the hood of Windows, the best way is to write a few programs without the help of MFC, meaning straight Win32 API calls in C (or C++ with your own classes). MFC Hides many of these calls. For example, when you handle the OnPaint event (WM_PAINT) in MFC, you use a CPaintDC object to paint to. This object calls BeginPaint and EndPaint in its constructor and destructor, respectively, which are both required to properly paint to the GDI. Programming for real in straight C is both brave and time consuming, but it's a great way to what MFC or similar class libraries are doing in the background. Jamie Nordmeyer Portland, Oregon, USA

                  1 Reply Last reply
                  0
                  • J Joseph LeBlanc

                    Paul Watson wrote: You have confused me thoroughly... excellent. ;) Well, I mostly just want to be able to write windows applications that can actually do stuff, like play with COM, networking, or anything else cool but I also want to be able to really play with the OS. I don't really like VB because it hides away too much of what's going on. So I guess I want a little bit of both worlds :) Joseph LeBlanc

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #30

                    Do both in parallel. Do C# on Mondays, wednesdays and Fridays Do VC++ on tuesdays, thursdays and saturdays Learn ATL on sunday. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                    1 Reply Last reply
                    0
                    • P Paul Watson

                      Fazlul Kabir wrote: Paul Watson wrote: Age does not mean anything." I guess Chris was referring to the amount of resources that are built over the last 22 years or so in C++. *throws my hands up in the air* I should have put a more explicit humour alert in my post than the chinese proverb bit. 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 Martin Marvinski wrote: Unfortunatly Deep Throat isn't my cup of tea Do you Sonork? I do! 100.9903 Stormfront

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #31

                      Paul... Is someone else using your sonork ID? I tried msging but got no response. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                      P 1 Reply Last reply
                      0
                      • N Nish Nishant

                        Paul... Is someone else using your sonork ID? I tried msging but got no response. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

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

                        Nish [BusterBoy] wrote: Is someone else using your sonork ID? I tried msging but got no response. The guys back in Cape Town are probably messing with my PC again. Sonork loads on startup. We are pretty open though back in the office but if you get a funny reply through sonork before the 3rd of Feb it is not me. 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 Martin Marvinski wrote: Unfortunatly Deep Throat isn't my cup of tea Do you Sonork? I do! 100.9903 Stormfront

                        1 Reply Last reply
                        0
                        • B Brigg Thorp

                          If you can afford it, I'd suggest getting a copy of VS.NET. DOH! Insert shameless Microsoft plug here!!! :) Brigg Thorp Software Engineer Timex Corporation

                          E Offline
                          E Offline
                          Eric Gunnerson msft
                          wrote on last edited by
                          #33

                          No, I think shameless would be something like: "Professional developers will find that Visual Studio .NET provides a seamless development experience and enhanced productivity through integrated debugging and intellisense when creating such leading edge features as XML Web Services". Seriously, I do think having VS.NET makes learning C# much much easier.

                          1 Reply Last reply
                          0
                          • N Nemanja Trifunovic

                            ****Christian Graus wrote: in case M$ manages to kill C++, which I am sure is their aim, :suss: And what are they going to use to make next Windows, Office, IE, etc? Even .Net was coded with C++. I vote pro drink :beer:

                            V Offline
                            V Offline
                            VisualSee
                            wrote on last edited by
                            #34

                            Nemanja Trifunovic wrote: And what are they going to use to make next Windows, Office, IE, etc? Even .Net was coded with C++. Good point! It's good to dabble in C# now and become proficient at it, however C++ isn't going anywhere. Most desktop applications are written using C and C++. As an aside, I'd take C# or C++ over Java anyday -- Java has turned into a bloated mess.

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              VisualSee wrote: >>in case M$ manages to kill C++<< I doubt that. Microsoft has one of the most popular implementations of C++. Get rid of that and I'm sure they'll have a lot of unhappy developers on their hands. You're living in a fantasy. Here are the facts. 1/ Microsoft has one of the WORST C++ compilers in terms of compliance with the standard 2/ Microsoft are releasing a new language, which no-one actually *needs*, after losing a court case with Sun and thus no longer shipping Java 3/ Microsoft is in pursuit of monopoly. 4/ They have hired a guy known in the C++ world to 'oversee' standards conformance, and he is writing books on C# and taking the road to train people in C#. It's clear they are making an each way bet, but the future is C#, baby. No more annoying cross platform apps, no more annoying standards that they cannot conform to, and change will be gradual. Already the most lemming like developers are ditching C++, more will follow. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

                              Sonork ID 100.10002:MeanManOz

                              I live in Bob's HungOut now

                              V Offline
                              V Offline
                              VisualSee
                              wrote on last edited by
                              #35

                              ****Christian Graus wrote: You're living in a fantasy. Here are the facts. Facts? I think you are a little confused bud. I never mentioned compliance, I just said that the compilers implementation was quite popular. Geesh.

                              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