| | |
path
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2004
Posts: 6
Reputation:
Solved Threads: 0
hi guys,
i have no idea how these lines work the given c program(see attachment).the program is about Read SEG-Y input data from disk file (stream of bytes)
to properly structured SEG-Y with proper IRGs on tape.The program didnt include any path of the file.does theses line works as path (i.e.frm the tape to the disk) as well.
fd_in_segy = open(argv[1],O_RDONLY);
fd_out_segy = open(argv[2],O_WRONLY);
i m bit confussed
bye
i have no idea how these lines work the given c program(see attachment).the program is about Read SEG-Y input data from disk file (stream of bytes)
to properly structured SEG-Y with proper IRGs on tape.The program didnt include any path of the file.does theses line works as path (i.e.frm the tape to the disk) as well.
fd_in_segy = open(argv[1],O_RDONLY);
fd_out_segy = open(argv[2],O_WRONLY);
i m bit confussed
bye
![]() |
Similar Threads
- help me set path (Java)
- Stroking path in Photoshop 5.5 (Graphics and Multimedia)
- VB.NET - Using streamreader with relative path. (Visual Basic 4 / 5 / 6)
- need help to make path for a line (C++)
Other Threads in the C Forum
- Previous Thread: Error when making an event procedure in Visual Basic
- Next Thread: binary file
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays asterisks binarysearch calculate changingto char character cm command copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic execv feet fgets file fork forloop framework function functions givemetehcodez grade graphics gtkwinlinux hacking histogram homework include incrementoperators input intmain() iso kernel keyboard km lazy license linked linkedlist linux list lists locate logical_drives looping loopinsideloop. lowest matrix microsoft motherboard mqqueue number oddnumber odf opensource overwrite owf pdf performance pointer posix problem probleminc process program programming radix recursion recv recvblocked research reversing scanf scripting segmentationfault sequential socket socketprograming spoonfeeding standard string student systemcall testing threads turboc unix user variable wab whythiscodecausesegmentationfault windowsapi





