| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 10615 人关注过本帖, 1 人收藏
标题:如何在C语言中定义超过4294967295数值?
只看楼主 加入收藏
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
程序代码:
#ifndef   __BIG_INT_H__
#define   __BIG_INT_H__
// include section
#include <cassert>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <iostream>
#include <iomanip>
#include <utility>
#include <climits>
#include <algorithm>
#include <stdexcept>
#include <limits>

// ========================================
// BOOST
// --------------------------
// #define BIG_INT_USES_BOOST
// --------------------------
#ifdef BIG_INT_USES_BOOST
#include <boost/static_assert.hpp>
#endif
// ========================================
// ========== FUNCTION_NAME MACROS (BEGIN) =========

#ifdef FUNCTION_NAME
#undef FUNCTION_NAME
#endif
#ifdef UNDECORATED_FUNCTION_NAME
#undef UNDECORATED_FUNCTION_NAME
#endif
// --------------------------------------
// --------------------------------------
#if defined _MSC_VER    // Windows
// #define FUNCTION_NAME __FUNCSIG__  // too long and not friendly representation
#define FUNCTION_NAME               __FUNCTION__
#define UNDECORATED_FUNCTION_NAME   __FUNCTION__
#elif defined __GNUC__  // g++ GNU C++
#define FUNCTION_NAME               __PRETTY_FUNCTION__
#define UNDECORATED_FUNCTION_NAME   __FUNCTION__
#elif defined __HP_aCC  // aCC on HP-UX
#define FUNCTION_NAME               __PRETTY_FUNCTION__
#define UNDECORATED_FUNCTION_NAME   __FUNCTION__
#elif defined __xlC__   // xlC on IBM AIX
#define FUNCTION_NAME               __FUNCTION__
#define UNDECORATED_FUNCTION_NAME   __func__
#elif defined __SUNPRO_CC       // SUN CC
#define FUNCTION_NAME               BOOST_CURRENT_FUNCTION  // Must be compiled with option  -features=extensions
#define UNDECORATED_FUNCTION_NAME   __func__                // Must be compiled with option  -features=extensions
#elif defined __INTEL_COMPILER  // Intel C/C++
#define FUNCTION_NAME               __PRETTY_FUNCTION__
#define UNDECORATED_FUNCTION_NAME   __FUNCTION__
#else
#define FUNCTION_NAME               "Unable to detect FUNCTION_NAME"
#define UNDECORATED_FUNCTION_NAME   "Unable to detect UNDECORATED_FUNCTION_NAME"
#endif
// ========== FUNCTION_NAME MACROS (END) ===========
// =================================================

// ===========================================
// ========== DISPLAY MACROS (BEGIN) =========
#define PRE_MSG(s, p)       s << p << "[" <<  __FILE__ << ", #" << std::dec << std::setw(3) << __LINE__ << "; " << UNDECORATED_FUNCTION_NAME << "] " << std::flush
#define SCREEN_MSG(s,p,x,t) { std::ostringstream oo_ss_ss; PRE_MSG(oo_ss_ss,p) << x << t << std::endl; s << std::flush << oo_ss_ss.str() << std::flush; }
#define FATAL_MSG(s, t)     SCREEN_MSG (s, "FATAL   ", "", t)
#define ERR_MSG(s, t)       SCREEN_MSG (s, "ERROR   ", "", t)
#define WARN_MSG(s, t)      SCREEN_MSG (s, "WARNING ", "", t)
#define INFO_MSG(s, t)      SCREEN_MSG (s, "INFO    ", "", t)
#define SUCCESS_MSG(s, t)   SCREEN_MSG (s, "SUCCESS ", "", t)
// ===========================================
// ========= ASSERTION MACROS (BEGIN) ========
#define ASSERTION(x)     assert(x);             \
    if (!(x))                                   \
    {                                           \
        std::cerr   << "["                      \
                    << __FILE__                 \
                    << ", "                     \
                    << __LINE__                 \
                    << "] assert("              \
                    << #x                       \
                    << ") not working"          \
                    << std::endl                \
                    << std::flush;              \
        abort();                                \
    }
