Tip On Porting C Programs From Windows To Unix?
- 0
- Add a Comment
- No Related Post
Dave, I read your books Teach Yourself Unix in 24 Hours and Wicked Cool Shell Scripts and, since then, I can’t imagine working again on a system like Windows!
My problem is that I’ve started to make my C files Unix-compatible but I can’t find a command for C in Windows that does the same thing as system(”cmd”) for Unix. Any suggestions?
This was a tough question, actually, because I haven’t done any Windows-level C programming in, well, more years than I want to talk about. Let’s just say it’s been a rather long time. ![]()
I do remember that the wonderful Unix system() call that makes it a breeze to invoke any other Unix command (or sequence of commands) from within a C program has no direct analog in the Windows programming world because of the fundamental differences in OS architecture.
To figure out how to best address this…
[Continue reading about Windows Unix C Programming at Ask Dave Taylor's Help Desk.]
