-
lost disk
My disk is not totaly lost. There is data writen on it but because I started to format a disk then I canceled it when it just started I can't go back to the disk. Maby some data in the disk is not lost (all there is are important documents written in unicode format.) I want to read the bytes from the disk and then just do some copy and pasteing to recreate those files.
Before starting this project Iam new to Linux. What tools/compilers is there to code in C/C++?
Thanx in advance!
-
Gcc http://gcc.gnu.org/ is a popular compiler and comes with most if not all disributions. Gcc can compile c,c++ and a variety of other languages. KDevelop and anjuta are two popular development environments.
Mike
-
Thanx very much. I now know how to create a very simple GUI. I need to know 2 more things so I can restore what I can from my disk.
1. I need to know how I may read bytes of a disk. I tryed searching but I get tutorials for using functions to read files and do things with files. But I accedently tempered with the filesystem on the disk, thus I can't use those funtions to access my disk. So how can I read the bytes on a disk?
2. I want to put the information that I have collected from the disk to somewhere in memory so I can press CTRL+V to paste it all in a text editor and sort the data my self using copy and past functions in a text editor.
Thanx in advance!
-
-
Thank you very much. I am able to access my hardrive like that. But How do I access my floppy drive. I tryed for the first parameter to be "/mnt/floppy" but it accesses my hardrive.
Thanx in advance!
-
thank you very much. My files are still alive. The file system is corrupted but the files data are still there.
I want to copy the files data to memory so I can copy and paste it to a text editor and save it again. How can I copy it through code to the "clipboard" so I can press CTRL+V and paste it to a text editor like kwrite and then save?
Thanx in advance!
-
I'm not really sure you can but you could use a temporary file and go from there.
Mike
-
Thanx very much. I wrote it to a file and opened it all in a text editor. Now all I have to do is Copy & Paste :).