Thanks all, was the help i needed :)
Type: Posts; User: p1zzat1me
Thanks all, was the help i needed :)
Its meant to return a 1 if the inputted char is in the word "asenine". and return 0 if it isnt, am i going about this the right way?
any help appreciated, thanks!
#include <stdio.h>...
Hi there. This program is to count the number of digits in each string. I'm really not sure if I am using pointers correctly, and not sure if i can compare them to ints like that in the if condition....
Wow we won! I read on google somewhere that the char would be unsigned by default but I guess not.. Thanks!
Now the output displays "RGB: -1, 0, 0" instead of the desired 255, 0, 0 :(
Thanks for the responses, so i've updated it and now it runs, however its not printing the values I thought I had saved into the red colour struct in the main function, instead it's just printing...
The exercise specifically asks for char parameters in the create_colour function for some reason.
I'm getting a compiler error along the lines of invalid conversion from 'char' to 'char' which...
Ahhh...
Thanks a bunch
16083
I'm trying to input the array of structs into the print_yearly_data function and then loop through the inputted array of structs, printing each individual structures data with the print_climate_data...