PDA

View Full Version : مرجع برای کتابخانه های GCC



mr_esmaily
سه شنبه 08 فروردین 1385, 20:54 عصر
سلام
می خواستم بدونم مرجعی هست که این کتابخانه ها رو توضیح داده باشه یا باید بصورت موضوعی ( مثلاً شبکه ) دنبالش بگردم ؟
درضمن در لینوکس چجوری میشه مشخصات کلاس ها و توابع عضوشان ( آرگومانهای دریافتی ,مقادیر بازگشتی و ... ) در یک سرفایل (h.*) رو بدست آورد ؟

با تشکر.

Inprise
سه شنبه 08 فروردین 1385, 23:09 عصر
http://images.amazon.com/images/P/0072224053.01._BO2,204,203,200_PIsitb-dp-500-arrow,TopRight,45,-64_AA240_SH20_SCLZZZZZZZ_.jpg (http://www.amazon.com/gp/product/0072224053/104-1173516-7821519?v=glance&n=283155)

mr_esmaily
چهارشنبه 09 فروردین 1385, 13:27 عصر
سلام
از راهنماییتون ممنونم , نسخه ی الکترونیکی کتاب فوق رو تهیه کردم.
فقط یه چیزه دیگه ,در مورد مشخصات کلاس ها و توابع عضو که در بالا مطرح کردم , راهی هست ؟

galaxy.ice
چهارشنبه 09 فروردین 1385, 22:00 عصر
از دستور man استفاده کن.
مثلاman iostream.h
این کتاب عالیه
www.advancedlinuxprogramming.com ya net ya org!!!

mr_esmaily
چهارشنبه 09 فروردین 1385, 22:56 عصر
سلام

دستور man چیزی غیر از اطلاعاتی که توسط هر ادیتوری داده میشه , نسبت به اون فایل , در اختیار نمیزاره بعنوان مثال در فایل iostream.h

// Standard iostream objects -*- C++ -*-

// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option)
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.

// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.

//
// ISO C++ 14882: 27.3 Standard iostream objects
//

/** @file iostream
* This is a Standard C++ Library header.
*/

#ifndef _GLIBCXX_IOSTREAM
#define _GLIBCXX_IOSTREAM 1

#pragma GCC system_header
#pragma GCC visibility push(default)

#include <bits/c++config.h>
#include <ostream>
#include <istream>

namespace std
{
/**
* @name Standard Stream Objects
*
* The &lt;iostream&gt; header declares the eight <em>standard stream
* objects</em>. For other declarations, see
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10 and the
* @link s27_2_iosfwd I/O forward declarations @endlink
*
* They are required by default to cooperate with the global C library's
* @c FILE streams, and to be available during program startup and
* termination. For more information, see the HOWTO linked to above.
*/
//@{
extern istream cin; ///< Linked to standard input
extern ostream cout; ///< Linked to standard output
extern ostream cerr; ///< Linked to standard error (unbuffered)
extern ostream clog; ///< Linked to standard error (buffered)

#ifdef _GLIBCXX_USE_WCHAR_T
extern wistream wcin; ///< Linked to standard input
extern wostream wcout; ///< Linked to standard output
extern wostream wcerr; ///< Linked to standard error (unbuffered)
extern wostream wclog; ///< Linked to standard error (buffered)
#endif
//@}

// For construction of filebuffers for cout, cin, cerr, clog et. al.
static ios_base::Init __ioinit;
} // namespace std

#pragma GCC visibility pop

#endif /* _GLIBCXX_IOSTREAM */



هیچ اطلاعاتی در مورد تابعی مثله ( )cin.getline و پارامترهاش نمیده.
اون سایت رو هم در چند پست گذشته ی جناب اینپراز دیده بودم , منظور بنده از مرجع , مرجع برای کامپایلر بود , در هر صورت از از توجهتون ممنونم.