vanderlin / ofxBox2d

Openframework wrapper for box2d
zlib License
320 stars 122 forks source link

Add #include <stdio.h> because using printf causes a compile error #136

Closed StdEnku closed 2 years ago

StdEnku commented 3 years ago

Hello I get a compile error in my modified file saying

error:‘printf’ was not declared in this scope 

include

Send a pull request with the addition of.

totalgee commented 3 years ago

Minor note: it's better C++ practice to #include <cstdio> rather than stdio.h, to put things in the std namespace.

StdEnku commented 3 years ago

Thank you for teaching. I have fixed it.