C++ .net

This is a discussion on C++ .net within the C++ Programming forums, part of the General Programming Boards category; Merry Christmas Everybody, Can anybody recommend a good C++ .net book? Thanks RocketMan...

  1. #1
    Registered User RocketMan's Avatar
    Join Date
    Dec 2007
    Posts
    28

    C++ .net

    Merry Christmas Everybody,

    Can anybody recommend a good C++ .net book?

    Thanks

    RocketMan

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,756
    Just heads up, but most will discourage you to use C++ .NET / CLI / CLR or whatever to call it. It's a vendor lock-in, supported only by Microsoft.
    I would recommend you to use C# or just native C++.
    Keep that in mind, if you didn't already.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    796
    You mean that we can make real windows programs (not console) without C++ .net?

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,756
    Of course you can. All thousands of applications (including) games out there are native C++ and not .NET.
    I don't know why anyone would think of such an absurd thing. Console apps are mostly for beginners and for CLI-type apps.
    Last edited by Elysia; 12-27-2007 at 11:19 AM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,884
    Yes, e.g., with the Windows API.

    Console apps are just for beginners.
    You may get spanked by a couple of people here for saying that, you know
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    796
    Wow thats so cool , i thought we were condemned to use C++ .net.
    The reason maybe that every beginner thinks that way is that no c++ book mention it.
    They all speak of c++.net when talking about windows programming.

    And what compiler should we use for it?
    In the book where i learned c++, it said that Dev-c++ not so good for it.
    Last edited by Ducky; 12-27-2007 at 10:23 AM.

  7. #7
    Registered User
    Join Date
    Dec 2007
    Posts
    37
    hey I am new to C++ but I use dev-C++ and it works great and oe thing I lov about it is that it automaticaly compiles it to a executable.(they may all do that but I dont know sry) I have used other languages where the compiler makes you like rename and all this other jusnk just to make an executable. But with dev-C++ it is just as simple as making the program work and compiling it.

  8. #8
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,756
    All C++ compilers do that (and all C compilers too).
    Last edited by Elysia; 12-27-2007 at 11:20 AM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Registered User
    Join Date
    Jan 2007
    Posts
    89
    if you are really interested in using a cross-platform compiler, I would suggest code::blocks, this compiler also comes with nightly builds.
    IIRC dev-cpp isnt supported anymore. And if your using dev-cpp mainly for the devpaks, you can also use those with code::blocks.

    http://codeblocks.org

    oops...
    code::blocks is a cross platform IDE, it supports GNU GCC (MinGW/Cygwin), MS Visual C++ Free Toolkit 2003, Borland's C++ Compiler 5.5, DigitalMars Free Compiler., OpenWatcom and Small Device C Compiler (SDCC).
    Last edited by eaane74; 12-27-2007 at 11:24 AM.

  10. #10
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,884
    And what compiler should we use for it?
    In the book where i learned c++, it said that Dev-c++ not so good for it.
    What's it? Windows programming with otherwise standard C++, or Windows programming with C++/CLI?

    All C++ compilers do that.
    And Dev-C++ is not a C++ compiler

    if you are really interested in using a cross-platform compiler, I would suggest code::blocks, this compiler also comes with nightly builds.
    Code::Blocks is not a compiler either
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  11. #11
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,756
    Quote Originally Posted by laserlight View Post
    Yes, e.g., with the Windows API.


    You may get spanked by a couple of people here for saying that, you know
    Board didn't save my edit :/
    It should be
    "Console apps are mostly for beginners and for CLI-type apps."

    Beginners do console apps simply because it hides the complexity of doing windowed applications. Beginners concentrate mostly on the language before moving on to making real applications.

    Quote Originally Posted by laserlight View Post
    And Dev-C++ is not a C++ compiler
    Grrr. Same again.
    Board didn't save my quick edit. Have to do full edit to submit the edit.
    Last edited by Elysia; 12-27-2007 at 11:22 AM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,656
    So Elysia, if you have a complicated idea you want to test out, do you throw it straight into your main application, or perhaps start a separate (and simple) console project to get an understanding of exactly how it works (and debug it).

    I know I do the latter.

    GUI isn't further up the "evolutionary tree" of programming. It's just another API.
    Plus there are plenty of other GUI interfaces to play with, not just win32 or .net.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  13. #13
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,756
    Quote Originally Posted by Salem View Post
    So Elysia, if you have a complicated idea you want to test out, do you throw it straight into your main application, or perhaps start a separate (and simple) console project to get an understanding of exactly how it works (and debug it).
    Of course, the later. I usually do a simple console app.

    GUI isn't further up the "evolutionary tree" of programming. It's just another API.
    Plus there are plenty of other GUI interfaces to play with, not just win32 or .net.
    Agreed. I'm not implying they are the only either.
    But GUI if "further up the 'evolutionary tree'" in that it isn't easy. There are a lot of things to understand, there are platform issues, the code rarely works the way you want it, requires a lot of time to investigate, debug, and so on.
    Usually, books deal with console apps to learn the actual language before starting into the world of GUI, which is a little more complicated. The idea with any language is to learn it properly first and then move on to making real world applications.

    Just as you do, when I want to try something, I usually use a new console project or an existing project that suits my needs so I don't have to waste time trying to fix things that aren't related to what I want to do, or try.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by Ducky View Post
    And what compiler should we use for it?
    Visual Studio is a virtual standard when writing Windows software. Here's the free version: http://www.microsoft.com/express/download/

  15. #15
    Registered User
    Join Date
    Dec 2007
    Posts
    796
    @Laserlight
    "What's it? Windows programming with otherwise standard C++, or Windows programming with C++/CLI?"
    Im sorry i dont even know what youre talking about.
    How many c++ programming exist?
    I thought there were two, either console or windows application.
    Now im completely confused.

    @cpjust
    I have Visual Studio but i thought it was c++.net.
    Last edited by Ducky; 12-28-2007 at 12:06 AM.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. migrate from .Net 2.0 to .Net 3.0
    By George2 in forum C# Programming
    Replies: 3
    Last Post: 07-25-2007, 04:07 AM
  2. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 12:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM

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