Thread: how to write c++ code so that transition between 32bit and 64bit will be minimal?

  1. #1
    Registered User
    Join Date
    Nov 2018
    Posts
    1

    how to write c++ code so that transition between 32bit and 64bit will be minimal?

    a detailed guide would be appreciated

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I think the detailed guide would be "write code that doesn't care about the architecture".

    If you're doing something low-level enough that it matters about the architecture, then you already know what the impact will be.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Are you writing an operating system or device driver? If not, you need not concern yourself with this.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing 32bit and 64bit programs
    By jim_0 in forum C++ Programming
    Replies: 1
    Last Post: 04-05-2014, 08:21 PM
  2. Why are my pointers/references 32bit and not 64bit?
    By Vic Webster Jnr in forum C++ Programming
    Replies: 6
    Last Post: 11-06-2012, 04:44 PM
  3. Making programs work on 64bit and 32bit machines?
    By inu11byte in forum C Programming
    Replies: 5
    Last Post: 08-07-2012, 12:21 AM
  4. 32bit - 64bit portability
    By l2u in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2007, 05:13 PM
  5. prog runs on 64bit - seg faults on 32bit
    By hollie in forum C Programming
    Replies: 13
    Last Post: 12-08-2006, 01:59 AM

Tags for this Thread