Forum: IT Professionals' Lounge Aug 26th, 2008 |
| Replies: 2 Views: 1,244 Have you included the header file where foo() function is initialized? What about creating an object to class b then call the foo() function:
b bVar;
int j = 8;
bVar.foo(j);
I think you... |
Forum: C++ Aug 22nd, 2008 |
| Replies: 8 Views: 600 iamthwee's much more reliable, with the exit and the d-while loop :) |
Forum: C++ Aug 22nd, 2008 |
| Replies: 8 Views: 600 I think it closes because of the break; after the loops.
I've edited a bit in your code.
#include <iostream>
#include <stdio.h>
using namespace std; |
Forum: C++ Aug 22nd, 2008 |
| Replies: 8 Views: 600 I think you should give more details about your problem. Have you started to write your code even just the main function? What menu?
show menu
if i pick one menu
... |