Search:

Type: Posts; User: murock

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    660

    Help with images and text display

    Hey guys I'm pretty new to C, just looking to see how to display a image and some text to go along with it so far I can display in the image but cannot display the text at the same time.
    Any ideas?...
  2. Replies
    12
    Views
    1,219

    Right well I know how a linear search works now...

    Right well I know how a linear search works now :) But I'm still lost on how to do this could you guys show me an example lets be simply say my stdin is "3H KS" and I want to split the variables up...
  3. Replies
    12
    Views
    1,219

    Anyone know a good place for tutorial videos or...

    Anyone know a good place for tutorial videos or just plain tutorials not sure how to do a string search
  4. Replies
    12
    Views
    1,219

    so isn't char suit [3] ok since its makes...

    so isn't char suit [3] ok since its makes (0,1,2,3) giving 4?
    My ten card has to be represented in the input as the number "0" which i am finding difficult to change its value to 10 for obvious...
  5. Replies
    12
    Views
    1,219

    Also found this if (('2'

    Also found this
    if (('2' <= CARD) && (CARD <= '9')) VALUE = CARD - '2';
    else if ('J' == CARD) VALUE = 11;
    else if ('Q' == CARD) VALUE = 12;
    else if ('K' == CARD) VALUE = 13;
    else if ('A' ==...
  6. Replies
    12
    Views
    1,219

    There are always 5 its for 5 cards so like A=Ace...

    There are always 5 its for 5 cards so like A=Ace H=Hearts 2=2 etc so they are always in this format

    So for the arrays would I do something like

    char suit[3];
    char value[12];
  7. Replies
    12
    Views
    1,219

    Help with inputs

    Hey All
    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...
Results 1 to 7 of 7