64 bit programming questions

Discussion in 'Windows Server' started by D, Feb 11, 2006.

  1. D

    D Guest

    Is it true there is no command line in 64 bit windows? So if I had a basic
    c++ console app would I need to turn it into a windows form or mfc app? Is
    there such a thing as just a process with out a window or message switch
    simliar to a service but not one?

    Whats the largest data type and is long double still aliased to a double?

    Thanks
     
    D, Feb 11, 2006
    #1
    1. Advertisements

  2. Programming questions are generally off-topic in this forum, but I guess
    I'll answer both your general 64-bit questions and the more
    programming-related ones.

    For starters: There *is* a command line in 64-bit Windows. The only
    confusion is probably caused by the fact that a lot of people still make the
    connection "command line" <-> "MS-DOS". You can no longer run 16-bit code in
    the existing Win64 variations, no matter if it's DOS or Win16. cmd.exe is
    still alive and well. So is any 32-bit console application you will compile.

    Regarding data types, I think nothing has changed. There are, however,
    compiler intrinsics (not-quite functions resulting in optimized assembler,
    more or less) for overflowing multiplication of two 64-bit integers, for
    example. These make for a higher performance handling of integers over 64
    bits in size, but you will have to use library code for it, or roll your
    own. There is no __int128 directly available.

    /Carl
     
    Carl Nettelblad, Feb 12, 2006
    #2
    1. Advertisements

  3. D

    D Guest

    Sounds good, I can't wait to get a copy and start working with it, I need
    larger data types currently. I wonder if you need to buy a 64 bit compiler
    or if vs.net can compile for 64 with some switches set.

    Thank you!!
     
    D, Feb 14, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.