gcc4.1.2 and 4.3.2 has different default behavior
Hello All, I have encountered one issue when write a simple test code. #inlcude int main{ const char* str = ""; std::cout<<"str len: "<
gcc 3.2 compile issue when initialize value
Hello, I wrote following code: #include #include #include int main() { struct dirent **namelist; int numberOfProcDirs; numberOfProcDirs=scandir("/proc", &namelist, 0, alphasort); //std::string temp(std::string(namelist[0]->d_name)+std::string("fdsfds")); //std::string temp(std::string(namelist[