// ========== ASSERTION MACROS (END) =========
// ===========================================


 
struct BigInt
{
    // -------------------
    // FORWARD DECLARATION
    // -------------------
    class Rossi;


    // --------
    // TYPEDEFS
    // --------
    typedef unsigned long Ulong;

    // ----------------
    // STATIC CONSTANTS
    // ----------------
    static const std::size_t BIG_INT_MAJOR_VERSION = 4;
    static const std::size_t BIG_INT_MINOR_VERSION = 0;
    static const std::size_t DEC_DIGIT          = 10;
    static const std::size_t HEX_DIGIT          = 16;
    static const std::size_t NIBBLE_BIT         = 4;
    static const std::size_t ULONG_HEX_DIGITS   = ((sizeof (Ulong) * CHAR_BIT)/NIBBLE_BIT);

    static const Ulong MAX_UNIT_VALUE   = (ULONG_MAX >> 2);
    static const Ulong ULONG_MSB        = static_cast<Ulong>(1) << (sizeof(Ulong) * CHAR_BIT - 1);
    static const Ulong BASE1        = 10;
    static const Ulong BASE2        = 1000000000;  // // BASE1 ** (BASE1 - 1)
    static const Ulong SUB_BASE2    = BASE2 - 1;  // 999999999
    static const Ulong OVER_BASE2   = 0xc0000000;  // OVER_BASE2 > SUB_BASE2

    // -----------------------------------------
#ifdef BIG_INT_USES_BOOST
    BOOST_STATIC_ASSERT (SUB_BASE2 == 999999999);
    BOOST_STATIC_ASSERT (!(BASE2 >= MAX_UNIT_VALUE));
    BOOST_STATIC_ASSERT (BASE1 * (BASE2/BASE1 + 1) < MAX_UNIT_VALUE);
    BOOST_STATIC_ASSERT (!(BASE2 != (SUB_BASE2 + 1)));
    BOOST_STATIC_ASSERT (OVER_BASE2 > SUB_BASE2);
    BOOST_STATIC_ASSERT(
        (sizeof(Ulong) == 4) && ((ULONG_MSB == static_cast<Ulong>(0x80000000)))
        ||
        (sizeof(Ulong) == 8) && ((ULONG_MSB == ((static_cast<Ulong>(0x80000000) << 31) << 1)))
        );
#endif
    // -----------------------------------------
    // Public Methods
    static void assertCheck();
    static void showVersion(std::ostream& o_stream);
    // -----------------------------------
    template <typename T>
    static std::string toString(const T& t)
        {
            std::ostringstream oss;
            oss << t;
            return oss.str();
        }

 
    // -------------------------------
    template<typename T, std::size_t N>
    static std::size_t getArrayElems(const T(&)[N])
        {
            return N;
        }
    // -------------------------------
    template<typename T, std::size_t N>
    static std::size_t getArrayElems(T(&)[N])
        {
            return N;
        }
    // -------------------------------
    template<typename T, std::size_t N>
    static std::size_t getArraySizeInBytes(const T(&a)[N])
        {
            return getArrayElems(a) * sizeof (T);
        }
    // -------------------------------
    template<typename T, std::size_t N>
    static std::size_t getArraySizeInBytes(T(&a)[N])
        {
            return getArrayElems(a) * sizeof (T);
        }

    // -------------------------------
    template<typename T, std::size_t N>
    static std::vector<T> array2vector(const T(&a)[N])
        {
            return std::vector<T> (a, a + getArrayElems (a));
        }

