First of all the code for aes cryptographic function : void xorcrypto(u_int8_t *key, u_int32_t keylen, u_int8_t *data, u_int32_t datalen)
Related to my previous post but its not a duplicate of that.Now I have tried something and Here I am asking you about the logical error in code.
The output of the program is this : Although correct contents (for now only when trying to decrypt producing wrong result)
#include <stdio.h> int main () { FILE *fp; char ch; char data[100]; int i; fp = fopen(\"file.txt\",\"r\");
The following code is giving segmentation fault....Why ????? event tried with fputc I think there might be a silly error i am not able to get..but don\'t have enogh time.
I am trying to read a text file containing characters in billions. Using the function contentOfFile is not working, asmy application get crashed due to it.
Is there a way to do this? I use CreateFile with the FILE_FLAG_POSIX_SEMANTICS flag to create files with case-sensitive names. Now I need something 开发者_StackOverflowlike that for directories too.
I Have written a server and a client to implement FTP and if i create text files and send them they work fine . but as soon as i send files of other formats the received file on the clientsend is a co
i am trying to create a text file in a folder 开发者_开发问答(called AMCData). The file is called \"File\" (for the sake of this example).
I need to create a directory using NSFileManager into another directory that requires an administrat开发者_高级运维or\'s password to allow a change in its content. How can this be done?The simplest wa