It works! Thank you so much! And for the idiot teacher remark, yeah, I guess his teaching methods are a little weird. He did give us notes for this week, but the notes were on loops and if statements and conditionals. Here I am posting my code; can you just make sure everything looks correct?
Thanks again for everyone's help!
long int a,b;
printf( "Please enter your name:\t " );
fgets ( string, 256, stdin );
printf("Hello, %s\n", string);
printf("You will enter two numbers, and I will raise the first number\n");
printf("to the power of the second number!\n\n");
printf("Enter the first number.\t");
printf("Enter the second number, which will be the exponent.\t");
printf("Your total is %ld\n", (long int)pow(a,b));