Search:

Type: Posts; User: radiohead

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,639

    You could read the line until you reach '\0' with...

    You could read the line until you reach '\0' with a while loop



    while(line[index] != '/0')


    and just read the line through.
  2. Thread: Colors in C?

    by radiohead
    Replies
    15
    Views
    4,771

    You can use escape sequences to make your code...

    You can use escape sequences to make your code more portable.

    http://www.termsys.demon.co.uk/vtansi.htm
  3. Replies
    3
    Views
    2,060

    Ok, thanks alot. All the errors did go away, but...

    Ok, thanks alot. All the errors did go away, but I still have the same problem with the pointer manipulation. It is still deleting the filename and just adding "ogg" to the back of the filetype.
    ...
  4. Replies
    3
    Views
    2,060

    Pointer Manipulation with strcat()

    Hey, I have aquired a massive amount of .wma's from my father, and I have a command to convert the .wma's to .ogg's. I am gonna try and code a program that would do all of this for me. The program...
  5. Replies
    2
    Views
    1,216

    ahhh, thanks alot. That helped tremendously. ...

    ahhh, thanks alot. That helped tremendously.

    EDIT: cool, thanks alot. This is what I end up with.



    #include <stdio.h>

    int main(int argc, char *argv[])
    {
  6. Replies
    2
    Views
    1,216

    Better Coding Way?

    Hi, in a book that is teaching me C, I have an exercise to where I need to code a change counter as long as the monitary value is under $1.00. If you look at the code, you can see what is going on....
  7. Replies
    2
    Views
    1,655

    ah, thanks

    ah, thanks
  8. Replies
    2
    Views
    1,655

    Segfaulting Distance Program

    I got a book that one of the excersises is to write a program to tell the distance of something. I have the program written, but it segfaults where I put the comment.



    #include <stdio.h>...
Results 1 to 8 of 8