int data = 10;
int main()
{
double data = 25.0;
cout << data << endl; //You see 25
cout << ::data << endl; //You see 10
}
http://www.picproje.org/index.php/topic,35908.90.html
http://bytes.com/topic/c/insights/737451-case-against-global-variables
Hiç yorum yok:
Yorum Gönder