User Profile
Collapse
-
yes and it helped alot. Thanks -
-
How do you do a if statement with it. I cant find it anywhere and i tried to do it myself and this is how it turned out.Leave a comment:
-
I got
Code:if (france = "paris") {printf("Nice. Try this one. What is the capital of Texas");}
[Warning] assignment makes integer from pointer without a cast.
and this part doesn't work:
Code:else {printf("Sorry but %s was wrong.The correct answer was Paris. Try this one. What is the capital of Texas", france);}
Leave a comment:
-
[Warning] comparison between pointer and integer
I'm new to coding and this is the first code I've tried by myself. I keep getting this error [Warning] comparison between pointer and integer. Can anyone help me?
Code:#include <stdio.h> #include <conio.h> int main(void) { int sum; int sum2; int sum3; int sum4; int sum5; char name; char france; char texas; char canada;
No activity results to display
Show More
Leave a comment: