Hi,
I just started studying C programming and I began to make a console program project. I am using code block for my compiler. Looks like every time I use if statement, this warning always come
|warning: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
warning: suggest parentheses around assignment used as truth value [-Wparentheses]|
All I want to know is what are these warnings meaning.
I just started studying C programming and I began to make a console program project. I am using code block for my compiler. Looks like every time I use if statement, this warning always come
|warning: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
warning: suggest parentheses around assignment used as truth value [-Wparentheses]|
All I want to know is what are these warnings meaning.
Comment