Re: why these errors?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/04/16 15:53, Jim Michaels wrote:
> 
> 
> On 4/20/2016 3:35 AM, Jonathan Wakely wrote:
>> On 19 April 2016 at 23:32, Jim Michaels wrote:
>>> also, how come algorithm's find() is not in namespace std? I have my own
>>> find function for strings, I need them separately addressable. please
>>> fix.
>>> thanks.
>> There's nothing to fix, I think you just don't understand how C++
>> works. Either you've got a using directive for namespace std, or
>> you're experiencing Argument Dependent Lookup again
>> (http://en.cppreference.com/w/cpp/language/adl).
>>
>> Please find a different mailing list or forum to learn how C++ works,
>> since your questions are not specific to using GCC. I recommend
>> stackoverflow.com
> haven't been able to afford the reference book yet. I avoid
> stackoverflow.com because it CC licenses your code examples and
> software. I can't have someone else licensing my code and copyrighting
> my code to own it. I consider that stealing.
> 

You can't expect the developers for a free C++ compiler to give you free
support on basic use of the language.  You cannot expect /anyone/ to
give you useful help if you are not willing to provide code samples
showing the issues you are concerned about (make minimal compilable
samples, changing function and variable names if you want to hide the
real code).  And you cannot expect anyone to help you if you make
complaints about the compiler or demands for implementation of extra
non-standard features.

Regarding basic C++ issues, Stack Overflow is probably the most
appropriate online resource for your questions.  You can also try the
C++ newsgroup comp.lang.c++, but they will also expect a good deal more
humility, as well as code samples that show the issues.  When you ask
questions in an appropriate manner, you will get a great deal of help
from C++ experts - but you have to play your part.

<http://www.catb.org/esr/faqs/smart-questions.html>




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux