i was in the process of experimenting with it when my compiler stopped working, if i could get the answer i can be satisfied i have learnt enough for todai
none at all, i was trying to study static ints and i have a seperate prblem, i was just curious as how to use them, theres no code cos my compiler wont even reconize int for sum reason :(
When posting something like this it is generally useful to include germane information such as why you believe it proves you don't get it or what difficulties you have compiling or linking the code.
In the snippet you provided you declare x, but never define it.
A member function named "getint" should probably return an int and not insert stuff into an output stream.