Results 1 to 8 of 8

Thread: C++ then VC++

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    13

    C++ then VC++

    If I am very good in C++, can I immedately start using VC++ without any school going or taking tutorial, or is there a bunch of things that I need to know. Please help!

  2. #2
    Addicted Member HairyDave's Avatar
    Join Date
    Aug 2002
    Location
    Er...I can't remember.
    Posts
    196
    You should be fine. I used to program in C at University. The programs had to be platform independant as they had to run on either Windows or Linux (which was what was in the labs).

    I never used to use VC++, but after a couple of years at Uni, I got VC++ and programmed that way.

    You can do all you normally do (I think) but there are some extras, and VC++ 6 isn't too good with templates.

    Parksie or CornedBee could give you more complete answers if you're looking for them.

    HD

  3. #3
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    There is a misconception that VC++ is a "more advanced language" than C++, or that VC++ is C++ with "visual" extras.

    This is wrong: C++ is a language. VC++ is a C++ compiler and IDE.

    If you're learning C++, you can use any C++ compiler as long as you know how to use it... VC++ is pretty easy to use. Make sure the project type is "Win32 Console" (this will make programs that can use cout/printf, which are usually taught at the beginning).

    The problem with VC++ is that it doesn't fully comply with the C++ standard. While this isn't a problem in most cases, it can be annoying when encountered, and using advanced templates with VC++ can be a real pain.

    VC++ 7 (which is what I like to call VC++.NET, since I don't develop in .NET) is the most standard-compliant version of VC++.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    But still not as compliant as gcc 3.x. But gcc is for UNIX systems and you need Cygwin or good knowledge of gcc internals to get it running on windows.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    13
    How can I create buttons, menus, combo boxes etc in VC++ such as how easy I do in VB but adding in form?? How is it done in VC++, I dont know where to locate a form and all the tools, buttons like VB? Pls Advice?

  6. #6
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    not sure but i think though pure code and/or resources
    \m/\m/

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can very easily design dialogs in VC++ (go to Insert->Resource and choose dialog) but you have to code the dialog procedure manually. In normal windows you have to create all controls with code, CreateWindow or CreateWindowEx are the most important functions there.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    ...whereas when using dialogs, the important functions are DialogBox[Param] and CreateDialog[Param].

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width