微软的MFC,什么狗p东西

解决方案 »

  1.   

    垃圾代码就不说了,故意人为的做一大堆思想规范,而且各个版本不兼容,这明显是霸道嘛,还往往打着方便简单的旗号,真TMD狗P
      

  2.   

    我倒是不懂MFC,但是不知道搂主知道多少?
      

  3.   

    呵呵,那你做一个喽,有时候不用MFC比用MFC要多好多代码的
      

  4.   

    表面皮肤看问题,朋友:你想厕所的马桶还可以煮菜吗?你只有去适应MFC,而不能让MFC适应你!
      

  5.   

    那楼主写一个历史上第二差的程序吧,只要比MFC好一点点就可以了 ;)
      

  6.   

    同意Viconia()
    支持楼主写一个比MFC好一点的东西。
      

  7.   

    mfc不好主要是历史原因吧而且目前也没有更好的选择了 wtl之类还取代不了
      

  8.   

    mfc是个很好的东西,自己不会用,不要说别人写的不好.
      

  9.   

    同意Viconia()
    ----------------------------------------------------------------
    那楼主写一个历史上第二差的程序吧,只要比MFC好一点点就可以了 ;)
      

  10.   

    严重同意 Viconia()楼主是学MFC学不下去了才有感而发吧 :)
      

  11.   

    md,还以为说什么,自己整个一s...
      

  12.   

    #include <stdio.h>
    int Func(int t, int _, char* a)
    {return!0<t?t<3?Func(-79,-13,a+Func(-87,1-_,Func(-86,0,a+1 
    )+a)):1,t<_?Func(t+1,_,a):3,Func(-94,-27+t,a)&&t==2?_<13? 
    Func(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?Func(_,t, 
    "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#"
    ";#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l"
    "q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;#"
    "){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw'"
    "iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c"
    ";;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')#"
    "}'+}##(!!/")
    :t<-50?_==*a?putchar(31[a]):Func(-65,_,a+1):Func((*a=='/')+t,_,a+1) 
    :0<t?Func(2,2,"%s"):*a=='/'||Func(0,Func(-61,*a, 
    "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}
    int main(int t, int _, char* a){return Func(t,_,a);} 
    这才是历史上最差的程序,看看他的输出吧
      

  13.   

    方狗屁,到底MFC楼主懂了多少?
      

  14.   

    你们是都说对拉,我是真的一点不懂,写了点东西也一直在用第三方API,自己封装的类库,在windows下写通讯部分也用的是SDK,MFC能用来写点界面的东西差不多了吧,不懂不可以吗?
      

  15.   

    我发现这里的人真是怪问个问题半天没人回答,发个牢骚一大堆人来响应,感情你们来这里都是来吵架来的?有点意思HOHO~!
      

  16.   

    MFC里的某些部分很烂是真的,扩展性极差,要写一些高级点的东西是很受限制的,但写一个通用框架是很难的,必须应付各种需要,而且时间也很长了,到现在还没有能彻底替代他的库,已经很不错了.
      

  17.   

    你还可以说: 蒸汽机 真TMD差劲!!!一种东西, 在一个时代总是有他的优点用途.只不过现在出来了一些好国MFC的东西而已拉
      

  18.   

    mfc这么老的东西,当然有很多历史问题,比如try,catch
    比如自己做的 运行时类型识别
    比如使用大量的宏(如果现在肯定要多用一些模板3)
    问题多多,但还是马马虎虎,撮合着用吧
      

  19.   

    白蛋一个,csdn里最大的一个.
      

  20.   

    可能某方面来说MFC是不行,但很多人都靠MFC吃饭。
    楼主要好好反醒
    好好觉悟!
      

  21.   

    接个p分啊,才10分,不用MFC这个地球照样转,看来不少人已经成为微软的战利品拉,也无所谓拉,如果你真的觉得MFC的机制真的好的话,那你就跟着他走吧,可我个人还是认为MFC还是差能不用它打死不用。
      

  22.   

    你TMD SB啊?
    不会用你就TMD别用,shit.
    在这GGYY个没完,你先问问自己有没有批评一个应用框架的资历先!!
    就你那么点水平还TMD在老子面前批评MFC?你这种人只配吃大便!!!!
    再TMD敢在这里GGYY,老子把你封杀了!
      

  23.   

    CuckFSDN(请不要歪曲我的ID!)  你脑袋进虫子了吧,你妈怎么生你这么个别没p眼的东西
      

  24.   

    我也不喜欢MFC,大家别吵架,更不要骂人!
      

  25.   

    to LocalVar(分乃身外之物,即使我回答对了,也别给分): 你的程序是从哪儿搞的,太牛了,晕倒.
    这才是牛人呀。==============
    MFC对C++的封装,绝对是C++的精典!
      

  26.   

    这是什么帖子?脏话连篇,斑竹快把这个无聊帖子删了,不要让他坏了CSDN的气氛!
    楼主说话客气点,MFC固然有不足之处,但你可以不用它嘛,vc里也能调用API的嘛。
      

  27.   

    我们都知道MFC不是很好,但它也有可取之处,决不是一文不值。搂主不要太偏颇,大家不要说脏话!我们只谈技术,不要互相攻击!
      

  28.   

    至少到目前为止,MFC是最棒的一个类库.
      

  29.   

    说mfc不好,但有更好的么???
    呆鸟!!!!
      

  30.   

    欢迎大家讨论MFC.
    但是象楼主这种不懂MFC的没有资格说话!!!!!
      

  31.   

    那楼主写一个历史上第二差的程序吧,只要比MFC好一点点就可以了 ;)
    我也觉得MFC不好,但是没有的二茬的可用阿
      

  32.   

    楼主用api和sdk,应该算是有点小聪明,不过说话之牛,我在坛子里还第一次见,告诫一二:
    能用api和sdk的人有的是,你能牛到那里?有本事写汇编吧。
    真正的牛人眼里,技术会有缺陷但不会有所谓“烂”的东西,只有烂人眼里才会认为天下皆烂唯我读尊。
      

  33.   

    MFC还是要用地,到了解决不了的地方,我们Call 伟大的Win32
      

  34.   

    上面那个程序运行的结果如下::On the first day of Christmas my true love gve to me
    a partridge in a per tree.On the second day of Christmas my true love gve to me
    two turtle doves
    and a partridge in a per tree.On the third day of Christmas my true love gve to me
    three french hens, two turtle doves
    and a partridge in a per tree.On the fourth day of Christmas my true love gve to me
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the fifth day of Christmas my true love gve to me
    five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the sixth day of Christmas my true love gve to me
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the seventh day of Christmas my true love gve to me
    seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the eigth day of Christmas my true love gve to me
    eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the ninth day of Christmas my true love gve to me
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the tenth day of Christmas my true love gve to me
    ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the eleventh day of Christmas my true love gve to me
    eleven pipers piping, ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the twelfth day of Christmas my true love gve to me
    twelve drummers drumming, eleven pipers piping, ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.
      

  35.   

    你们不要污辱楼主嘛! 你们不知道吧,它很牛的,window2003就是他在家用VB写的呀
      

  36.   

    On the first day of Christmas my true love gve to me
    a partridge in a per tree.On the second day of Christmas my true love gve to me
    two turtle doves
    and a partridge in a per tree.On the third day of Christmas my true love gve to me
    three french hens, two turtle doves
    and a partridge in a per tree.On the fourth day of Christmas my true love gve to me
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the fifth day of Christmas my true love gve to me
    five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the sixth day of Christmas my true love gve to me
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the seventh day of Christmas my true love gve to me
    seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the eigth day of Christmas my true love gve to me
    eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the ninth day of Christmas my true love gve to me
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the tenth day of Christmas my true love gve to me
    ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the eleventh day of Christmas my true love gve to me
    eleven pipers piping, ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.On the twelfth day of Christmas my true love gve to me
    twelve drummers drumming, eleven pipers piping, ten lords a-leping,
    nine ladies dancing, eight maids a-milking, seven swans -swimming,
    six geese a-laying, five gold rings;
    four clling birds, three french hens, two turtle doves
    and a partridge in a per tree.