| PLEX86 | ||
|
No such file or directory" in Batch mode 7354Hi Roger, Roger Leigh regarding unix specific commands 7355 fidlee Well, the program is kind of boring, and I would not use that indenting style. If you change the printf to: printf("Process id is %un... That would be something for my employer to decide. I will try to mention it 'though. I am using gcc-lib-i386-redhat-linux-3.2.2 . I figured out what my problem was and outlined it in my reply to Giovanni. regarding unix specific commands 7356 Let me inject something here that needs to be said *before* you get too far out on a limb and end up cussing Linux because you ended up on the ground with a... When I started using C, an int could be 2 of 4 bytes. I guess a long can be 4 bytes on Windows and 8 on Unix. 2 byte variables tend to give me problems with alignment. (I develop code to run on Windows as well as Unix-Linux. Sometimes the errors are higher level and application specific. They would not be defined by the compiler. It seems that the subject of Hungarian notation makes politics and religion seem fairly innocuous by comparison. I often find it quite helpful when I am using something like gdb. It may not be quite as useful for FILE*, but when I am using several layers of reference in large code blocks, it becomes quite useful. Seems like a more complicated way to do the same thing. What is wrong with perror() Thanks. The problem was an invisible character. I doubt it would have shown up in string outputs. I found it with od (octal dump). Thanks, Peter.
|
||||
regarding unix specific commands 7355 Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||