In function 'main':
Line 5: error: 'string' 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: expected ';' before 'srt'
Line 6: error: 'str' undeclared (first use in this function)
Line 4: warning: return type of 'main' is not 'int'