Image

Imagelavandergirl wrote in Imagecpp

I don't get it ... writing a windows forms app in c++ .Net 2003, i cant get used to all these namespaces an stuff but im actually starting to like it, except the MSDN example of srand causes an error:

srand((unsigned)time(NULL));
Form1.h(35) : error C3861: 'time': identifier not found, even with argument-dependent lookup

I have included time.h in Form1.cpp, and including stdlib.h their makes rand() work ok, so whats up with my srand?