Error while using __int64 ...

Discussion in 'C Programming' started by kpoan, Sep 8, 2006.

  1. kpoan

    kpoan

    Joined:
    Aug 15, 2006
    Messages:
    10
    #include<iostream.h>
    typedef __int64 fprint_t;
    main()
    {
    fprint_t one = ((fprint_t) 1) << 63;
    cout<<one;
    }

    While trying to run this program i got the following error..


    error C2593: 'operator <<' is ambiguous

    Any body help me...?
    kpoan, Sep 8, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Tsiombikas (Nuclear / the Lab)

    Re: Different results if compared as double or __int64?

    John Tsiombikas (Nuclear / the Lab), Jun 30, 2003, in forum: C++
    Replies:
    1
    Views:
    419
    Victor Bazarov
    Jun 30, 2003
  2. Vivi
    Replies:
    2
    Views:
    5,978
    ES Kim
    Aug 25, 2003
  3. Tim Clacy

    __int64 vs. long long

    Tim Clacy, Nov 10, 2003, in forum: C++
    Replies:
    8
    Views:
    810
    Rolf Magnus
    Nov 10, 2003
  4. JR
    Replies:
    3
    Views:
    370
    Xenos
    Feb 5, 2004
  5. Matt Whelan

    SWIG and __int64

    Matt Whelan, Aug 14, 2003, in forum: Python
    Replies:
    2
    Views:
    547
    Matt Whelan
    Aug 15, 2003
Loading...

Share This Page