DiGiTaL commented on a Page, C++ variable use  -  Sep 15, 2008

Variable scoping problem here,

Why make x,y & z a global variable when you only need it within the function. You might as well do this in C not C++.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.