Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: I',m having some trouble using your programs all i have done so far is to write aa main to test them. [CODE] #include <iostream> #include <vector> using namespace std; void write_to_file(const char * filename, vector<short> v); vector<short> read_from_file(const char * filename); int main() { vector<short>v(3); cout<<v[0]<<endl; cout<<v[1]<<endl; cout<<v[2]<<endl; const char*f="file1.dat"; … |
The End.