Does anyone know a site that might have some information on algorithms/design for suffix trees for C++? I have to creat one from scratch and it's a bit tough because I don't have any idea on how to...
Type: Posts; User: myjay
Does anyone know a site that might have some information on algorithms/design for suffix trees for C++? I have to creat one from scratch and it's a bit tough because I don't have any idea on how to...
I didn't know that, ha, I would have made a loop to do it -- :)
my main fucntion is declared as follows:
int main(int argc, char **argv)
the name of the program is crypt.exe .. and the two arguments are supposed to be p and q which are integers...
...
can you only perform shift operations on ints, can youdo them on chars?
John
hmm, it says Bus error (core dumped) that's weird. considering it works fine if you print in hex or decimal
I have a pointer p that contains a valid address and am trying to print the MS 8 bits... since there isn't a way to do that in printf that i know of, i'm using a loop and it looks like...
...
I believe you can use the strstr() function...
char *strstr(const char *string, const char *substring)
char *myString = "@foobar@";
char *target = "foobar";
char *result
result =...
if (x=sob){
... what are you trying to do? are you trying to compare them? or are you assigning sob to x?
from your use of the if statement i'd say your comparing them... in this case it...
hahahaahhaah
nice -- i deserved that...
thanks man
john
while((quit=getc(stdin))!='q');
print crap
p ++;
i'm trying to make a loop that keeps going if the user pushes 'enter' and will quit when they...
hmm i got it to work... just i used sscanf to load the number, the other function was being dumb...
hmm okay thanks that works,, but now i have a new problem.. the user is supposed to input a 32 bit integer.. or a 8 hex digit l number (as a string first).. i am using the following to convert it to...
I was curious as to how if a user inputsa string: such as 08984732 (a hexadecimal form), and I convert it to an int, how can I print out the contents of the address with that number...
it's kinda...