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
~13.5K People Reached
Favorite Tags
c++ x 20
Member Avatar for kz07

Can anyone help me on how to display my infix notation with parentheses? 4+3 should be displayed as (4+3) also, my code only works for simple expressions like 4+0, it can translate the infix,prefix,and postfix correctly, but when the expression grows, for some reason, its outputting the incorrect notations for …

Member Avatar for Narue
0
1K
Member Avatar for kz07

how do i translate group by and having into relational algebra? [code=sql]SELECT employee-name FROM EMPLOYEE, DEPARTMENT GROUP BY EMPLOYEE.suburb HAVING EMPLOYEE.suburb = DEPARTMENT.suburb;[/code] thanks.

0
65
Member Avatar for kz07

im having a problem with my converter. this is my code : [CODE] void romanNumeral::convert(){ for(int i=0; i < roman.length(); i++){ letter = roman.at(i); switch(letter){ case 'M': case 'm': decimal += 1000; break; case 'D': case 'd': decimal += 500; break; case 'C': case 'c': decimal += 100; break; case …

Member Avatar for Nick Evan
0
95
Member Avatar for kz07

im having some errors with my code. can someone help me fix it? =( this is my header file: [CODE] #include <iostream> #include <string> using namespace std; class dayType{ public: dayType(string); void setDay(string); string printDay(); string prevDay(); void nextDay(); string returnDay(); private: string weekDay[7]; int currentDay; string inputDay; }; dayType::dayType(string){ …

Member Avatar for jonsca
0
88
Member Avatar for kz07

i installed MS Office home and student 2007 into my laptop.. and then i activated it.. the problem is.. i can use all of the apps(ms word, excel, ppt,etc) but not MS Access.. it prompts for a product key, but when i entered the product key, it says "The key …

Member Avatar for jbennet
0
137
Member Avatar for kz07

well, this is my code: [CODE] while(!isdigit(c) || num.length() < 4){ cout << "Enter your four digit pin: "; cin >> num; for(i = 0;i < num.length(); i++){ c = num.at(i); if (isdigit(c)){ pin[i] = atoi(num.substr(i, 1).c_str()); } } if(!isdigit(c) || num.length() < 4){ cout << "Invalid Pin." << endl; …

Member Avatar for kz07
0
1K
Member Avatar for icu222much

I am new to programming in C++. I have a bit of experience in Python and ActionScript3. I decided to pick up C++ so I downloaded Dev-C++ complier. I tried to run the following code but it doesn't seem to do anything. I complied the code, and it did not …

Member Avatar for hao001
0
188
Member Avatar for kz07

Is there any way to convert String s = "1234" to int s[4] = {1,2,3,4}? and how can i check if it does not contain any non-numeric characters? thanks=)

Member Avatar for kz07
0
5K
Member Avatar for kz07

Is there any way to go to a specific line of a text file and print it to screen? I used getline to do this, but what if i need to enter a number and the program will go to that line number and print it to the screen. is …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for kz07

hey.. im new in c++ and im doing an engineering journal as my assignment.. i dun know how to do this.. Entries in the journal are private, so the journal is encoded and protected using a pin. When the program is executed it will ask for a 4-digit pin. The …

Member Avatar for daviddoria
0
2K
Member Avatar for kz07

how can i modify my code so it can handle upper and lower case characters.. for this: cout << "(B)uy, (S)ell, (H)old or (Q)uit: "; cin >> ans; what should i add to the code? i added #include <cctype>.

Member Avatar for SeeTheLite
0
106