我已经将我的代码减少到最简单以隔离我的问题,我弄清楚我的问题是什么,但我无法解决它.事实上,我甚至不知道是否有问题.
我有一个函数,用于初始化未初始化的变量并重新初始化已初始化的变量.我的问题是我声明的变量似乎是初始化的.
以下是代码的内容:
/**
* This software defines the type TabDyn and gives the tools to manipulate it
*
* TabDyn is conceptually an array of integers. The first element is the size while the others are the members of the array.
*
* Here are the function provided to manipulate TabDyn :
* td_clear(TabDyn* td) : Create the TabDyn object if non existant and initialize it to an empty one. If it exists, it empties it.
*
*/ …
Run Code Online (Sandbox Code Playgroud)