Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSGM Chat Hook
Re: SSGM Chat Hook [message #274705 is a reply to message #274697] Sat, 21 July 2007 11:10 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
MathK1LL wrote on Sat, 21 July 2007 13:29

GameObject * - Data type?
Donater - variable?

Blush Dont Get It

-MathK1LL



In c++ you must declare a variable before using it.

The variable name is whatever you decide to use. So you could say "gameobject *Some_really_long_unhelpful_name_that_doesnt_really_help;"
(actually i think theres a limit to the length of a variable name, but i cant remember what it is)
A variable is something you can think of as a bucket, and this bucket holds information, or rather, data. But it can only hold the type of data you told it to hold when you declared it.
The type data that you can store in it is defined by the data type.
Data types are for example: int, float, char, double, short, signed char etc etc, however you will see in renegade allot, the data type "gameobject *".



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3ds max 9 problem
Next Topic: Anti Alias without 3.4.1
Goto Forum:
  


Current Time: Mon Feb 10 22:49:15 MST 2025

Total time taken to generate the page: 0.00802 seconds