Name:
Anonymous
2008-07-29 19:29
#include <stdio.h>
int main(int argc,char argv*[]){
int i = 0;
int BUFFA;
while(argv[i]!='\0'){
if(argv[i]='a')
BUFFA++;
else if(argv[i]='b')
BUFFA--;
else if(argv[i]='c')
printf("%i\n",BUFFA);
else printf("%s","Error.\n");
}
}
Name:
Anonymous
2010-08-18 20:37
>>328
So write a couple of functions when you need them. It's not that hard.
Name:
Anonymous
2010-08-19 2:34
>>330
If you only use a couple of them (which realistically you will), it's only a couple of functions.