Hello,
sorry if this seems like a trivial query but I was having some issue setting a string to a char array in a structure. I have a set up like this:
Code:
Code:struct Computer { char Manufacturer[30]; float Price; int Memory; } *PC;
i need to set the Manufacturer to HAL,using only the arrow operator. how can i do that?