Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sophtwarez
  • Content: Threads
  • Order by date
  1. sophtwarez

    Visual C++ strings

    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...
  2. sophtwarez

    Random number generation

    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

Part and Inventory Search

Back
Top