Switching to windows environment

This is a discussion on Switching to windows environment within the C Programming forums, part of the General Programming Boards category; I am quite familiar with C programming, but I have found very difficulty in switching to Visual C++. I want ...

  1. #1
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189

    Switching to windows environment

    I am quite familiar with C programming, but I have found very difficulty in switching to Visual C++. I want to switch to Visual C++ because I want my program to work in windows environment. Should I try vb instead of VC++?

    PS I don't have any experience in vb.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    C is fine for programming for windows. Treat yourself to Petzold's programming windows 5th edition and start learning the win32 api. All example code in that book is in c anyway. You do not need to know c++ to program for windows.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    I would skip VC++. and go straight to C#.Net if you wan't to do "windows" programming. VB is great for prototyping because the interfaces are easier to build and maintain than MFC, but it's kind of a dead end, because the language is so different from VB.Net that you have to relearn 50% of it anyway.

    If you have to do it on the cheap, then download the J2SE Java 2 standard edition and Swingset. (FREE) That's a whole development envirnoment with a lot of already done widgets (tree view, mdi forms, dialogs, etc) and it's the most portable.

    I know, I know, heresy to the entrenched status quo, but to me it's just a big toolbox. If someone else is paying the bill for the dev environment, then .Net it is for me. Esp if you're starting out, don't waste time with VC++. C# is vastly superior unless you're already a VC guru, then of course it's fatwa time for even mentioning it.

  4. #4
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    C# is 95-98% of the speed of C++, so as the previous poster said, you might want to use C#(surprisingly, visual C# outperforms GCC C).

  5. #5
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189
    I mean windows environment is like the button with minimize, maximize, close and that kind of. In C, that is very difficult to design and impossible to get like WinXP, rite? so C# gonna be included everything? Which place on the web is a good place to start for c#?

  6. #6
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    In C, that is very difficult to design and impossible to get like WinXP, rite?
    No not right. Read petzold. Search for information on MSDN. Visit the winprog.org tutorial. Programming for windows in c,once you know the api, is actually quite easy and yes you can make your windows look like xp's windows.
    Search the windows board. There are many examples of how to make a simple window in C that have already been posted.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  7. #7
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    Originally posted by Stoned_Coder
    No not right. Read petzold. Search for information on MSDN. Visit the winprog.org tutorial. Programming for windows in c,once you know the api, is actually quite easy and yes you can make your windows look like xp's windows.
    You may also choose to mow your lawn with nail clippers. That too is easy once you know how. Honestly, I learned ot do it in C, then C+ , then C++, then MFC, then C#, so I am absolutely, resolutely sure that it it BY FAR the easiest environment EVER for coding Windows applications is C#!

    However, anyone that is IN LOVE with the old horse n' buggy, we don't take kindly to folks usin' new fangled notions 'round here is free to remain locked in their shack in Montana, saying the only technology that matters is the pure technology from days of old. No Kool-Aid for me, thanks.

    I'm not ordering anyone into the next century, but if someone asks, I am free to say, yeah, use the NEW tools, they're great and not be *wrong* for saying so.

    I'm unsubscribing to this thread now. Bye.

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Honestly, I learned ot do it in C, then C+ , then C++, then MFC, then C#
    C+ huh? Surely you mean C+-

    Seriously, most windows programmers started off with SDK type programming while having an edition of Petzold's "Programming Windows" sitting open next to their computer.

    There's lots to learn, and dont think that not jumping into the "latest greatest" programming language/library/framework etc will hold you back.

    The main people who write books & decent articles on NET & C# are all pretty much masters of SDK programming and MFC and they usually have a back catalog of books on those subjects to prove it (Jeff Prosise, Jeff Richter, Dino Esposito and of course Petzold)

    You have to start somewhere! Learn & Enjoy

  9. #9
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,669
    Originally posted by MattFoley
    I'm unsubscribing to this thread now. Bye.
    Awww, he's gone back to his van down by the river...

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 03:44 AM
  2. Network Programming in C for Windows
    By m.mixon in forum C Programming
    Replies: 7
    Last Post: 06-19-2006, 08:27 PM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  4. Free compilers and Windows environment
    By AncientZygote in forum Windows Programming
    Replies: 11
    Last Post: 09-24-2003, 05:52 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

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