Thread: Questions about VC++.NET

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    4

    Questions about VC++.NET

    hi,
    I am a visual basic programmer(beginner->intermediate) and I want to start using C++. I've tried various free C++ IDEs(like dev-c++) but I didn't find thisit may seem stupid) a design environment like visual basic has. I've tried Visual C++ Express 2005 Beta 2 and it had this environment but it builds .NET apps. So my (stupid)question does VC++.NET allow you to design(like visual basic does) C++ apps and then build them without using .NET?

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    Hi,

    but I didn't find a design environment like visual basic has
    With C++, there really is no design evironment. You essentially start with a blank page, and then you write all the code in C++ to make your program do what you want. So, to learn C++, you need to buy a beginning C++ book, and then spend a lot of time studying and writing simple programs that do very basic things. You are not going to be producing windows with forms and graphics, you are going to be learning how to display your name in a dos window, or read a file and display some numbers in a dos window.

    A lot of people recommend dev C++, so you have a good compiler.
    Last edited by 7stud; 07-30-2005 at 03:32 PM.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    4
    ok i knew that but: when you develop an C++ app and you write code to display a windows form and buttons/textboxes/listboxes/etc on it how do you where everything without actually seeing them drawn? you make quesses? this is what i mean: you write a code for a windows form, a button and a textbox. you want the textbox to be on the left of the form and the button some pixels below it. How do you know the position of each control in order to put in it's code? can you how your app will look before compiling it? ( i hope you understand what i mean)

  4. #4
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    If you want that, there exists a design environment.

    But if you're starting out with C++, there's no reason to do GUI stuff so soon.

  5. #5
    Registered User
    Join Date
    Jul 2005
    Posts
    4
    you said: "there exists a design environment"

    Do you mean in VC++ .NET?
    If yes, can I compile the app without the use of .NET crap?(like dependencies)

  6. #6
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    when you develop an C++ app and you write code to display a windows form and buttons/textboxes/listboxes/etc on it how do you where everything without actually seeing them drawn?
    Doing that is a more advanced form of C++ called "windows programming". You probably need to study C++ for about a year before moving into windows programming.

    My compiler is MS Visual C++ 6.0, and it has a resource editor specificaly designed for arranging buttons, text, textboxes, etc. on the page.

  7. #7
    Registered User
    Join Date
    Jul 2005
    Posts
    4
    ok thanks for your help. One last question:

    do the .NET flavors of Visual Studio let you built C++ apps without using the .NET framework?

  8. #8
    Registered User Bajanine's Avatar
    Join Date
    Dec 2001
    Location
    The most peaks over 10,000 feet!
    Posts
    396
    You don't have to use the .Net framework to build your apps.
    Favorite Quote:

    >For that reason someone invented C++.
    BLASPHEMY! Begone from my C board, you foul lover of objects, before the gods of C cast you into the void as punishment for your weakness! There is no penance for saying such things in my presence. You are henceforth excommunicated. Never return to this house, filthy heretic!



  9. #9
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    When you create your projects, choose one of the Win32 projects instead of a .NET project to avoid having the IDE automatically add the .NET framework stuff.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Difference in MSVC 6 & MS VC .Net
    By passionate_guy in forum C Programming
    Replies: 1
    Last Post: 01-23-2006, 06:39 AM
  2. Visual C++ .NET questions
    By XZminX in forum Windows Programming
    Replies: 4
    Last Post: 08-06-2005, 04:20 PM
  3. Porting code from VC++6 to VC .NET??
    By dug in forum C++ Programming
    Replies: 10
    Last Post: 01-31-2005, 11:42 AM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM