HI Everyone !
Do anyone know how to split string ? Especially this one .
Do anyone know funtion "__DATE__" , it show month/date/year. you know ,it is string so i want to separate it because i need month to make condition.
chamnab
0
Junior Poster in Training
Recommended Answers
Jump to Postvivek.kumar: your code is good, but you forgot the void before the function definition and you forgot the '\0' for split2. And I would add a parameter for the delimiter that you use to split the strings.
void split(char *original, char * split1, char * split2, char …
All 5 Replies
vivek.kumar
0
Newbie Poster
alaa sam
commented:
you should tell him how to do it not to do it for him , it's his homework not yours
+0
alaa sam
-2
Junior Poster
chamnab
0
Junior Poster in Training
Nandomo
-3
Junior Poster
chrjs
42
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.