hammer,
I want to include file without suffix as well
Can you help me fix the code? I already write them
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Type: Posts; User: The gib
hammer,
I want to include file without suffix as well
Can you help me fix the code? I already write them
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Hammer,
You are the best. :)
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
};
So, what should I write in code?
I already try write some code,but fail
Is there a reference related to recognize the suffix?and sort them out?
The binary tree part is part is already done.
I just need compare() and lastindex().
Hammer,
What do you suggest I should do in comparefunction and lastindexdot()?
So, what should I do.
I need lastindexdot() to recognize every string. Should i eliminate one function.
Insertion() is not overengineer. It is a a recursion.
I only have problem with...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
};
new version,
:eek:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define size 15
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
I have trouble connecting comparefile and lastdotindex suffix
Help!
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define size 15
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
I understand you are using strcmp to compare two string.
However, i don't understand the return value 16.
I know you cut off the first value by using strrchr.
Can you please elaborate on...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct treenode {
char filename[256];
struct treenode* leftchild;
struct treenode* rightchild;
};