Can the main() call be embedded within a class? At work yesterday I caught a snippet somewhere, and I noticed main() was inside a class, something like the following:
[B]class[/B] personnel
{
[B]void[/B] in_prev_data();
[B]void[/B] in_new_data();
[B]int[/B] main( [B]int[/B] argc, [B]const char[/B] **argv );
[B]void[/B] process_data();
[B]void[/B] pack_data();
[B]void[/B] save_data();
};
Wish I had written the address down, so I could of duplicated it here exactly as it was, but that code should be close. Now if this embedding is possible, is someone able to clear it up a little for me, about how it works?