just FYI, the 'return 0;' at the end of main() is implicit.
Type: Posts; User: miken
just FYI, the 'return 0;' at the end of main() is implicit.
Every executable needs a runtime library. It's the library that helps your program run within the operating system. Just because it's purely native C++ doesn't mean a thing - you might be curious to...
std::vector<Human> humans( number_of_humans );
Yep, give us some error messages.
You don't need that #using line to use C++/CLI.
You need to add a reference in your project to System and whatever other stuff you'll be using
You need to...
0.5 is of type double. The float version is 0.5f, this goes for all literals
how about posting the contents of the file (exactly), and posting exactly what the output of the program is.
Yes omishompi - the 'other way' is sitting down with a respectable learning resource for C++ and learning the right way. I seriously recommend Accelerated C++ by Koenig and Moo - it's only around $30...
cout << "Please enter the name of the member: ";
getline(cin, name);
name += ".txt";
ofstream a_file ( name.c_str() );
class List
{
public:
typedef int value_type;
typedef value_type* iterator;
iterator begin() const { return data; }
iterator end() const { return data + length; }