Search:

Type: Posts; User: overclocking

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    692

    I was unaware of that function, thank you. How...

    I was unaware of that function, thank you. How could I implement that to print an array. I have my array set up so that it loops through and prints each char to screen one at a time... like this.
    ...
  2. Replies
    4
    Views
    692

    If statement woes

    Hello, I am trying to avoid reading non printable characters from a file, I was wondering if there is an IF statement that I could use to tell fgets or fgetc that when is sees a ascii value between...
  3. Is the string a predefined string? As in its...

    Is the string a predefined string? As in its always going to be the same, or is it something the user inputs and can be changed?
  4. My above code works OK for pulling in a simple...

    My above code works OK for pulling in a simple string and storing it. My question now is, lets assume this test.txt is filled with random text and numbers. How can I populate my array with one...
  5. Thanks, Its starting to make a little more sense,...

    Thanks, Its starting to make a little more sense, As I get more exposure like this, I am understanding it better.

    So is it possible to use fopen to open a file, use fgets to read the data into a...
  6. Getting a general understanding how this stuff works.

    So I'm trying to build up my fundamental knowledge of how this stuff works. And I have a few easy questions that would help an entry person understand how things work. I have read a few write ups and...
  7. No, it does help. I am so new that I have yet to...

    No, it does help. I am so new that I have yet to adopt a style. I am mostly a parrot right now, so If I see some style that I like, I attempt to duplicate the style. I am still trying to adopt good...
  8. ... cant believe I missed that Thanks!! ...

    ... cant believe I missed that

    Thanks!!

    Now to figure out how to loop character by character. I want to put a space between each character in the txt file and convert it to binary.
  9. Very simple, basic program with error.

    Im testing a file open program that will read in a file I have. I keep getting an error

    whats a token? and what does this error mean... usually when I see this I forgot a string terminator

    ...
  10. Replies
    3
    Views
    617

    Thank you that's very helpful!

    Thank you that's very helpful!
  11. Replies
    3
    Views
    617

    New to coding, easy question.

    I have a simple question. In C how can I initialize a variable that is not a letter or number?

    For example with a number I can :



    int i = 5;
    for ( i = 0; i <=5; i++ );
    printf( "%d", i )
Results 1 to 11 of 11