User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    With the following code i have used --enable=all , --enable= warning but still not detecting the infinite loop. #include <iostream> using namespace std; // starting main int main() { cout << "hello in test of cpp "; for(int i = 0; i<10 ; i++ ){ cout << "in for loop"; } for(int j = 0; j<10 ; ){ cout << "in infinite for loop"; } switch(k){ case 1:{ cout << "hello"; break; } case 2:{ cout << "hello"; } } return 0; }

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, I am woundering why cppcheck do't allow to check infinite loops and fallthrough cases. Is their any way i can implement these checks in cppcheck.

  • Posted a comment on a blog post on cppcheck

    Hi, I am woundering why cppcheck do't allow to check infinite loops and fallthrough cases. Is their any way i can implement these checks in cppcheck.

View All

Personal Data

Username:
build79
Joined:
2017-07-06 04:32:23

Projects

  • No projects to display.

Personal Tools

Monday.com Logo