Questions tagged «dynamic-compilation»

10
C / C ++行号
为了调试目的,我可以在C / C ++编译器中获得行号吗?(某些编译器的标准方式或特定方式) 例如 if(!Logical) printf("Not logical value at line number %d \n",LineNumber); // How to get LineNumber without writing it by my hand?(dynamic compilation)
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.