±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 732  |  »Ø¸´: 2

zyj8119

ľ³æ (ÖøÃûдÊÖ)

[ÇóÖú] Ò»¸öMFCµÄСÏîÄ¿³öÁËÎÊÌ⣬Çó¸ßÊÖ°ïæ¡£¡£

MFCµÄСÏîÄ¿ÔÚÕâÀ
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

ºÃºÃѧϰ£¬ÌìÌìÏòÉÏ¡£
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

zyj8119

ľ³æ (ÖøÃûдÊÖ)

ÒýÓûØÌû:
Originally posted by zyj8119 at 2011-05-07 20:52:06:
MFCµÄСÏîÄ¿ÔÚÕâÀ

--------------------Configuration: GPACalculator - Win32 Debug--------------------
Compiling...
GPACalculator.cpp
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(29) : error C2535: 'double __thiscall CGPACalculatorDlg::GetSDPoint(double)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(26) : see declaration of 'GetSDPoint'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(64) : error C2535: 'void __thiscall CGPACalculatorDlg::SpliterString(class CString,double &,double &' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(61) : see declaration of 'SpliterString'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(82) : error C2535: 'void __thiscall CGPACalculatorDlg::GatherData(void)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(80) : see declaration of 'GatherData'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(107) : error C2535: 'void __thiscall CGPACalculatorDlg::ChangeType(int)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(105) : see declaration of 'ChangeType'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(162) : error C2535: 'void __thiscall CGPACalculatorDlg::SetEditRead(bool)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(160) : see declaration of 'SetEditRead'
GPACalculatorDlg.cpp
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(29) : error C2535: 'double __thiscall CGPACalculatorDlg::GetSDPoint(double)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(26) : see declaration of 'GetSDPoint'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(64) : error C2535: 'void __thiscall CGPACalculatorDlg::SpliterString(class CString,double &,double &' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(61) : see declaration of 'SpliterString'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(82) : error C2535: 'void __thiscall CGPACalculatorDlg::GatherData(void)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(80) : see declaration of 'GatherData'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(107) : error C2535: 'void __thiscall CGPACalculatorDlg::ChangeType(int)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(105) : see declaration of 'ChangeType'
c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(162) : error C2535: 'void __thiscall CGPACalculatorDlg::SetEditRead(bool)' : member function already defined or declared
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(160) : see declaration of 'SetEditRead'
C:\Program Files\Microsoft Visual Studio\MyProjects\GPACalculator\GPACalculatorDlg.cpp(298) : error C2509: 'OnCtlColor' : member function not declared in 'CGPACalculatorDlg'
        c:\program files\microsoft visual studio\myprojects\gpacalculator\gpacalculatordlg.h(14) : see declaration of 'CGPACalculatorDlg'
Generating Code...
Error executing cl.exe.

GPACalculator.exe - 11 error(s), 0 warning(s)
ºÃºÃѧϰ£¬ÌìÌìÏòÉÏ¡£
2Â¥2011-05-07 20:52:49
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

yalefield

½ð³æ (ÎÄ̳¾«Ó¢)

ÀϺºÒ»Ã¶

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

zyj8119(½ð±Ò+20): ¸ÐлÀϺºÒ»ÓᆰÐÑÃÎÖÐÈË¡£¡£¡£¡£ 2011-05-08 11:42:05
ÔÚGPACalculatorDlg.hÖУ¬
CODE:
        double GetSDPoint(double dPoint);

        double CGPACalculatorDlg::GetSDPoint(double dPoint)
        {
                UpdateData();
                ....
        }

Äú¼ÈÉùÃ÷Á˺¯Êý£¬Ëæ¼´ÓÖ¸ø³öº¯ÊýµÄʵÏÖ£¬²»½öºÜ†ªà£¬¶øÇÒʹµÃ±àÒëÆ÷¶¼ÏÓÄú†ªà¡£
3Â¥2011-05-08 09:34:34
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ zyj8119 µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] Ò»Ö¾Ô¸0817»¯Ñ§¹¤³ÌÓë¼¼Êõ£¬Çóµ÷¼Á +7 ÎÒ²»ÊÇÖ»Òò 2026-04-02 8/400 2026-04-03 00:15 by ÓêÌì³ÅÉ¡
[¿¼ÑÐ] 309·Ö085801Çóµ÷¼Á +10 ѧԱGtwj7W 2026-03-31 10/500 2026-04-02 22:42 by yunlongyang
[¿¼ÑÐ] µ÷¼ÁÇóÖú +8 Ïë»»ÊÖ»ú²»Ïë½âÊ 2026-04-02 8/400 2026-04-02 20:47 by dongzh2009
[¿¼ÑÐ] Ò»Ö¾Ô¸»ªÄÏʦ·¶´óѧ-22408¼ÆËã»ú-292·Ö-Çó»ªÄÏʦ·¶´óѧµ÷¼Á +4 °®¶ÁÊéµÄСöùÓã 2026-04-02 4/200 2026-04-02 18:35 by Çóµ÷¼Ázz
[¿¼ÑÐ] ²ÄÁÏÇóµ÷¼ÁÒ»Ö¾Ô¸¹þ¹¤´ó324 +10 ãÆÐñ¶« 2026-03-28 12/600 2026-04-02 14:37 by olim
[¿¼ÑÐ] 275ѧ˶081000·þ´Óµ÷¼Áµ½ÆäËûרҵ£¬±£²»×¡±¾×¨ÒµÁË +7 һֻССˮţ 2026-04-02 8/400 2026-04-02 14:23 by alice-2022
[¿¼ÑÐ] ѧ˶»¯Ñ§¹¤³ÌÓë¼¼Êõ£¬Ò»Ö¾Ô¸Öйúº£Ñó´óѧ320+Çóµ÷¼Á +8 ÅûÐÇºÓ 2026-04-02 8/400 2026-04-02 14:12 by oooqiao
[¿¼ÑÐ] 283Çóµ÷¼Á +3 jiouuu 2026-04-02 4/200 2026-04-02 14:08 by ßÕßÕßÕßÉßÉßÉ
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©¿Æ¼¼´óѧ085601²ÄÁϹ¤³ÌÓ¢Ò»Êý¶þ³õÊÔ×Ü·Ö335Çóµ÷¼Á +9 Ë«ÂíβƦÀϰå2 2026-04-01 9/450 2026-04-02 12:14 by oooqiao
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©Àí¹¤´óѧ±¾¿Æ211²ÄÁϹ¤³Ì294Çóµ÷¼Á +8 mikasaµÄΧ½í 2026-03-28 9/450 2026-04-02 12:09 by ms629
[¿¼ÑÐ] ¼ÆËã»ú265¿çµ÷»·¾³ +5 Yumeng_6 2026-03-27 5/250 2026-04-02 10:54 by guanxin1001
[¿¼ÑÐ] 295²ÄÁϹ¤³Ìר˶Çóµ÷¼Á +19 1428151015 2026-03-27 19/950 2026-04-01 22:34 by peike
[¿¼ÑÐ] 086502»¯Ñ§¹¤³Ì342Çóµ÷¼Á +7 °¢Ò̸´¹Å²»¹ý 2026-03-27 7/350 2026-04-01 16:14 by yanflower7133
[¿¼ÑÐ] Ò»Ö¾Ô¸Äϲý´óѧ324Çóµ÷¼Á +7 hanamiko 2026-03-30 7/350 2026-04-01 13:22 by JourneyLucky
[¿¼ÑÐ] 311Çóµ÷¼ÁÒ»Ö¾Ô¸ºÏ·Ê¹¤Òµ´óѧ +14 Çï¶þÊ®¶þ 2026-03-30 14/700 2026-04-01 11:45 by chemdavid
[¿¼ÑÐ] Ò»Ö¾Ô¸Î÷½»´ó080500²ÄÁÏѧ˶349 +6 jqx1258 2026-03-31 7/350 2026-03-31 21:08 by yuq
[¿¼ÑÐ] 329Çóµ÷¼Á£¬Ò»Ö¾Ô¸Î÷±±¹¤Òµ´óѧ£¬²ÄÁϹ¤³Ì£¨085601£© +6 СС»úÁ鳿 2026-03-29 12/600 2026-03-31 16:58 by ¼Çʱ¾2026
[¿¼ÑÐ] 327Çóµ÷¼Á +5 С¿¨²»¿¨. 2026-03-29 5/250 2026-03-30 19:30 by Wang200018
[¿¼ÑÐ] Çóµ÷¼Á +10 ¼Ò¼Ñ¼Ñ¼Ñ¼Ñ¼Ñ 2026-03-29 10/500 2026-03-30 18:34 by 544594351
[¿¼ÑÐ] 085701Çóµ÷¼Á³õÊÔ286·Ö +5 secret0328 2026-03-28 5/250 2026-03-30 12:54 by fangnagu
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û