What is a sub-script in C Programming!

This is a discussion on What is a sub-script in C Programming! within the C Programming forums, part of the General Programming Boards category; Hi,Guys can you explain to me what a sub-script is in C? Explanation with an Example would really be great. ...

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    18

    What is a sub-script in C Programming!

    Hi,Guys can you explain to me what a sub-script is in C?
    Explanation with an Example would really be great.

    Thanks,Guys!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,598
    My guess is that it refers to an array index. In what context did you see this term used?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    18
    Quote Originally Posted by laserlight View Post
    My guess is that it refers to an array index. In what context did you see this term used?
    heres a couple of lines
    ______

    char Name[25]
    Int i

    Name[i] //i is the sub-script

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,598
    Yes, you are looking at an array index, which means that you should learn about arrays.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script in games
    By Shakti in forum Game Programming
    Replies: 7
    Last Post: 09-27-2006, 12:27 AM
  2. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 10:30 AM
  3. how to implementate a registration script
    By TJa in forum C++ Programming
    Replies: 0
    Last Post: 10-28-2005, 02:33 AM
  4. Passing arguments to script.....
    By suwie in forum C Programming
    Replies: 5
    Last Post: 09-25-2004, 11:10 PM
  5. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM

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