First off let me say that I appreciate any help that I recieve.
Okay, here is my problem:
I am writing a simple encryption program that will encrypt text files. The encryption key to decrypt the files is held at the very beginning and is seperated by a tab from the rest of the files.
Example:
2344321[tab]afldsfjkasldfkjasljkfsajfal;kf;lkkl;adfkl;a.
My question is how would I go about reading the first few numbers from the tab and then continue to read the other characters. I am using rand to generate the key and I seeded it with the time.
My main problem is taking in the numbers on as a whole integer instead of passing them into an array. How would I go about doing this and still be able to scan the rest of the file.
I appreciate any assistance.



LinkBack URL
About LinkBacks


