Why am i getting a syntax error

Jul 29, 2013 at 4:49pm
Im trying to start using dev-c++. Im using C language. I keep getting an error message "syntax error before "system""


#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
printf ("Yo is it working.")
system("PAUSE");
}
Jul 29, 2013 at 5:01pm
Semicolon after printf statement
Jul 29, 2013 at 5:06pm
Still get the same message
Jul 29, 2013 at 5:14pm
I figured it out. Thank you
Topic archived. No new replies allowed.