Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
64% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
5 Commented Posts
0 Endorsements
~706 People Reached
Favorite Forums
Favorite Tags
c x 9
Member Avatar for nelledawg

Ok so here is the code I've written already, as well as the errors I get when I try to build. Please help me figure out what the problem is! [code=c] #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define COMPANY "Rocklin Realty" #define TRUE 1 #define TAB 25 void …

Member Avatar for jephthah
1
260
Member Avatar for neknek

I have problems with searching & sorting strings in a file... I want to alphabetize the string so I did this [CODE]{for(x=0; x<100; x++) { for(c=x; c<15; c++) fscanf(stdin, "%s", student[c]->surname); if(strcmp(student[c]->surname,student[c+1]->surname)<0) {strcpy(temp,student[c]->surname); strcpy(student[c]->surname,student[c+1]->surname); strcpy(student[c+1]->surname,temp); strcpy(temp,student[c]->name); strcpy(student[c]->name,student[c+1]->name); strcpy(student[c+1]->name,temp); strcpy(temp,student[c]->number); strcpy(student[c]->number,student[c+1]->number); strcpy(student[c+1]->number,temp);} } }[/CODE] when i run the program, it just …

Member Avatar for ssharish2005
0
103
Member Avatar for barbiegirl

hi everyone, i was writing an application, with the c language, which asks the user to give the number of strings to sort, and then sort'em, but i had some problems that i can't figure out, would u please help me [CODE]#include<stdio.h> #include<stdlib.h> #include<string.h> void getting(char *words[], int num); void …

Member Avatar for barbiegirl
0
111
Member Avatar for barbiegirl

hi everyone :), i wanted to create a little program with makes the divisions of the elements of a table i wanted to create a loop which will indicate if there's a number in the table then we should c "the division cannot be made", if not we will get …

Member Avatar for barbiegirl
0
182
Member Avatar for barbiegirl

hi everyboody, i am barbie girl :), i know its not a real name but this is how everybody calls me, n i like it, well i hope we gonna learn much from here, c u[B][I][/I][/B][COLOR="Red"][/COLOR]

Member Avatar for zandiago
0
49