Search:

Type: Posts; User: EUJeffrey

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,397

    Thanks that makes it a lot less confusing...

    Thanks that makes it a lot less confusing...
  2. Replies
    7
    Views
    1,397

    Ok, so it's just plain luck now... Can I...

    Ok, so it's just plain luck now...
    Can I determine the size of the newly allocated block (after malloc)?

    e.g. sizeof(s) or strlen(s) ? Will it return the allocated space?
    When I use these...
  3. Replies
    7
    Views
    1,397

    malloc doesn't do anything?

    I just recently started programming in C.

    I'm running into problems with Malloc. It seems like malloc doesn't do anything with my string?

    I have the following code:


    char *s;
    s =...
Results 1 to 3 of 3