A
Allen
I am using ms visual C++ studio.NET 2003. Instead of using regular code
inside the handle, I want to use a function. My question is where to
declare the function and from where I can call it? I tried to do this in
the header file, but it does not work:
//int add (int a, int b);
namespace TimeTrack
{
Function prototype here;
{
.....
private: System::Void InBtn_Click(System::Object * sender,
System::EventArgs * e)
{
......
Function call here;
}
}
/***************************************
Function body here
{
}
inside the handle, I want to use a function. My question is where to
declare the function and from where I can call it? I tried to do this in
the header file, but it does not work:
//int add (int a, int b);
namespace TimeTrack
{
Function prototype here;
{
.....
private: System::Void InBtn_Click(System::Object * sender,
System::EventArgs * e)
{
......
Function call here;
}
}
/***************************************
Function body here
{
}