I've just started learning the C programming language at uni and am in need of some help.
If I have a input such as "3H 6S KH 7D AC"
Is there a way to group the second and first terms in the input e.g
First terms= 3,6,K,7,A
Second terms= H,S,H,D,C
Also is there a way to give the letters numerical values within the source code such as
Any help would be appreciate my knowledge of C is very basic