hello,
i'm wondering if anybody out there could point me to a tutorial or FAQ on porting a unix C program to windows?
specifically, i'm getting an error when i compile with the following functions defined:
to seed srand. the error is:Code:srand( (unsigned)time( (time_t *) 0 ));
'time': identifier not found, even with argument-dependent lookup
also,
with the same error code. it may be my headers are incorrect, so i'll list them too:Code:mkdir(theFolder, 00777);
#include <iostream>
#include <tchar.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
any help or advice would be appreciated. i'm using visual studio to compile.