General Discussions / Chit-Chat >> forum game: Who's next?
Share to Facebook Share to Myspace Share to Twitter Stumble It Email This More...

   
Tuesday 24 February 2009 - 08:22:36
OT: sexual thoughts on you??????? 0  lalalallalalal...are you kiddin me??? 0
 
BTT: archon

Tuesday 24 February 2009 - 08:27:24
Yep that me again.
 
At the moment :
 
#include <stdio.h>
#include <string.h>
char *myStrCpy(char *target, const char *source)
{
char *orig_target;
int i;
orig_target = malloc(strlen(target)+1);
for(i = 0; i < strlen(target); i++)
orig_target[i] = target[i];
while(*target++ = *source++);
return orig_target;
}
char *StrTok(char *strToken, char *delim)
{
static char c = 0;
static char *address;
static int sep = 0, start = 0;
int x = 0;
if(strToken != address && strToken != 0) {
address = strToken, start = 0, sep = 0;
} else if(strToken == 0 && sep == -1) {
return(0);
} else if(strToken == 0) {
address[sep] = c;
sep++;
start = sep;
}
while(address[sep] != 0)
{
while(delim[x] != 0)
{
if(address[sep] == delim[x])
{
c = address[sep];
address[sep] = '';
return(address + start);
}
x++;
}
x = 0;
sep++;
}
sep = -1;
return(address + start);
}
int main()
{
char *s1;
char *s2;
char *token;
char *phrase;
char *t = NULL;
int i;
s1 = (char *)malloc(255*sizeof(char));
s2 = (char *)malloc(255*sizeof(char));
phrase = (char *)malloc(255*sizeof(char));
token = (char *)malloc(255*sizeof(char));
printf("Dwse string 1: ");
scanf("%s", s1);
printf("Dwse string 2: ");
scanf("%s", s2);
printf("Prin thn myStrCpy: %s - %s - %sn", t, s1, s2);
t = myStrCpy(s1, s2);
printf("Meta thn myStrCpy: %s - %s - %snnn", t, s1, s2);
getchar();
i = 0;
printf("Dwse frash: ");
fgets (phrase, 255, stdin);
printf("Dwse token: ");
fgets (token, 255, stdin);
token = StrTok(phrase," ");
while(token != NULL) {
printf("t [%s]n", token);
token = StrTok(NULL, " ");
}
printf("n%sn", phrase);
system("pause");
return(0);
}
 
Freaked out?  0
 
Next will be MenstrualBubbles.


Tuesday 24 February 2009 - 08:42:31

citation :
1Archon1 say : Yep that me again.
 
At the moment :
 
#include <stdio.h>
#include <string.h>
char *myStrCpy(char *target, const char *source)
{
char *orig_target;
int i;

 
 
I Hate PROGRAMMING...0
 
BTW, YOU ARE OUT OF TOPIC...+1 Warning 0


Tuesday 24 February 2009 - 08:45:59
I Hate it too..... but i had to study it.
How much warnings i have left?  0
 
 
So next will be the Forum's Goth Queen asmodelica 0

Tuesday 24 February 2009 - 09:11:04
am not a goth queen am king of thrash


archon in next


Tuesday 24 February 2009 - 09:18:19
Yeah its me and my rotting body...
And sure you are a King of Thrash my friend.
 
But i insist next will be Asmodelica.

Tuesday 24 February 2009 - 09:20:37
heheheheheh , you are wrong

next archon


Tuesday 24 February 2009 - 09:21:19
0 0 0
 
^I didn't cheat...hehehhe
 
Archon "the vegie"

Tuesday 24 February 2009 - 09:25:27
Through my Rotten body, Vegetable will grow and i 'll Live for an eternity...(or at least until CreatioExMateria eats me 0  )
 
And i know next is Bloody6strings.

Tuesday 24 February 2009 - 09:28:16
you are right
next is the Rotten vegetable archon