0
votes
Vote UpVote

On the Pointers and References

The Programming Works – A Reference is a distinct concept in C/C++ languages. The next code sample (MinGW GCC compiler was used) #include <iostream> int main() { int Value; int &ValueRef = Value; Value = 2; std::cout << "Value: " << Value << "\n"; std::cout << "ValueRef: " << ValueRef << "\n"; ValueRef = 3; std::cout << "Value: " << Value << "\n"; std::cout << "ValueRef: " << ValueRef << "\n"; return 0; } declares ...
Favorite? Off-Topic? Serg @ 2013-04-03 10:44

Statistics

Visits: 905
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)