No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: myfile.precision(10); should do the trick I think, filestreams are very similar to cout and cin. | |
so I'm writing a binary search tree and a (so far very short) program taht uses it. Here's the code as it is (excluding any functions it doesn't actually use yet) main.cc: [CODE=c++]#include <ctime> #include <cstdlib> #include <iostream> #include "bintree.h" using namespace std; int main(){ double aipls[500]; bst<int> k; int … | |
Re: if the comparison in line 33 is true, lines 37-51 are skipped and nod2 in line 52 hasn't been given something to point to (which would happen in line 39) I think the problem is in line 40, I think what you need is an opening brace at the end … |
The End.