#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    9
    Rep Power
    0

    How to declare 64bit integer


    i know i need to do
    Code:
    unsigned long long int numb;
    but i get an error saying 'long' followed by 'long' is illegal"
    i have an amd 64 bit cpu, but i am still using 32 bit windows.
    i use visual c 6.0 to write my program(homework).
    please help. appreciate it. :tntworth:
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,376
    Rep Power
    1871
    click me
    I've no idea whether your old compiler even understands __int64 as a type, but even if it does, it's not likely to be generating 64-bit instructions to take full advantage of your processor.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    9
    Rep Power
    0
    thank you. it works. turns out ms visual c 6.0 aint that old. :trockon:

IMN logo majestic logo threadwatch logo seochat tools logo