Adblock breaks this site

Converting an integer to a constant?

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

  1. -------owned-------

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

    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0
    Converting an integer to a constant?

    Yesh please. I need to do this.
     
  2. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    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
    Converting an integer to a constant?

    Post the code and what error you're getting.
     
  3. -------owned-------

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

    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  4. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    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
    Converting an integer to a constant?

    Declare it as const int?
     
  5. -------owned-------

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

    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0
    Converting an integer to a constant?

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


 
 
Adblock breaks this site