cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
my_comment_to:: in C++
my_comment_to:: in C++
Jul 8, 2010 at 7:16am UTC
chiwing
(154)
the invent of :: make coder to code more , and it is use to tell the sub-function is under which parent function.
may i ask do this legal in c++? :
sell::sub_sell::sub_sell_sell
Jul 8, 2010 at 7:31am UTC
helios
(17575)
Given the proper declarations appear before that point, yes. What constitutes a proper declaration depends on what sell, sub_sell, and sub_sell_sell are supposed to be, which I can't tell just from your example.
Topic archived. No new replies allowed.