zoukankan      html  css  js  c++  java
  • 经常犯的错

          1.const声明的时候没有初始化
          2.引用声明的时候没有初始化
          3.指针赋常值
          4. 函数指针 、函数返回指针、const指针、指向const的指针、指向const的const指针
                void (*fun)()、void *fun()、const int *a、int *const a、const int* const aa

         

       5.c++ console 项目中,应用MFC的库,经常会出现:如引用<afxinet.h>  错误: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

       解决方案:项目属性页---配置属性--常规---项目默认属性---MFC的使用---把使用标准的windows库改成在共享的DLL

    中使用MFC

    6.FTP简单的构建

  • 相关阅读:
    Go:获取命令行参数
    Go:文件操作
    Go:类型断言
    GO:interface
    Go:面向"对象"
    Go:工厂模式
    layui中流加载layui.flow
    js显示当前时间
    layui中的分页laypage
    layui中的多图上传
  • 原文地址:https://www.cnblogs.com/xianqingzh/p/1528080.html
Copyright © 2011-2022 走看看