Search:

Type: Posts; User: STDSkillz

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,648

    Pointer from integer without cast

    Hello all,

    I had a question regarding strings and arrays, and how to properly use strcmp.

    I have an assignment where one of the objective is to have the user input a .txt file and to use C to...
  2. MacGyver, thanks SO much. The tmp = tmp + ... was...

    MacGyver, thanks SO much. The tmp = tmp + ... was the thing that was messing up the program, now it's working perfectly. And yes, the pow() function is limited, and my teacher mentioned that in...
  3. Yes, that's correct. I know it's weird, but we...

    Yes, that's correct. I know it's weird, but we are converting an integer to its binary equivalent, but that number is also an integer. This teacher just wanted us not to use strings and arrays. But...
  4. Err, sorry MacGyver. I guess I should have made...

    Err, sorry MacGyver. I guess I should have made it more clear on what exactly is happening.

    As I said in my first post, that code up there isn't the entire code of my program. This particular part...
  5. Converting digit to binary using the POW function

    Hello everyone,

    I'm sorry I haven't had a chance to make a proper introduction yet, but I've been reading your forums for some time and I finally have a question that I need help on. Thanks in...
Results 1 to 5 of 5