Search:

Type: Posts; User: Abdi

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    4,493

    about inverted indexing program

    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...
  2. Thread: quick help

    by Abdi
    Replies
    3
    Views
    1,504

    quick help

    Is there a way to type cast the first argument of these functions ?

    fputs(const *char, FILE *)

    fgets(const *char, FILE *)


    thanks in advance
  3. Replies
    7
    Views
    1,852

    Hi shiro, here is the desired effect. if X...

    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...
  4. Replies
    7
    Views
    1,852

    Sorry, monster it is 166 not 266, that was my...

    Sorry, monster
    it is 166 not 266, that was my error
  5. Replies
    7
    Views
    1,852

    really got stuck with unsigned chars

    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...
  6. Thread: Quick help

    by Abdi
    Replies
    1
    Views
    866

    Quick help

    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,...
  7. Replies
    1
    Views
    1,619

    about testing a program

    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...
  8. Replies
    2
    Views
    839

    about casting problems

    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...
  9. Replies
    2
    Views
    839

    Help for compilation and type casting

    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...
  10. Replies
    10
    Views
    4,859

    How do we cast an argv[]

    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...
  11. Replies
    4
    Views
    2,213

    about a function that pads string

    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...
  12. Replies
    1
    Views
    4,318

    help for function "pad string"

    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......
  13. Replies
    2
    Views
    1,834

    about decimal to hex progam

    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....
  14. Replies
    4
    Views
    950

    I need Hex function to work

    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 ?
  15. Replies
    4
    Views
    950

    Hexadecimal function problem

    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...
  16. Replies
    3
    Views
    1,610

    compilation problem

    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 ...
  17. Replies
    2
    Views
    1,020

    about commandline arguments

    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
    ...
  18. Replies
    1
    Views
    896

    about hash function

    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 ...
  19. Replies
    2
    Views
    2,361

    implement hash program

    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 ....
  20. Replies
    1
    Views
    1,780

    strange edffect of "fputs"

    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...
  21. Replies
    1
    Views
    1,012

    about character processing

    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...
  22. Replies
    2
    Views
    869

    about function "fgets"

    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...
  23. Replies
    3
    Views
    1,724

    about reading character from a file

    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...
  24. Thread: little encryption

    by Abdi
    Replies
    1
    Views
    997

    little encryption

    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...
  25. Replies
    0
    Views
    1,524

    Encryption/Decryption -- Correction

    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...
Results 1 to 25 of 28
Page 1 of 2 1 2