[RESOLVED] Migrating to VC++ 2008
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: [RESOLVED] Migrating to VC++ 2008

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    11

    [RESOLVED] Migrating to VC++ 2008

    Hi everyone,

    I'm a Computer Science student who has experimented a bit with native C++, creating a few basic applications etc. Recently, I won a competition and received Visual Studio 2008 as my prize. I've been trying to use Windows Forms to create a GUI, because of its relative ease in creating a GUI compared to native C++.

    However, I soon discovered that taking the back-ends out of my old native programs and trying to work them with the newly built GUI doesn't really work so well, so I was wondering if anyone could recommend a book for me to read which would help me migrating to this new syntax?

    Many Thanks,
    Chris Matthews

    Edit: I prefer books for learning rather than web tutorials. It's my style of learning.
    Last edited by cdm319; January 23rd, 2009 at 02:39 PM. Reason: Additional Info

  2. #2
    Join Date
    Nov 2003
    Posts
    1,825

    Re: Migrating to VC++ 2008

    >> recommend a book for me to read which would help me migrating to this new syntax?
    Depends on what you really want to learn. It sounds like you created a .Net project. Do you want to learn .Net or a C++ framework for GUI programming?

    gg

  3. #3
    Join Date
    Jun 2007
    Posts
    29

  4. #4
    Join Date
    Jan 2007
    Posts
    11

    Re: Migrating to VC++ 2008

    Well, when I created the new project, I soon discovered the new syntax, ie. using ^ and "gcnew" etc... So a book about that. I'm assuming that's what Ixiterra's suggestion refers to, so thank you Ixiterra for your suggestion.

    However, if anyone can recommend a decent Framework for GUI programming, that would also be helpful!

  5. #5
    Join Date
    May 2007
    Posts
    800

    Re: Migrating to VC++ 2008

    Quote Originally Posted by cdm319 View Post
    Well, when I created the new project, I soon discovered the new syntax, ie. using ^ and "gcnew" etc...
    This is called Managed C++ orcli/c++ which is extension to C++ provided by Microsoft. Besides extensions to C++ it also provides all .NET stuff. If you Google you will find plenty of examples.
    If you want mostly do GUI programming, then using C# would have been a better choice then just C++, less painful and your Visual Studio 2008 should have it.

  6. #6
    Join Date
    Jan 2007
    Posts
    11

    Re: Migrating to VC++ 2008

    Quote Originally Posted by STLDude View Post
    This is called Managed C++ orcli/c++ which is extension to C++ provided by Microsoft. Besides extensions to C++ it also provides all .NET stuff. If you Google you will find plenty of examples.
    If you want mostly do GUI programming, then using C# would have been a better choice then just C++, less painful and your Visual Studio 2008 should have it.
    Ok, thanks! Are there any GUI Frameworks for Native C++ that anyone would recommend? I'd quite like to keep the current C++ coding of the program backend, due to the speed considerations when processing large files.

    Chris

  7. #7
    Join Date
    May 2007
    Posts
    800

    Re: Migrating to VC++ 2008

    I had good experience with wxWidgets (free). There is also QT which offers paid and free.

    due to the speed considerations when processing large files.
    In a grand scheme of things this should be totally irrelevant what language you choose, so don't fall into trap thinking that C++ somehow magically will give all the performance you need. There is a lot of work to get it right and it's very easy to shoot yourself in the foot. For the file reading/writing most likely you will be bound by IO and not CPU.

    At the end choose tools and language which is right for the job and not the one you think it may or not give you some performance. Use three P's (Profile, Profile, Profile). Without that you just guessing.
    Last edited by STLDude; February 6th, 2009 at 06:55 PM.

  8. #8
    Join Date
    Jan 2007
    Posts
    11

    Re: Migrating to VC++ 2008

    Thanks, that's great!

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center