脚本编写吧 关注:3,490贴子:14,994
  • 4回复贴,共1

互相学习,C++

只看楼主收藏回复

Entity entity = Entity (“Afeng”)
Stack frame created
Stack frame destroyed
Instantiated Managed way.


来自iPhone客户端1楼2021-04-08 14:39回复


    来自iPhone客户端2楼2021-04-08 14:41
    回复
      GLFWAPI is used to declare public API functions for export from the DLL / shared library/ dynamic library.
      /* We are building GLFW as a Win32 DLL. */
      #define GLFWAPI __declspec(dllexport)
      /* We are calling GLFW as a Win32 DLL. */
      /* We are building GLFW as a shared / dynamic library. */
      /* We are building or calling GLFW as a static library. */


      来自iPhone客户端4楼2021-04-12 23:40
      回复
        Error link 2019 :unresolved external symbol “ int __cdecl glfwinit(void) “ 混淆了名字 name-mangling. 因为你会链接到一个在C语言建立的库。extern “c” int glfwInit()


        来自iPhone客户端5楼2021-04-13 14:58
        回复
          超过了操作系统给你的初始分配,超过了空闲列表,
          这样做通常会调用底层操作系统或平台的特定函数。
          你的程序会维护一个叫做空闲列表(free list)的东西。
          一条Cpu的删除指令 就可以释放所有东西,不需要将栈指针反向移动 然后 返回栈指针地址。
          一个叫做malloc 的函数,memory allocate 的缩写。


          来自iPhone客户端6楼2021-04-16 14:10
          回复