User Profile

Collapse

Profile Sidebar

Collapse
teamphil06
teamphil06
Last Activity: Feb 27 '07, 05:24 AM
Joined: Feb 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • teamphil06
    replied to Array of strings sorted
    in C
    thats it, i don't know how to do it the sorting part, thats y i need your help...
    See more | Go to post

    Leave a comment:


  • teamphil06
    replied to Array of strings sorted
    in C
    Code:
    #include<string.h>
    main (void){
    	char name[20][20];
    	int i,x;	
    	char hold;
    	clrscr();
    		for(i=0;i<=4;i++){
    		printf("Enter the Names:\n",i);
    		scanf("%s",&name[i]);
    		}
    
    		//sorting//
    	
    
    		for(i=0;i<=4;i++){
    		  for(x=i;x<=4;x++){
    			name[i]="abc";
    			hold[x]="afs";
    ...
    See more | Go to post

    Leave a comment:


  • teamphil06
    started a topic Array of strings sorted
    in C

    Array of strings sorted

    Code:
    #include<string.h>
    main (void){
    	char name[20][20];
    	int i;
    	clrscr();
    	for(i=0;i<=4;i++){
    		printf("Enter the Names:\n",i);
    		scanf("%s",&name[i]);
    		}
    
    		//sorting//
    		
           for(i=0;i<=4;i++){
    		printf("%s\n",name[i]);
    		}
    	getch();
    	return 0;
    }
    here's my running program,...
    See more | Go to post

  • teamphil06
    replied to 2-dimensional array bubble sort
    in C
    hi can anyone help me about my proj??
    i'm 4th year h.s student...
    my instructor hav me a special proj. for my failing grades...
    here is my proj.
    ::Array of names at least 5 names, sorted alphabetically: :
    i'll for the response...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...