U
unknown;
hello,
i've got a question about using a function from project B in project A.
The projects are both in the same solution (using Microsolft Visual
Studio 2005)
the projects ara both native C++.
i've already added a reffrence from projectB into projectA.
i've got a function in projectA:
mainClass.cpp:
int main ()
{
int i = 0;
// i want to use function from project B like this:
// i = functionFromProjectB (10);
return i;
}
and in project B:
fileX.cpp:
int functionFromProjectB (int i)
{
return i * 4;
}
i know, the example is a little stange but it may be usefull to explain
my problem.
my question is how to do this or is this a .NET functionality and not
possible with native C++ projects.
i've got a question about using a function from project B in project A.
The projects are both in the same solution (using Microsolft Visual
Studio 2005)
the projects ara both native C++.
i've already added a reffrence from projectB into projectA.
i've got a function in projectA:
mainClass.cpp:
int main ()
{
int i = 0;
// i want to use function from project B like this:
// i = functionFromProjectB (10);
return i;
}
and in project B:
fileX.cpp:
int functionFromProjectB (int i)
{
return i * 4;
}
i know, the example is a little stange but it may be usefull to explain
my problem.
my question is how to do this or is this a .NET functionality and not
possible with native C++ projects.