Error while using __int64 ...

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

  1. kpoan

    kpoan

    Joined:
    Aug 15, 2006
    Messages:
    10
    Likes Received:
    0
    #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. Advertisements

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. ^CrazyCoder^
    Replies:
    3
    Views:
    7,670
    Terrence Benade
    Sep 15, 2003
  2. David
    Replies:
    1
    Views:
    637
    David
    Jul 19, 2004
  3. 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:
    519
    Victor Bazarov
    Jun 30, 2003
  4. Vivi
    Replies:
    2
    Views:
    6,354
    ES Kim
    Aug 25, 2003
  5. Tim Clacy

    __int64 vs. long long

    Tim Clacy, Nov 10, 2003, in forum: C++
    Replies:
    8
    Views:
    1,093
    Rolf Magnus
    Nov 10, 2003
  6. JR
    Replies:
    3
    Views:
    518
    Xenos
    Feb 5, 2004
  7. Matt Whelan

    SWIG and __int64

    Matt Whelan, Aug 14, 2003, in forum: Python
    Replies:
    2
    Views:
    705
    Matt Whelan
    Aug 15, 2003
  8. Jayesh

    format of double and __int64

    Jayesh, Nov 28, 2005, in forum: C Programming
    Replies:
    8
    Views:
    669
    Joe Wright
    Nov 29, 2005
Loading...