    // --------------------------------
    template<typename T, std::size_t N>
    static std::vector<T> array2vector(T(&a)[N])
        {
            return std::vector<T> (a, a + getArrayElems (a));
        }
    // ------------------------------------
    template<typename T>
    static std::vector<T> elem2vector(const T& e)
        {
            return std::vector<T> (&e, &e + 1);
        }
    // ------------------------------------
    template<typename T>
    static std::vector<T> elem2vector(T& e)
        {
            return std::vector<T> (&e, &e + 1);
        }
    // ---------------------------------------------------------
    template<typename K, typename T, std::size_t N>
    static std::map<K, T> array2map(const std::pair<K,T>(&a)[N])
        {
            return std::map<K, T> (a, a + getArrayElems (a));
        }
    // ---------------------------------------------------------
    template<typename K, typename T, std::size_t N>
    static std::map<K, T> array2map(std::pair<K,T>(&a)[N])
        {
            return std::map<K, T> (a, a + getArrayElems (a));
        }
    // ------------------------------------
    template<typename K, typename T>
    static std::map<K, T> pair2map(const std::pair<K,T>& e)
        {
            return std::map<K, T> (&e, &e + 1);
        }
// ==============
    class BaseBigInt
    // ==============
    {
    public:
        // --- Public Methods
        std::size_t getUnitsSize () const;
        void        maximize ();
    protected :
        // --- Protected Data Members ---
        std::vector<Ulong>                  m_units;
        static std::map<char, std::size_t>  ms_hex2dec;
        // --- Protected Methods
        void showUnits (std::ostream& o_stream) const;
        virtual ~BaseBigInt () = 0;

    public :
        // --- Public Methods ---
        bool  isEmpty () const;
    };
// ==============
    class Vin : public BaseBigInt
    // ==============
    {
    private :
        // -------
        // FRIENDS
        // -------
        friend std::ostream& operator<< (std::ostream& o_os, const Vin& i_ins);

    private :
        // --- Private Data Members ---
        static Ulong s_carry;
        // --- Private Methods ---
        static Ulong    addUnits(Ulong n1, Ulong n2);
        bool            initViaString (const std::string& i_arg, std::size_t i_digitBase);
    public :
        // ----------------------
        // --- Public Methods ---
        // ----------------------
        // --- Constructors ---
        explicit Vin ();
        explicit Vin (Ulong i_unit);
        explicit Vin (const std::string& i_arg, std::size_t i_digitBase);
        explicit Vin (const Rossi& i_arg);
        // --- Aux methods  ---
        Ulong toUlong () const;
        // operator Ulong () const;
        // --- Show functions ---
        std::string toStrHex (const std::string& i_prefix = "") const;
        std::string toStr0xHex () const;
        std::string toStrDec (const std::string& i_prefix = "") const;

        // --- General purpose mathematical methods ---
        Vin operator+ (const Vin& i_arg) const;
        Vin operator* (Ulong i_arg) const;

        // --- Comparison operators ---
        bool operator== (const Vin& i_arg) const;
        bool operator!= (const Vin& i_arg) const;
        bool operator<  (const Vin& i_arg) const;
        bool operator>  (const Vin& i_arg) const;
        bool operator<= (const Vin& i_arg) const;
        bool operator>= (const Vin& i_arg) const;

        // ---- Service methods ---
        void showUnits(std::ostream& o_stream) const;
    };

// ============================
    class Rossi : public BaseBigInt
    // ============================
    {
    private :
        // -------
        // FRIENDS
        // -------
        friend std::ostream& operator<< (std::ostream& o_os, const Rossi& i_ins);
    private :
        // --- Private Methods ---
        void  resizeUnits (std::size_t i_size);
        void  truncateUnits ();
        void  smartTruncateUnits ();
        bool  backUnitIsNull () const;
        bool  initViaString (const std::string& i_arg, std::size_t i_digitBase);

    public :
        // ----------------------
        // --- Public Methods ---
        // ----------------------
        // --- Constructors ---
        explicit Rossi ();
        explicit Rossi (Ulong i_unit);
        explicit Rossi (const std::string& i_arg, std::size_t i_digitBase);
        explicit Rossi (const Vin& i_arg);
        explicit Rossi (const std::size_t i_noOfUnits, Ulong i_internalUnits, Ulong i_backUnit);

        // --- Aux methods ---
        Ulong toUlong () const;
        // operator Ulong () const;

        // --- General purpose mathematical methods ---
        // Rossi& operator= (Ulong i_arg);
        Rossi  operator+ (const Rossi& i_arg);
        Rossi  operator+ (Ulong i_arg);
        Rossi  operator* (Rossi i_arg) const;
        Rossi  operator* (Ulong i_arg) const;
        //  Rossi& Rossi::operator*= (Rossi i_arg);
        Rossi  operator/ (const Rossi& i_arg) const;
        Rossi  operator% (const Rossi& i_arg) const;
        Rossi  divide(const Rossi& i_dividend, const Rossi& i_divisor, Rossi* o_remainder) const;
        Rossi& operator+= (const Rossi& i_arg);
        Rossi  operator++ (int); // Post increment operator
        Rossi& operator++ ();    // Pre increment operator
        Rossi  operator-  (const Rossi& i_arg);
        Rossi  operator-  ();
        Rossi  operator-- (int); // Post decrement operator
        Rossi& operator-- ();    // Pre decrement operator
        Rossi& operator-= (const Rossi& i_arg);
        Rossi  sqrt();

        // --- Bitwise boolean operators ---
        Rossi  operator&   (const Rossi& i_arg);
        Rossi  operator|   (const Rossi& i_arg);
        Rossi  operator^   (const Rossi& i_arg);
        Rossi& operator&=  (const Rossi& i_arg);
        Rossi& operator|=  (const Rossi& i_arg);
        Rossi& operator^=  (const Rossi& i_arg);
        Rossi  operator~   ();
        Rossi  operator>>  (std::size_t i_shift);
        Rossi  operator<<  (std::size_t  i_shift);
        Rossi& operator>>= (std::size_t  i_shift);
        Rossi& operator<<= (std::size_t  i_shift);
        // --- Comparison operators ---
        bool operator== (const Rossi& i_arg) const;
        bool operator!= (const Rossi& i_arg) const;
        bool operator<  (const Rossi& i_arg) const;
        bool operator>  (const Rossi& i_arg) const;
        bool operator<= (const Rossi& i_arg) const;
        bool operator>= (const Rossi& i_arg) const;

        // --- Show functions ---
        std::string toStrHex (const std::string& i_prefix = "") const;
        std::string toStr0xHex () const;
        std::string toStrDec (const std::string& i_prefix = "") const;
        // ---- Service methods ---
        void showUnits(std::ostream& o_stream) const;
    };
}; // class BigInt
#endif    // __BIG_INT_H__

