No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
Re: I am going to check those books out, right now my class is Starting out C++ with Control Strutures Through Objects | |
really need help figuring out this program, it crashes during the getdata() function in main any tips or suggestions appreciated thank you #include<iostream> #include<string> #include<cstdlib> #include<iomanip> #include<fstream> using namespace std; struct StudentData { string Name; int Idnum; int* Tests; int* TestNo; double Average; char Grade; }; void ReadHeader(int&, ifstream&); StudentData* … | |
I got a small program here, I am just trying to return a string value from a function through a reference parameter but I keep getting an error. Any help or tips will be appreciated #include<iostream> using namespace std; int timesTen(int, string&); int main() { int number = 6, product; … | |
i am having difficulty with the binary search function for some reason the comparisons are coming up much higher then they should be. heres my code from main comp = 0; for( index=0; index<Max_Tests; index++) { results = BinarySearch(list, test[index], comp); cout<< setw(5) << test[index] << setw(15); if( results == … | |
Basically I need to change the Two StudentType* functions to const but i know its not letting me because of the &ersand sign on the ReadStudentData function, is there anyway around this? I am not asking for someone to do my hw just point me in right direction it brings … | |
this is probably a dumb question but how would I remove the array so that there is no max size on it. struct StudentType { string studentName; int testScore;//Between 0 and 100 char grade; }; const int NUM_STUDENTS = 20; int main() { StudentType student[NUM_STUDENTS]; } this is what i … | |
How hard is it to replace the network card on Laptop? Recently my Laptop has not been able to get an internet connection, both wired and wireless. I updated drivers for the network adapters, disabled them and re-enabled them. I then took it to best buy and they want to … | |
hello, I am having problem with selection sort, I am trying to sort the students name alphabetically.I compile it and it shows me whole bunch of errors in VS. I dont think it has do to do with my display all students function, I think it has more to do … | |
I am having a problem with readin input data, my program is reading the last name in my .txt document twice and inserting it into each one of my functions an extra time. here is the out put Enter the name of the .txt file that you want to open … | |
I need help reading a bool function from my HW assignment, I am not asking you to do complete my assignment for me. All I need help with is reading my bool function in main. Thank you for looking #include<iostream> #include<fstream> #include<string> using namespace std; struct StudentType {string studentName; int … |
The End.