- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
Re:
So I need to program a code which will display the values of all my objects which currently are "Monday and Tuesday." I am getting two errors under my printDay function. Error c2275 'DayOFTheWeek': illegal use of this type as an expression Error c2228: left of '.printDay' must have class/struct/union … |
|
I am supposed to make a palindrome program using stacks, but my function keeps returning false. Here's the code: Main: [CODE]int main() { char word[50]; cin >> word; cout << strlen(word); if (checkIfPalindrome(word) == true) { cout << endl << "Is a palindrome."; } else { cout << endl << … |
|
Re:
Hi there, I am fairly new to C++ and wanted to have a go at coding my own function with parameters. However some of the parameters are arrays and I get strange errors occur. I will comment my code with a couple of other questions as well. I am writing … |