In function 'main':
Line 5: error: 'str' undeclared (first use in this function)
Line 5: error: (Each undeclared identifier is reported only once
Line 5: error: for each function it appears in.)
Line 5: error: 'man' undeclared (first use in this function)
Line 6: error: expected ';' before 'strlen'