2 Discussion / Question Topics

Remove Filter
Member Avatar for techgenie

Hi guys I am working on a Lottery program to generate 6 unique numbers. So far I have the following: CLASS LOOKS LIKE THIS: [code=cplusplus] #include "stdafx.h" #include <string> #include <ctime> #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers class Lottery // Lottery class definition { public: …

Member Avatar for skatamatic
0
285
Member Avatar for techgenie

Hey guys Need help with the following program. I keep getting compilation error `error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'void' (or there is no acceptable conversion)` Apparently I am not able to pass by reference however it works well when I …

Member Avatar for Freaky_Chris
0
337