2010-07-05 13:42
束缚袭霜
Rank: 2
等 级:论坛游民
帖 子:21
专家分:30
注 册:2010-7-4
收藏
得分:0 
回复 8楼 Devil_W
大哥,我看不懂C++,以及高级的h文件写法。
我有个问题是如果我用128bit来表示一个整数,我该如何转化为十进制输出?

我是自学的,所以……
2010-07-05 13:43
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
--------------------Configuration: Cpp1 - Win32 Debug--------------------
Compiling...
Cpp1.cpp
C:\Documents and Settings\Administrator\Cpp1.cpp(121) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(121) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(121) : error C2252: 'BIG_INT_MAJOR_VERSION' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(122) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(122) : error C2252: 'BIG_INT_MINOR_VERSION' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(124) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(124) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(124) : error C2252: 'DEC_DIGIT' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(125) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(125) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(125) : error C2252: 'HEX_DIGIT' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(126) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(126) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(126) : error C2252: 'NIBBLE_BIT' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(127) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(127) : error C2065: 'NIBBLE_BIT' : undeclared identifier
C:\Documents and Settings\Administrator\Cpp1.cpp(127) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(127) : error C2252: 'ULONG_HEX_DIGITS' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(130) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(130) : error C2252: 'MAX_UNIT_VALUE' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(131) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(131) : error C2252: 'ULONG_MSB' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(133) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(133) : error C2252: 'BASE1' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(134) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(134) : error C2252: 'BASE2' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(135) : error C2065: 'BASE2' : undeclared identifier
C:\Documents and Settings\Administrator\Cpp1.cpp(135) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(135) : error C2252: 'SUB_BASE2' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(136) : error C2258: illegal pure syntax, must be '= 0'
C:\Documents and Settings\Administrator\Cpp1.cpp(136) : error C2252: 'OVER_BASE2' : pure specifier can only be specified for functions
C:\Documents and Settings\Administrator\Cpp1.cpp(168) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(169) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(169) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(169) : error C2266: '<Unknown>' : reference to a non-constant bounded array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(175) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(176) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(176) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(176) : error C2266: '<Unknown>' : reference to a non-constant bounded array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(182) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(183) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(183) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(189) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(190) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(190) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(197) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(198) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(205) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(206) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(226) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(227) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(233) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(234) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal
C:\Documents and Settings\Administrator\Cpp1.cpp(253) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(259) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(289) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(298) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(343) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(347) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(357) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(359) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(397) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(398) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(399) : error C2039: 'size_t' : is not a member of 'std'
C:\Documents and Settings\Administrator\Cpp1.cpp(400) : error C2039: 'size_t' : is not a member of 'std'
执行 cl.exe 时出错.
Cpp1.exe - 1 error(s), 0 warning(s)

2010-07-05 13:44
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
我这帖子要火啊、
2010-07-05 13:45
Devil_W
Rank: 10Rank: 10Rank: 10
等 级:青峰侠
威 望:9
帖 子:1160
专家分:1797
注 册:2009-9-14
收藏
得分:0 
你好水。

你真是不是一般的2。。。
2010-07-05 14:12
lijm1989
Rank: 11Rank: 11Rank: 11Rank: 11
来 自:珠海
等 级:贵宾
威 望:12
帖 子:675
专家分:2844
注 册:2009-10-14
收藏
得分:0 
虽然不中听···却是实情啊··论坛的确怪怪的···
2010-07-05 15:18
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
回复 15楼 Devil_W
话说我真不知道你有多厉害的。我在C语言里根本不是版主。貌似你根本不知道BCCN有很多个板块。
你说我水也就罢了,那是你的观点。但你说我2,我跟你说,你真没这个资格。懂?
不要以为自己在C上比我学的早一点、用的熟一些,就上来讽刺这讽刺那的,我是不行,但至少我会做人。我不会认为网络上的我说话就不承担责任
对于你,我表示压力很大。
收到的鲜花
  • BlueGuy2010-07-06 18:48 送鲜花  49朵  
  • pgy2010-07-10 20:58 送鲜花  -3朵   附言:冷漠的人,谢谢你们曾经看轻我,让我不低头 ...
  • CodeWays2010-07-11 20:07 送鲜花  5朵   附言:++++
  • CodeWays2010-07-11 20:07 送鲜花  5朵   附言:++++
  • CodeWays2010-07-11 20:08 送鲜花  5朵   附言:++++
  • CodeWays2010-07-11 20:08 送鲜花  5朵   附言:++++
2010-07-06 11:11
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
回复 16楼 lijm1989
恩,因为想学的人很多,但是能放下姿态好好教的不多。这就是原因吧。
我个人认为。

2010-07-06 11:13
Devil_W
Rank: 10Rank: 10Rank: 10
等 级:青峰侠
威 望:9
帖 子:1160
专家分:1797
注 册:2009-9-14
收藏
得分:0 
以下是引用yangfanconan在2010-7-6 11:11:59的发言:

话说我真不知道你有多厉害的。我在C语言里根本不是版主。貌似你根本不知道BCCN有很多个板块。
你说我水也就罢了,那是你的观点。但你说我2,我跟你说,你真没这个资格。懂?
不要以为自己在C上比我学的早一点、用的熟一些,就上来讽刺这讽刺那的,我是不行,但至少我会做人。我不会认为网络上的我说话就不承担责任。
对于你,我表示压力很大。



我都不削跟你争,你太菜了。
2010-07-06 14:56
yangfanconan
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:10
帖 子:397
专家分:541
注 册:2009-9-22
收藏
得分:0 
回复 19楼 Devil_W
争什么?用什么争?开什么玩笑。
以为自己技术高超,在论坛里夜郎自大。
跟我这样的自学的人牛一牛,你不是在找安慰吧。

哈哈,老一辈从小就教导我一句话,“笑话人,不如人。”
我把这话送给你。你是搞手,我是菜鸟。

人你都做不明白,我感觉从你身上想学点什么也挺难。
2010-07-06 18:42
快速回复:如何在C语言中定义超过4294967295数值?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.044987 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved