Quantum Random Bit Generator

This is a discussion on Quantum Random Bit Generator within the C++ Programming forums, part of the General Programming Boards category; Somehow both Winsock and Winsock2 are being used. You should only be using one (probably Winsock). Can you check your ...

  1. #61
    Registered User
    Join Date
    Jan 2005
    Posts
    7,328
    Somehow both Winsock and Winsock2 are being used. You should only be using one (probably Winsock). Can you check your project and look for references to or includes of Winsock2 or Winsock2.h?

  2. #62
    Registered User
    Join Date
    May 2008
    Posts
    81
    awesome! that worked.

    FINALLY!

    one last qtion...how do i, er, run the program in VS ? I confirmed it runs by clicking the debug button.

    Thanks for all your help Daved!

  3. #63
    Registered User
    Join Date
    Jan 2005
    Posts
    7,328
    >> how do i, er, run the program in VS ?
    Execute (Ctrl-F5) works. It's an exclamation point icon. It's possible it has changed in VC++ 2008 but I doubt it.

    You should also consider building it in Release mode. That will add optimizations and make it run much faster.

    >> Thanks for all your help Daved!
    Your welcome. Glad it's working.

Page 5 of 5 FirstFirst 12345
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with random number generator
    By Niss in forum C Programming
    Replies: 6
    Last Post: 10-01-2008, 06:03 PM
  2. Replies: 1
    Last Post: 09-04-2007, 05:31 AM
  3. Random card generator
    By Loic in forum C++ Programming
    Replies: 13
    Last Post: 08-11-2007, 02:28 PM
  4. Random number generator between 0 and 1
    By Lord CyKill in forum C# Programming
    Replies: 1
    Last Post: 03-29-2007, 08:03 AM
  5. Fast normal random number generator
    By testing123 in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2006, 10:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21