但是,如果消息的字符为',则(显然)无法执行,但内存开始增加。unsigned int t0; //Current linux time in seconds.char buffer[BUFFER_SIZE_LOG]; //Variable to write the SQL statement.//Initializing variables:
t0 = (unsigned int) time(
在使用linux (读、写)与文件系统交互时,使用向量(向量无符号字符)代替字符数组(char [])有多安全和正确?需要建设性的批评。还有其他选择吗?and writing to a file using linux api.#include <iostream>#include <unistd.h>// Linux</e