Quote:
Originally posted by Loriel
In C++ you can have a function like Int that will set a foo = 5.5 to 5 if you do Int(foo);. No need for for foo = Int(foo);.
|
Yeah, defining function types is a plus in my eyes. Although this topic is not really about C++, when a function has to return a string value, you define the function as
string? I haven't learned fully about strings yet but I like to stay ahead of everyone.