User Profile
Collapse
-
I solved the problem: Windows will not rename or delete files while they are open. -
Unlink/rename works on linux, not working on windows??
Hi,
When I run my program on a linux machine it opens, renames, and unlinks the files as expected. However, when I run it on Windows it will not rename or unlink the files. Since it is opening and reading the files correctly, it seems that the problem is not in the difference between the path name styles.
Here are the relevant parts of the code:
[CODE=perl]
open(INFILE, '<', $the_infile) || die $!; ... -
I got it to work by using the absolute path when opening the file instead of the relative path. Thanks for your help!Leave a comment:
-
How to open and modify files in a subdirectory?
Hi,
I have a list of file names and path names and I want to cycle through each file and modify it. I have tried something like:
Code:for($i=0; $i<10; $i++){ opendir(MYDIR, $path[$i]); #where the paths are in the form "/dir1/dir2/" $the_infile = $filename_list[$i]; #where the filename_lists are in the form "filename.str" $the_outfile = 'fixed_'.$filename_list[$i];
-
Oops sorry I pasted that wrong, the function is defined as
Code:int CCleanViewDlg::get_array_data (float range_input, float sobp_input, float total, float delivered, int spread){ ...BLAH.... ; }
Leave a comment:
-
Help with "identifier not found" error.
Hi,
I have a function get_array_data in a visual C++ code which is defined here:
Code:int CCleanViewDlg::get_array_data (float range_input, float sobp_input, float total, float delivered, int spread);
Code:int get_array_data(float range, float sobp, float total, float delivered, int spread);
Code:int m_depth_bin = get_array_data(range,
No activity results to display
Show More
Leave a comment: