This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / Jabber's Q(2):C++ gurus: please enlight me. What is the
difference between "const int* x" and "int const* x"? I aked some experts around me
and they gave me conflicting answers.
-jabber(jabber);
2000-9-14
{173}
(#8610@0)
-
maybe so late. but i also want to know if it's right.
-guest:zack;
2000-11-3
{575}
(#13097@0)
-
Yes, they are the same....const int* x is easier to understand. int const* x can bring some confusion. Such things are academic. In job interviews, some interviewer like to use such things to test if the candidate really has hands-on experiences.
Thanks for your comments.
-jabber(jabber);
2000-11-4
{252}
(#13149@0)
-
这种语法问题, 以后还识别问了吧, 层次太低了一点.
-guest:guest;
2000-11-4
(#13152@0)
-
It looks trivial, but it's fundamental and sometimes do affect your work.People may not be able to remember the spelling of all the function and class names, but for the basic principle of a language, it's good to understand it thoroughly.
-sailor(Sailor);
2000-11-4
{167}
(#13155@0)
-
Pundit, please improve your Chinese and then post your opinion here.I found that your Chinese spelling is problamatic. If you really are a descent person, please show respect
for others. By the way, if you think you are a descent person, don't post your junk in guest's name. Sorry for offending you.
-jabber(jabber);
2000-11-4
{238}
(#13156@0)