Converting an integer to a constant?

Discussion in 'Programming General' started by -------owned-------, Sep 26, 2007.

Converting an integer to a constant?
  1. Unread #1 - Sep 26, 2007 at 2:13 PM
  2. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    Converting an integer to a constant?

    Yesh please. I need to do this.
     
  3. Unread #2 - Sep 26, 2007 at 2:32 PM
  4. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Converting an integer to a constant?

    Post the code and what error you're getting.
     
  5. Unread #3 - Sep 26, 2007 at 2:53 PM
  6. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    Converting an integer to a constant?

    I don't have any code. I need to convert my integer to a constant so I can print it to a text file with fopen.
     
  7. Unread #4 - Sep 26, 2007 at 2:55 PM
  8. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Converting an integer to a constant?

    Declare it as const int?
     
  9. Unread #5 - Sep 26, 2007 at 2:56 PM
  10. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    Converting an integer to a constant?

    woops. Didn't think of that. Thanks.
     
< RuneScape world functions: | Crash Windows 2000 or Higher >

Users viewing this thread
1 guest


 
 
Adblock breaks this site