No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi all; I am so new in C.I have problem about array .I want to remove same element in array but i dont know how can i do. Can anyone help me example : 1,2,3,5,67,31,13,5,2,1,1,4, the program should produce -->>1,2,3,5,67,13,31 | |
[code=language] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char *arr[],int size) { int unique = 0; /* The length of dst after removing duplicates */ int n=size; char *dst[n]; /* The … | |
[code=language] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char **arr,int size) { int unique = 0; /* The length of dst after removing duplicates */ int n=size; char *dst[n]; /* The … | |
Hi all; I have problem in C. the problem is ,Here is my code [code=syntax] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char **arr,int size) { int unique = 0; /* … | |
Hi all; i have some problem with my code.. I want to read txt file which include : rectangle 0 0 1 1 orange rectangle 0 1 1 1 green rectangle 0 2 1 1 white rectangle 0 3 1 1 orange rectangle 0 4 1 1 white rectangle 0 … |
The End.