【发布时间】:2015-08-19 12:27:10
【问题描述】:
我正在使用char* 来存储一些变量值,但存在无法更改其值的问题。如果有人可以提出一种方法......对我来说将是一个救命稻草......
char* year=""; //definition as empty
get_data(){
year= //"Here I want to give it another value of another variable(also in char*)"
}
【问题讨论】: