Monday, July 19, 2010

segmentation fault

#include
int main()
{
char character = 'a';
while(1) /*clearly ill have to break out of this*/
{
printf("%s \n",character);
}
}

I should know why this doesn't work but I can't figure it out. It's certainly not covered in the book (yet). Woof - to the internet I go.

No comments:

Post a Comment