Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

char array read

Name: fucking idiot 2009-06-01 21:07

    c++ (maybe c) question time
    i need to make a string class. i'm not allowed to use the c++ one.
    so what i don't get is how the fuck i read a string and save it into a array. i mean, i just don't see how. i've been looking around but i don't find anything that fits what i need
    all i need is that. reading a string and saving it into an array. if someone can guide me i'd be thankful.

    also it has to be dynamic, so no char arr[1000000000000000]

Name: Anonymous 2009-06-01 21:21


>>1:1:0:
    Couldn't match expected type `[a]' against inferred type `Maybe a1'
    In the first argument of `(++)', namely `c'
    In the expression: c ++ maybe c
    In the definition of `it': it = c ++ maybe c
(0.01 secs, 0 bytes)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List