Search:

Type: Posts; User: kokopo2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    4,919

    1) yeah i agree with u quzah, seems dumb of me to...

    1) yeah i agree with u quzah, seems dumb of me to allocate memory to a ptr i don't use.

    the idea is i want to ask for the size of the string from the user, and
    allocate the memory of that size...
  2. Replies
    8
    Views
    4,919

    memory allocation ptr to array? how?

    hi people,

    i am having some problems, perhaps understanding about how dynamic memory allocation works with pointers and arrays.

    Im trying to get the user to input the size of the string in my...
  3. Replies
    2
    Views
    4,289

    MIPS instructions

    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>
    #include <stdlib.h>

    struct VarData{
    unsigned long var;
    };
  4. Replies
    7
    Views
    5,821

    Hi guys, i like to thank all who has helped me so...

    Hi guys, i like to thank all who has helped me so far. I managed to come up with some sort of code, to find the invalid string. e.g -8ha .
    However im having problems getting it to print whether is...
  5. Replies
    7
    Views
    5,821

    sorry if i portray my qn not clearly enough... ...

    sorry if i portray my qn not clearly enough...
    but i really like to thank you for your time...
    i would like to create a program which reads the content of the file and
    break it into 'words'....
  6. Replies
    7
    Views
    5,821

    token into array.

    i see the problem now.
    i believe i want to put the token into the array
    but im having problems getting the token into an array
    i tried char array[] = tokenPtr;
    but returns a error, initializer...
  7. Replies
    7
    Views
    5,821

    Pros pls help, Pointer to array

    Hi, im trying to find out of the content of the file is a number, not a number(operator/ char) and invalid number.

    number = 12, -14 etc
    not a number = +, -, /, *, da, etc
    invalid number =...
Results 1 to 7 of 7