Hi,
I was trying to implement an indexing program that uses an inverted index file system, i.e. the progaram provides a weighting each document based on keyword method, once the keyword is...
Type: Posts; User: Abdi
Hi,
I was trying to implement an indexing program that uses an inverted index file system, i.e. the progaram provides a weighting each document based on keyword method, once the keyword is...
Is there a way to type cast the first argument of these functions ?
fputs(const *char, FILE *)
fgets(const *char, FILE *)
thanks in advance
Hi shiro,
here is the desired effect.
if X = "3132333446474849", then I expect an output something like:
the corresponding characters are 0
the corresponding characters are 1
the...
Sorry, monster
it is 166 not 266, that was my error
Hi,
I have program that converts 16 hex chars to 8-ascii characters
while testing, i have noted that the program generates a large unsigned chars figures such 266,239, 160...
How can I get the...
Hi,
I am testing a function that translates 16- hex characters to 8 ASCII characters the characters are unsigned characters, they produce a large numbers int the range 0 --> 255 which is
correct,...
Hi,
I was working on a program convert 16-HEXA-character key to be 8-ASCII-character key. apparently I am having problem for testing it because it producces strange symbols it also uses an...
Hi everyone,
the plain and cipher are strings of chars that are passed to decrypt function for decryption, the decleaaration of decrypt function is as
follows:
Decrypt ( ByteType *x, ByteType...
hi everyone,
I am working on a program that calls another function, the other
function has some variables which unsigned char the
function that I am working on has some temporary char arrays...
Hi everyone,
I would like to know how do we cast an argv[] if I want to check
whether it is equal to some integer number or decimal in C ?
another question what is the difference between...
Hi everyone,
I am working on a function that pads atring from the back,
it works well but it doesn't produce the right result. that means
I designed the function so that when given a string like...
Hi everyone,
I am woking on a program(little function)that pads a string to 8 characters if it is less than 8 characters, there is no compile error problem but some how the program crashes......
hi everyone,
I am trying to implement a program that converts a decimal into
Hex, I am having some problem it doesn't do the right computation, can anyone see any abnormality of my implementaion....
Hi Hammer,
I want definitely to make hex function work how can I achieve that the way you showed me is the way I could output(formatting) is that correct ? ....why it gives me negative numbers ?
Hi everyone,
I am working on a little function that calculates a decimal value of
a hexadecimal input, when I run the program it gives me negative
numbers and I cann't figure out why it doing...
hi everyone,
I was trying to run a program with three files( file1.c, file2.c and file3.h). I have my main in the file2.c and I put some prototype call from file1.c by using the keyword extern ...
Hi fellows,
I have little program here that I want to incorprate some more
commandline arguments and it would be run this way:
<proramname> rounds FFFFF ENC < fileIn > fileOut
...
Hi everyone,
I would like to implement a hashing program that is based on fiestel structure. the algorithm generates 64 bit digits hash value. it is CBC(cipher block chaining) mode. i.e ...
Can any one suggest just to get me started, how I can implement
a hash function that takes a string and returns a fixed length of that string ? just a big picture ....
Hi friends,
I am stuck with little problem, the program reads a file and stores
in str1, then I put a loop that extracts 4 words at time by using a counter, thanks to Mr.nutshell who gave me a...
Hi everyone,
I am working on program that scans a file and it stores the characters in array and I want extract each time 4 characters and do somehting with it, and then extract next 4 and so...
Hi everyone,
I was working on alittle program, the program reads
from a file and writes to another file by using the C library funtions
fgets and fputs , the program reads well but when it...
Hi everyone,
I set up two little functions that do enscryption and I want to incorporate those two functions into commandLine argument of the form <prog> file1.txt > file2.txt .
each one of...
Hi everyone
I have implemnted an encryption program that uses pbox and sbox, I tested the p_box and it is fine. but I have a problem for testing the s_box ,it returns strange simbols
can...
Hi everyone,
In my early message I was asking some help to get me started but I was not looking for how to do the whole task... Imagine being in my position having not many programming experience...