So - does Microsoft support normal strings ala <string.h>?
As I go through the documentation it seems they have a special Win32 class called CString if you include <afx.h> but after including it I get serious linker problems when trying to execute.
Sample code:
#include <iostream.h>
#include...
Hello all - how can I generate a random number *at run time* in C++? I'm thinking of something like Visual Basic's Rnd or, in Java, Math.random().
I've used rand() and it always generates the same number after compilation.
Thanks much,
dav1d
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.