Search:

Type: Posts; User: tibegato

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    7,141

    Cause

    I asked ... for learning purposes.

    There's millions of things we learn, we don't actually use. I saw a post were you could toggle case of a string with a bitwise operation:
    ...
  2. Replies
    13
    Views
    7,141

    Ok

    First off thank you, for your corrections on the code sample. You are correct.

    Second, no one asked if comparing strings using bitwise operators was good or bad. Just want to know how. ...
  3. Replies
    13
    Views
    7,141

    Why?

    I just don't want to use any built-in functions. Also, want to learn something.

    Otherwise, I can just use if (a == b).
  4. Replies
    13
    Views
    7,141

    String comparison using bitwise logic?

    How do you use bitwise logic to compare char *?

    char *a = "car";
    char *b = "carb";
    char *c = "";

    //bitwise logic
    //if a equals b print "yes"
  5. Replies
    5
    Views
    1,420

    I am using c syntax. Anyhow, I still want to...

    I am using c syntax.

    Anyhow, I still want to do it without using any libraries. These functions need to be "pure", generic'ish, and easily be modified.

    I know, my first approach has BIG...
  6. Replies
    5
    Views
    1,420

    Filling arrays

    I'm taking in an input string, parsing it, and separating the items into arrays. From what I can tell, everything is getting parsed correctly. But, If I iterate of the arrays, I don't get the...
  7. Replies
    1
    Views
    1,965

    Pulling words from a char buffer

    I'm just learning c and I barely understand what I'm doing. I have a buffer and I want to chop a word off the front, one at a time and then do something with it. Guess, I need a pointer to the...
Results 1 to 7 of 9