![]() |
| | #1 |
| Registered User Join Date: Jan 2008
Posts: 64
| POSIX programming in Windows? Code: #include <unistd.h>
int main() {
char mycwd[255];
if (getcwd(mycwd, 255) == NULL) {
perror ("Failed to get current working directory");
return 1;
}
printf("Current working directory: %s\n", mycwd);
return 0;
}
|
| jw232 is offline | |
| | #2 |
| Registered User Join Date: Mar 2003
Posts: 3,844
| I couldn't find that quote... Closest thing I found: Windows Vista - Wikipedia, the free encyclopedia Related info: Porting from UNIX to Win32 /SUBSYSTEM (Specify Subsystem) http://www.cygwin.com/ gg Last edited by Codeplug; 10-25-2009 at 09:06 AM. |
| Codeplug is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anyone using Windows 7? | Sharke | General Discussions | 60 | 07-12-2009 08:05 AM |
| Dialog Box Problems | Morgul | Windows Programming | 21 | 05-31-2005 05:48 PM |
| dual boot Win XP, win 2000 | Micko | Tech Board | 6 | 05-30-2005 02:55 PM |
| SDL and Windows | nickname_changed | Windows Programming | 14 | 10-24-2003 12:19 AM |
| IE 6 status bar | DavidP | Tech Board | 15 | 10-23-2002 05:31 PM |