Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c x 6
Member Avatar for kiki021600

This is the code I wrote for a calculator in C #include <stdio.h> int main (int argc, char **argv) { int i; int value; int total; char operator; total=atoi(argv[1]); for(i=2; argc>i+1; i=i+2) { operator=argv[i][0]; value=atoi(argv[i+1]); if(operator=='+') { total=total+value; } else if(operator=='-') { total=total-value; } else if(operator=='*') { total=total*value; } else …

0
68
Member Avatar for kiki021600

Hi Everyone I have to write a grep program in C and I am not sure where to start. :?: I need to use strstr() from the standard library, and get it to work; but I dont know how to do that. And that's only half the program, the second …

Member Avatar for frrossk
0
105
Member Avatar for kiki021600

hi I am trying to write a simple cat program in C but am getting very confused. I thought i knew where to start but I dont. the assignment says: You will be writing a simple version of the program "cat". It must accept as arguments any number fo filenames. …

Member Avatar for Narue
0
1K