very simple question..I just cant remember

This is a discussion on very simple question..I just cant remember within the C Programming forums, part of the General Programming Boards category; Is the simple for a long integer %d?? A...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    63

    very simple question..I just cant remember

    Is the simple for a long integer %d??
    A

  2. #2
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    the simple integer
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    41
    I think long integer is %ld.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    212
    spark is right

    Code:
    long i = 40000;
    printf("%ld\n",i);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  2. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 08:46 AM
  3. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 11:15 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 05:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21