CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    3

    printf and int64

    Does anybody knows how to print an int64 using printf ?


  2. #2
    Join Date
    May 1999
    Location
    Wisconsin, USA
    Posts
    953

    Re: printf and int64

    There are two ways to change int64 to ASCII.

    _int64 numAmount;
    char textAmount[100];

    _i64toa( numAmount, textAmount, 10 );

    printf(textAmount, "%I64d", numAmount);




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured