نمایش نتایج 1 تا 29 از 29

نام تاپیک: كتاب الكترونيكي آموزش مقدماتي VC++‎2008 ويرايش اول (MFC)

Hybrid View

پست قبلی پست قبلی   پست بعدی پست بعدی
  1. #1

    نقل قول: كتاب الكترونيكي آموزش مقدماتي VC++‎2008 ويرايش اول (MFC)

    نقل قول نوشته شده توسط Jenab4372 مشاهده تاپیک
    سلام
    من خودم تازه برنامه نويسي با VC رو شروع كردم و تازه تا فصل 4 كتاب كه در مورد تايمر هست بيشتر نخوندم. تا به اونجا برسم كار داره.
    شما سئوالتون رو در بخش به طور كامل بيان بفرماييد كه دقيقا چه خطايي از چه خطي ميگيرد تا مديران شما را راهنمايي كنند.
    به اين كتاب گاه نكنيد، من هنوز خودم در حال آموزش هستم.
    1>------ Build started: Project: online, Configuration: Release Win32 ------
    1>Compiling...
    1>onlineView.cpp
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C2146: syntax error : missing ';' before identifier 'm_nColor'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>.\onlineView.cpp(57) : error C2660: 'ConlineDoc::GetLineCount' : function does not take 0 arguments
    1>onlineDoc.cpp
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C2146: syntax error : missing ';' before identifier 'm_nColor'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>.\onlineDoc.cpp(76) : error C2661: 'CLine::CLine' : no overloaded function takes 2 arguments
    1>.\onlineDoc.cpp(84) : error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types
    1> H:\vC++‎\atlmfc\include\afxwin.h(5372): could be 'int AfxMessageBox(LPCTSTR,UINT,UINT)'
    1> H:\vC++‎\atlmfc\include\afxwin.h(5374): or 'int AfxMessageBox(UINT,UINT,UINT)'
    1> while trying to match the argument list '(const char [14], long)'
    1>.\onlineDoc.cpp(96) : error C2511: 'void ConlineDoc::GetLineCount(void)' : overloaded member function not found in 'ConlineDoc'
    1> c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(9) : see declaration of 'ConlineDoc'
    1>online.cpp
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(41) : error C2143: syntax error : missing ';' before '*'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(41) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(41) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(41) : warning C4183: 'AddLine': missing return type; assumed to be a member function returning 'int'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(43) : error C2143: syntax error : missing ';' before '*'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(43) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(43) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(43) : warning C4183: 'GetLine': missing return type; assumed to be a member function returning 'int'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C2146: syntax error : missing ';' before identifier 'm_nColor'
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\onlineDoc.h(46) : error C4430: missing type specifier - int assumed. Note: C++‎ does not support default-int
    1>Line.cpp
    1>.\Line.cpp(14) : error C2512: 'CLine' : no appropriate default constructor available
    1>.\Line.cpp(18) : error C2511: 'CLine::CLine(void)' : overloaded member function not found in 'CLine'
    1> c:\documents and settings\elhami\my documents\visual studio 2008\projects\online\online\Line.h(6) : see declaration of 'CLine'
    1>.\Line.cpp(55) : fatal error C1004: unexpected end-of-file found
    1>Build log was saved at "file://c:\Documents and Settings\elhami\My Documents\Visual Studio 2008\Projects\online\online\Release\BuildLog.htm"
    1>online - 22 error(s), 2 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
    ==========
    اینا لسیت خطاهایی که برنامم داره. خیلیاش از نظر من بی منطق و خیلیاش هم قابل درک نیست.بازم شما یه نگاه بندازین امیدوارم بتونید کمکم کنید. اگه بتونم برنامه درس 3 رو هم طوری کامل کنم که نقاشی کشیده شده رو ذخیره کنم میتونم پروژمو ادمه بدم.اگه راهشو میدونید راهنمایی کنید. باز هم بسیار سپاسگذارم از توجه و پاسخگویی تان.موفق باشید
    آخرین ویرایش به وسیله Nima_NF : پنج شنبه 08 مرداد 1388 در 20:01 عصر

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •