This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
伙计们!我正在尝试使用断言做一些测试功能:
测试.h
#include <assert.h>
void testTheMedicine(){
Medicine m = Medicine(1, "para", 30, 40);
assert(m.getName()="para");// Function 'assert' could not be resolved
}