Sunday, July 12, 2009

Question in C++??? help soon?

i was searching in the internet i found a tutorial that uses "cstdlib.h" header file they said that it is available in all the compilers i tried on turbo 3.0 and dev cpp builder latest version it doesn't worked they said this header file cannot be found please help me.

Question in C++??? help soon?
you can use stdlib.h
Reply:I tried that, but it still gave me the same errors!


'There is no namespace std'


'Missing identifier: string'


That is not the exact wording, but that is what it meant. Report It

Reply:Prepended header files with 'c' indicate the standardized ruling for using


the C runtime library (standard portions) with C++. Thus time becomes


%26lt;ctime%26gt; instead of %26lt;time.h%26gt;, %26lt;stdio.h%26gt; becomes %26lt;cstdio%26gt;, %26lt;stdlib.h%26gt; becomes


%26lt;cstdlib%26gt;, etc.
Reply:May be that tutorial is wrong. If they said that every version of all compilers has that header, that should be "stdlib.h" not "cstdlib.h".


If is really true try to search on the net what header is actually
Reply:mmmmmmmmmmmmmmmmmm........ i need to review my C++ programming!


No comments:

Post a Comment