Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sushlet

Requesting help with my homework problem. error: conversion from 'std::string*' to non-scalar type 'std::string' requested The lines with the error are under the comments. Thanks. [CODE] #include <QtCore/QCoreApplication> #include <iostream> #include <cstdlib> #include <string> using namespace std; typedef string* stringPtr; string* addEntry(string *dynamicArray, int &size, string newEntry); string* deleteEntry(string *dynamicArray, …

Member Avatar for sushlet
0
5K
Member Avatar for sushlet

[CODE] ifstream in_gradebook; ofstream out_gradebook; in_gradebook.open("gradeBook.txt"); out_gradebook.open("gradeBook_edit.txt"); while (???) //while int is being read { in_gradebook >> score; out_gradebook << score << " "; sum = sum + score; } average = sum / 10.0; out_gradebook << average << endl;[/CODE] Here is a small snippet of the code I have …

Member Avatar for sushlet
0
242
Member Avatar for harde

Slot Machine I got all this so far !!! Nex is .. First build in support for writing output to an output file. 2 Make a copy of your existing program and modify the new program to be array based or to use functions or both. It does not have …

Member Avatar for sushlet
0
152