I looked around quite a bit on how to solve this but i couldn't find a lot .. can anyone help me? The capitalized variables are constants [CODE] case '4': { bubbleSort(aList); string strKey; cout << " Input: "; cin >> strKey; binarySearch(aList, strKey); int binarySearchResult = binarySearch(aList, strKey); if (binarySearchResult = iERRORNOTFOUND || binarySearchResult = iERROREMPTY)//Error C2106 "=" Left operand must be l-value {} else {} } [/CODE]

Member Avatar
Member Avatar
+0 forum 3

I am converting seconds to minutes, hours, days. For some reason I have an issue with the days not calculating when running the program. The 'if' statement seems completely ignored by the program. I think this may be caused by the warning I get. Any help would be greatly appreciated in explaining the warning and my current issue: Warning: Constant is long in function main() [CODE] #include <iostream.h> //using namespace std; int main() { // Constants for Conversion int seconds, minute, hour; double day; cout << "Enter the number of seconds: "; cin >> seconds; day = seconds / 86400; …

Member Avatar
Member Avatar
+0 forum 18

I've been messing arround with this for the past little while and I can't seem to figure out the best way to to about doing this. Essentially, I'm trying to create a three part statement. The first will check is a session variable isset & the user has a rolecd of 2. If not, it will check to see if the session variable isset. If not, then it displays a login message. Any help would be much appreciated and I'm sorry, I just getting use to the isset construct and I'm not as familiar with it. From what I understand; …

Member Avatar
Member Avatar
+0 forum 1

The End.