Posted on November 30, 2009, 11:38 pm, by , under
Object.
Here’s a <a href="http://bit.ly/8ob1Pv">comparison of Jinx and Microsoft Cuzz,</a> detailing their similar (but different) approaches to finding shared memory bugs in multi-threaded applications.
Tags:
button,
calendars-before,
destructor-gets,
detailing-their,
finding-shared,
laptop,
memory-bugs,
microsoft,
multithreading,
open positions (jobs),
popup-menu,
presidential,
want-the-size,
work-it-out No Comments |
Read the rest of this entry »
Posted on November 30, 2009, 11:19 pm, by , under
Object.
{proj7.txt} 12 5 39 27 9 190 29 46 23 8 19 97 20 i need help Developing a C++ program to: 1.read a series of integer numbers from the file “proj7.txt” 2.calculate and display the total of these numbers 3.calculate and display the average of these numbers what i have so far is number 1 but i need help completing 2-3 #include<iostream> #include<fstream> #include<ctime> using namespace std; int main() { int total; const int text=81; char input[text]; fstream dataFile; dataFile.open("proj7.txt",ios::in ); if (!dataFile) { cout<<"Error"<<endl; return 0; } dataFile.getline(input,text,’$'); while(!dataFile.eof()) { cout<<input<<endl; dataFile.getline(input,text,’$'); } cout<<total<<endl; dataFile.close(); return 0; }