zoukankan      html  css  js  c++  java
  • runtime error: store to address 0x625000002048 with insufficient space for an object of type 'double' (solution.c) 0x625000002048: note: pointer points here

    错误信息:

    Line 36: Char 33: runtime error: store to address 0x625000002048 with insufficient space for an object of type 'double' (solution.c)
    0x625000002048: note: pointer points here
     00 00 f8 ff  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                  ^
    

    错误原因:

    1. malloc格式没写对
       malloc格式为:   (分配类型 *)malloc(分配元素个数 *sizeof(分配类型))
    
    2. 代码死循环,导致malloc申请的空间被用光(我的是这个原因,找半天错误,发现打错一个变量)
    
  • 相关阅读:
    Python 知识要点:函数
    软件测试
    软件测试
    软件测试
    SpringBoot框架
    Redis存储系统
    Linux系统
    maven
    shiro安全框架
    Mybatis框架
  • 原文地址:https://www.cnblogs.com/wryy/p/13659437.html
Copyright © 2011-2022 走看看