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
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 11
Member Avatar for refphlex

How can I use substring to print an ID number that is read from an input file to print out as for example, ***-**-4554 instead of 455454554? I was thinking of using modulus but it is too complex

Member Avatar for nullptr
0
76
Member Avatar for refphlex

I need help with my eiditing a record function, I'm struggling to get it to work. Thank you int Search(Student List[], int Size, string Target) { for(int i = 0 ; i < Size ; i++) if (Target == List[i].LastName) return i; return -1; } void Edit_Record(Student List[], Student & …

Member Avatar for zouhair.kasmi
0
144
Member Avatar for refphlex

Hi, I've been having trouble getting the average and letter grades to print and they are outputting as 0 .. I tried everything calling the average function etc. but I still get a zero. Any advice? I don't have any other problems just need help with the average function and …

Member Avatar for refphlex
0
431
Member Avatar for refphlex

Why is my output like this instead of all the data being in the table? (PS : must use while(!fin.eof()) thanks #include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace std; int main() { ifstream fin; ofstream fout; string Name; int Id; float grossIncome ; float netSalary; float incomeTax …

Member Avatar for tinstaafl
0
225
Member Avatar for refphlex

The second loop after opening the file again the second calculation for count isn't coming out correctly it seems to be doubled, comes out double the normal value when it shouldn't someone help please! #include <iostream> #include <iomanip> #include <string> #include <fstream> #include <cmath> using namespace std; int main () …

Member Avatar for refphlex
0
165