Search:

Type: Posts; User: bgbfflochp

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,915

    ok, so fgets() parameters are: fgets(string...

    ok, so fgets() parameters are:

    fgets(string for the input, the limit for amount of input, input/output...etc...) ?

    I'm sorry I couldn't word that any better.


    PS, hk_mp5kpdw...your name...
  2. Replies
    11
    Views
    1,915

    one last problem (I hope)... I need to check...

    one last problem (I hope)...

    I need to check the string for char values and put them into another string...that away I don't have any ints, doubles, etc...should the user type them in as part of...
  3. Replies
    11
    Views
    1,915

    *(pointer1 + strlen(string) -1) = '\0'; I got...

    *(pointer1 + strlen(string) -1) = '\0';

    I got that line of code to work.

    One more question though:

    code:

    fgets(string, sizeof(string), stdin);
  4. Replies
    11
    Views
    1,915

    First off, I would like to thank you for all the...

    First off, I would like to thank you for all the help so far...you've definitely helped me figure out how some things work/don't work.
    I appreciate it.



    code:

    string[strlen(string)-1] =...
  5. Replies
    11
    Views
    1,915

    still having problems.

    I changed my header file to the code in the link to see if it would even work.

    Using my same driver as posted above...and the following new header file:

    int palindrome(char *text) {
    char...
  6. Replies
    11
    Views
    1,915

    Ok, I just figured it would take up too much...

    Ok, I just figured it would take up too much space on the message boards.

    The goal of this project is to test a sentence (inputted by the user) to be a palendrome or not. A palendrome is a...
  7. Replies
    11
    Views
    1,915

    need more help with pointers and strings

    If anyone has any free time whatsoever, I would love to email them my short program. I'm having a ton of trouble getting my strings and pointers to agree. I'll be glad to email them my goal for the...
  8. Replies
    2
    Views
    958

    help with strings

    I'm writing a program...and I don't fully understand strings and pointers at the moment.

    I'm taking in a sentence from a user using the gets() function.
    How can I determine how long the string...
Results 1 to 8 of 8