User Profile

Collapse

Profile Sidebar

Collapse
zeebo17
zeebo17
Last Activity: Dec 15 '10, 09:14 PM
Joined: Jun 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I solved the problem: Windows will not rename or delete files while they are open.
    See more | Go to post

    Leave a comment:


  • 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 $!; ...
    See more | Go to post

  • I got it to work by using the absolute path when opening the file instead of the relative path. Thanks for your help!
    See more | Go to post

    Leave a comment:


  • zeebo17
    started a topic How to open and modify files in a subdirectory?
    in Perl

    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];
    ...
    See more | Go to post

  • zeebo17
    replied to Help with "identifier not found" error.
    in C
    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.... ;
    }
    See more | Go to post

    Leave a comment:


  • zeebo17
    started a topic Help with "identifier not found" error.
    in C

    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);
    and defined in the header file here:
    Code:
    int get_array_data(float range, float sobp, float total, float delivered, int spread);
    and called here:
    Code:
    int m_depth_bin = get_array_data(range,
    ...
    See more | Go to post
No activity results to display
Show More
Working...