No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys, need some help on a star rating system i am working on. The issue is that i have multiple star rating on a single page but if i click on a star for another field, it will highlight all the previous unlighted stars too. Not sure how to … |
|
Hi guys, need some help in writing a progrom to test my code. Currently, what i have written for the header file is this [CODE] #ifndef _VENDMACHINE_H_ #define _VENDMACHINE_H_ #include <string> class VendMachine { private: string item; int numberOfItems; int cost; public: VendMachine(string s, int = 50, int = 50); … |
|
Hi, i'm supposed to write a function, countGrade that takes in the Grade and find the number of students that have this grade. This value is returned to the calling program. The function prototype is int countGrade(char). Currently all i have written is this. Seem like there's something wrong with … |
|
Hi, i'm new to C++ and been trying to write a simple program to compare the randomly generator number with the number input. But once i got the num1 = num2; the program keep prompting for new input. Any help would be appreciated. Thanks in advance! [CODE]#include <iostream> #include <stdlib.h> … |