Search Results

Search: Posts Made By: ivancheung
Forum: Programming 10-07-2004
9,086
Posted By ivancheung
But this method of loading all the data and...
But this method of loading all the data and dumping the useful data back to the file works like putting the data to a newly created file. My question is whether there exist a more efficient library...
Forum: Programming 10-06-2004
9,086
Posted By ivancheung
anyway, thanks veru much ;)
anyway, thanks veru much ;)
Forum: Programming 10-05-2004
9,086
Posted By ivancheung
Isn't there any other clever and efficient way to...
Isn't there any other clever and efficient way to do that?
Forum: Programming 10-04-2004
9,086
Posted By ivancheung
how to insert and delete characters in the middle of file
I have a problem that I want to insert and delete some chars in the middle of a file. fopen() and fdopen() just allow to append at the end.

Is there any simple method or existing library that...
Forum: Programming 10-03-2004
5,129
Posted By ivancheung
problem solved again. ~~ thx
problem solved again. ~~
thx
Forum: Programming 10-02-2004
5,129
Posted By ivancheung
Driver, my problem is that i can't open 2...
Driver,

my problem is that i can't open 2 file stream in a function because there will be always runtime error. Can you show me the code that you can do that? Thanks.
Forum: Programming 10-02-2004
5,129
Posted By ivancheung
open file stream problem
I have faced a problem that I use 2 file streams in a function and try to fopen() both files. Then I can't get the file descriptor. But if I just use 1 file stream and 1 fopen(), then i can get the...
Forum: Programming 10-01-2004
5,437
Posted By ivancheung
Driver, Thanks very much. With your help, I...
Driver,

Thanks very much. With your help, I have solved the problem.

Ivan
Forum: Programming 09-30-2004
5,437
Posted By ivancheung
Driver, For your reference, my coe should be...
Driver,

For your reference, my coe should be like this and "file1.txt" is a regular file. Can you please help me to see why error occurs in this code? thanks again.

...
Forum: Programming 09-30-2004
9,876
Posted By ivancheung
Driver, thanks very much for help. I have...
Driver,

thanks very much for help. I have find the solution. Your code works.
Forum: Programming 09-30-2004
9,876
Posted By ivancheung
sorry Driver, i really can't figure out the...
sorry Driver, i really can't figure out the solution for my question with the code below that you posted. Would you please explain more with a simple code to do that? Thanks.

#include <termios.h>...
Forum: Programming 09-30-2004
5,437
Posted By ivancheung
error when using fseek() function
The errors EBADF & ESPIPE occur at this fseek call. Does anybody know how to solve this problem? Thanks in advance.

toFileStream=fdopen(localFileDes,"ra+");

if(fseek(toFileStream, 0,...
Forum: Programming 09-30-2004
9,876
Posted By ivancheung
hide password typing
I am doing a project in C program which requires to type in password in Unix terminal. Does anybody know how to shade or not output any words typed by user in the terminal?

I use the function...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 11:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy