Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 heres the updated code in its entirety:
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
struct studentType
{ |
Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 lol sorry man, and I spent wayyyyy more time on this, for better or worse....And I'll review how to call functions again, but I was pretty sure the above would work from past experience.
never... |
Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 I put print result for some reason for one of the functions so I changed that, and I made my parameters consistent with adding studentType. My earlier debugging influenced the removal of that, so I... |
Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 yeah testing each function makes sense, but I always thought it would take ages since you would have to create new code that you wouldn't even use in the first place to test it. Thanks for the help... |
Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 thanks for the response. That leaves me with
aatest.cpp: In function 'int main()':
aatest.cpp:26: error: expected primary-expression before ']' token
aatest.cpp:27: error: variable or field... |
Forum: C++ Nov 17th, 2008 |
| Replies: 9 Views: 848 hey guys, I've seemingly exhausted all the possibilities within my limited knowledge, so I'm coming here for some assistance.
heres the problem:
Read the 20 students info into an array, assign... |
Forum: C++ Oct 31st, 2008 |
| Replies: 10 Views: 1,379 thanks for the added help man. Just one question though, whats the point of post-incrementing if pre-incrementing is instantaneous? also did you see any tell tale signs that led to my segmentation... |
Forum: C++ Oct 31st, 2008 |
| Replies: 10 Views: 1,379 The reason for the index = 30 thing was because I was getting segmentation faults, and I figured there wasn't enough space available or something after a quick google of those faults.
And maybe... |
Forum: C++ Oct 31st, 2008 |
| Replies: 10 Views: 1,379 lmao sorry about the indentation, and THANKS GUYS!!!!!!!!!! |
Forum: C++ Oct 31st, 2008 |
| Replies: 10 Views: 1,379 hey guys, I'm having some difficulty with finding out whether a user inputted string is a palindrome. It doesn't have to identify pure palindromes either, just the basics. Everything was going great,... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 2 Views: 1,395 hey, this program is supposed to calculate fractions, and I feel that I have most of the code down, but I can't get past the
fractions.cpp:50: error: expected primary-expression before 'char'
... |