View Poll Results: What do you use with C++?

Voters
19. You may not vote on this poll
  • Win32

    11 57.89%
  • MFC

    2 10.53%
  • Qt

    1 5.26%
  • ATL

    0 0%
  • Something else

    5 26.32%

C++ and ...

This is a discussion on C++ and ... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I use MFC with Win32 when needed. A lot of GDI+ is not in MFC but I must say MFC ...

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    I use MFC with Win32 when needed. A lot of GDI+ is not in MFC but I must say MFC although not perfect is a far better approach to using the outdated, clunky Win32 API.

    If you can understand C++ then MFC is a snap. I can write a complete dialog app in a couple of hours as opposed to days with Win32.

  2. #17
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    .NET is better than MFC.
    .NET has nothing to do with C++

  3. #18
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Salem, I like GUI programs, because I don't like that when I download a program, I have to open command prompt and surf to the right folder and then read the help with -h option and start guessing how do I use it. But console programs can be done in a much shorter time, am I right?

  4. #19
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by Bubba
    I use MFC with Win32 when needed. A lot of GDI+ is not in MFC but I must say MFC although not perfect is a far better approach to using the outdated, clunky Win32 API.

    If you can understand C++ then MFC is a snap. I can write a complete dialog app in a couple of hours as opposed to days with Win32.
    Bubba, you really need to learn using copy and paste. Because these things are very useful when programming in Win32. I have made so many Win32 programs that whatever I want to do, I can just copy it from somewhere. So I can make Win32 programs very quickly.

    WIN32 API CANT BE OUTDATED BECAUSE IT IS THE ONLY API THAT WINDOWS USES.
    Tell me, I'm wrong.
    MFC IS based WinAPI, but just "tries" to "simplify" it.
    Last edited by maxorator; 09-10-2006 at 03:50 AM.

  5. #20
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,578
    Outdated in the productivity sense, I believe that's what Bubba meant.

    The MFC is a wrapper for the Windows API. It's arguable that it's a good one. However it is undeniable that you simply can't compete (assuming both have an equivalent level of proficiency. One in MFC, the other in straight API) with a MFC programmer as fast as development times are concerned. You simply can't, Max. Don't pursue this further.

    Don't put "try" in parenthesis. It makes you look ignorant. Because it succeeds in simplifying the API to a great extent.

    If you want you can say that the Windows API allows you a fine grain control over your GUI development. I can agree with that. But the power is not in using only the MFC or only the Windows API. However advocates that is nothing more than a mindless zealot with little knowledge on windows development. The power is in using both.

    Until you realize the merits of the MFC when compared to the windows API you will not progress much in windows development. Not at least to a level that makes you an interesting candidate for a software house. It's good you like the API. It's even better you are (hopefully) becoming proficient with it to the point of coding blindfolded. But ignoring the MFC, bashing on it, moving it to second plane and otherwise refusing to acknowledge its merits... is simply degrading you to the status of an ignorant.

    Sorry mate. Don't mean to offend you. Just trying to open your eyes. Take it as you may.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #21
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Until you realize the merits of the MFC when compared to the windows API you will not progress much in windows development
    Everything else, but this sentence, makes sense. MFC is simplification. You can still progress without using simplifications. Win32 API is exactly as good as you know, how to use it.

    If there are nothing, that forces me to use MFC, I will not use it. If I get a job, where I need to program using MFC, I will do it. But as long as it's not necessary, there's no point using it.

  7. #22
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,578
    > Everything else, but this sentence, makes sense

    Because its context is explained in the next sentence.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #23
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    Bubba, you really need to learn using copy and paste. Because these things are very useful when programming in Win32. I have made so many Win32 programs that whatever I want to do, I can just copy it from somewhere. So I can make Win32 programs very quickly.
    You copy/paste your code everytime you need a particular job? Why? Put your codes in some functions, put all functions in a header and use them. But there is no need to do so, Microsoft has done this for you. MFC.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  9. #24
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    MFC does not only consist of functions. If it would be just a collection of functions, there would be no problems with it. But it defines some freaky types, that are needed in the functions, it requires using huge pointless classes for everything etc. MFC is much more (or much less) that just a group of functions. It tries to change the whole interface of WinAPI.

  10. #25
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    If it would be just a collection of functions, there would be no problems with it. But it defines some freaky types, that are needed in the functions, it requires using huge pointless classes for everything etc.
    Of course you will have to use classes and new types when you are developing such a huge library.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  11. #26
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Win32 is clean and simple. Plus when everything is based on it, why use those things that are basically the same thing when I am satisfied with Win32 itself?

  12. #27
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,236
    Win32 is clean and simple. Plus when everything is based on it, why use those things that are basically the same thing when I am satisfied with Win32 itself?
    Who said you must use that? If you are comfortable with Win32, go on with it.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  13. #28
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    I like the Win32 API because it has "Win" in it. It makes me feel victorious.

    I like MFC because it has 3 letters. And 3 letters is easier to type.

    And so on...

  14. #29
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    Max what you are doing is that you draw everything to the extremes here, you say that "ok pure mfc is inferior to winapi", while that may be true (wont argue because I dont have enough experience coding these kind of apps), but mfc mixed with winapi will beat pure winapi. You say winapi is clean and simple, I say its bloated and utterly overcomplicated (probably has to be since its generic), its all a matter of personal taste but keep this in mind, it is always better to know how to do a task in 2 ways than in 1 way.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  15. #30
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    "it's all matter of personal taste" and "will beat pure winapi" don't really match.
    You can't say it beats something, because you're right, it's all matter of personal taste.

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21