Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ashboi

I'm currently trying to extend my student class with a course class & by extending the driver.cpp to enrol 3 students into the course. However, i've gotten some errors & can't seem to figure whats wrong with them, i might have missed out something. I was hoping to get some …

Member Avatar for Lerner
0
180
Member Avatar for ashboi

I'm getting some errors with my code, & cant seem to find where the problems are. Basically I'm making a student class that calls out the student id & name. I hope someone can point me in the righ direction to get this code working. Thank you student.cpp: #include <iostream> …

Member Avatar for ashboi
0
158
Member Avatar for ashboi

I'm trying to write a program that uses vector to store the grades for the number of students entered.But i seem to be getting some problems with my code. I am able to enter the number of students, but when it asks for the grades, the program exits. I hope …

Member Avatar for ashboi
0
2K
Member Avatar for ashboi

int isaMUstring(char* sequence, int size) //function isaMUstring(char* sequence, int size) { int i,j; for(i=0; i<size; i++) { if(sequence[i]=='M'||sequence[i]=='U'||sequence[i]=='I') j=1; else j=0; } return j; } int canApplyRule1(char* sequence, int size) //function canApplyRule1(char* sequence, int size) { if(sequence[size-1]=='I') return 1; else return 0; } int canApplyRule2(char* sequence, int size) //function canApplyRule2(char* …

Member Avatar for scudzilla
0
122
Member Avatar for ashboi

I need some help understanding the follow functions & how they work. 1) y >> 16 & 0xFF0 2) (y >> 16 & 0xFFC) << 4 3) (y >> 20 & 0xF0F) | 1 << 7

Member Avatar for rubberman
0
113
Member Avatar for ashboi

C++float assigned to unsigned long y I have to write separate C++ expression for: 1) extract the 8-bit exponent field to the low order bits of y, and subtract the 127 bias. 2) isolate the mantissa field in the lower order bits of y, and insert the implicit leading 1. …

Member Avatar for histrungalot
0
87
Member Avatar for ashboi

[CODE] vector<string> guess(4); cout << "Input a Guess(e.g red blue green yellow): "; cin >> guess[0] >> guess[1] >> guess[2] >> guess[3];[/CODE] this is part of my code to let the user input 4 different guesses, is there anyway I can limit the input by 4 so that if the …

Member Avatar for thines01
0
228