Ok, I've done it....basically. There isa bit of cleaning up needs to be done but this is it so far -:
using System;
using System.IO;
using System.Collections.Generic;
using...
Type: Posts; User: JST212
Ok, I've done it....basically. There isa bit of cleaning up needs to be done but this is it so far -:
using System;
using System.IO;
using System.Collections.Generic;
using...
Sorry, i was perhaps a bit unclear. The program is for a windows application. the user browses the directory and selects the file. SO I want to know how to read that file to a string, but with a...
Heaxadecimal, the text file containts only A-Z characters, which I want to convert to hexadecimal format. Then ouput the new string text to the richtextbox.
Thankyou Magos, The code has helped me and has got rid of much of the garbage I had in before! Now, using that code, where the file is now in the string, how can I now convert that to hex? and then...
Does anyone know how to store the contents of a file then read to a string array, then convert it to hex, then read it to a richtextbox and then read to a second string and convert it back to text...
I thought fgetc would return a char?? oh well, I did have int main (void) initially, but someone told me to change it. so the while func mentioned there would appear after a do loop presumably?,...
OK, time to have a laugh. I'm a first year digital forensics student and part of my course deals with C (ANSI C) programming. I have been given an exercise whereby I have to write a C program that...