Compiler output
prog.cpp:33:0: warning: "M_PI" redefined
#define M_PI 3.141592653589793
^
In file included from /usr/include/c++/4.9/cmath:44:0,
from /usr/include/c++/4.9/complex:44,
from prog.cpp:10:
/usr/include/math.h:372:0: note: this is the location of the previous definition
# define M_PI 3.14159265358979323846 /* pi */
^
prog.cpp: In function 'std::vector<std::basic_string<char> > parse(std::string)':
prog.cpp:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < st.size(); i++)
^
prog.cpp: In function 'bool let(std::string, int)':
prog.cpp:64:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (st.size() != len)
^
prog.cpp:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < st.size(); i++)
^
prog.cpp: In function 'bool dig(std::string, int)':
prog.cpp:76:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (st.size() != len)
^
prog.cpp:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < st.size(); i++)
^