Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
40% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
Ranked #22.5K
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for bbman

Help random numbers rand() returns same numbers I am trying to make a blackjack program which uses srand() with time as seed to determine random number of card between 1-10. Two problems, one is that the first three returned numbers are always similar and one digit or so more than …

Member Avatar for Narue
0
162
Member Avatar for tomtetlaw

I'm trying to make a Windows application but I get the error in the title. I am running Windows XP Professional and using VC++ 2008. Here is how I call my code: [code=c++] WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = 0; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; …

Member Avatar for tomtetlaw
0
493
Member Avatar for Wej00

Just got back into C++ a couple months ago. Mainly, my plan is to get into game development. Hard field to get into, I know, but through school and a hopeful internship this summer, I will be able to fight my way in. I am currently learning SDL and I …

Member Avatar for Banfa
0
1K
Member Avatar for aplh_ucsc

Can u guys help me to find errors of this programme! [CODE] #include<iostream> #include<conio> #include<string> using namespace std; string employeeName; int employeeNumber; double employeeSalary; char employeeType; class Employee{ private: string employeeName; int employeeNumber; double employeeSalary; string employeeType; public: void promotion(){ calc_salary('pr'); } void demotion(){ calc_salary('de'); } void calc_salary(char ch){ float …

Member Avatar for Narue
0
93
Member Avatar for trickx

hi!..i really need some help.. i need to print a pyramid pattern shown below in c++ language using a nested for loop... 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 …

Member Avatar for subtracktor
0
132
Member Avatar for undertaker705

Hi, When I compile my class, I find a serious error C2558 no copy constructor available or copy constructor is declared 'explicit' My copy constructor is not private and not explicit ! I don't have any idea about this error Help me please. My class is : Cnoeud.h #include "Csequence.h" …

Member Avatar for subtracktor
0
257
Member Avatar for sha11e

Hey, My codes asks for a number, if the user inputs something else it gives an error message and asked for a number again. If the user inputs a number, it should cout whatever number the user chose. But it doesn't work as intended... I get the error message the …

Member Avatar for subtracktor
0
150