Im kinda new to programming, so if someone could help me here id appreciate it!
typedef struct /*struct for circle creation*/
{
int x_coord;
int y_coord;
int radius;
} circle, *circlepointer;
I need a pointer to a circle, and pass that pointer to a function that returns true if the circle radius is >0, and false otherwise. How do i pass my *circlepointer to a function and check this? I should be able to do something like circle.radius > 0, in the function
Hope you can help
*circlepointertypedef? All it does it add another type - and that type obfuscates the fact it's a pointer badly enough you have to putpointerin the type name.circlepointeris better thancircle*?