Search:

Type: Posts; User: CaptainQcumber

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    9,816

    So heres my failed attempt at trying to fix this...

    So heres my failed attempt at trying to fix this horrid code using char **'s.



    int main()
    {
    char *dynamic_string;
    char **string_ptr;
    int i=0;
  2. Replies
    7
    Views
    9,816

    Ah I thought it would be something along those...

    Ah I thought it would be something along those lines, I originally did all the allocating inside of main and only had the user_input function hold the scanf() code to input the string, but then...
  3. Replies
    7
    Views
    9,816

    Dynamic string input

    So I'm trying to create a dynamically allocated user input string. I thought I had everything figured out but theres seems to be a problem when my program reaches 16 char's. Any string smaller than...
Results 1 to 3 of 3