error C2143: syntax error : missing ',' before '*'
-
Hi, I am compiling the legacy code in VS.Net 2008 64 bit platform. I am getting the above error in the following line
static HRESULT copy(destination_type* pTo , const int source_type* pFrom)
how to resolve the above error? Please help me Regards
-
Hi, I am compiling the legacy code in VS.Net 2008 64 bit platform. I am getting the above error in the following line
static HRESULT copy(destination_type* pTo , const int source_type* pFrom)
how to resolve the above error? Please help me Regards
What are destination_type and source_type meant to be? Also - "const int source_type* pFrom" looks wrong no matter what source_type is (unless it is nothing)
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
What are destination_type and source_type meant to be? Also - "const int source_type* pFrom" looks wrong no matter what source_type is (unless it is nothing)
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
This is the definition
template <class MapType, class DestinationType = MapType::referent_type>
and source type is defined as
typename MapType::value_type source_type;
what is wrong here?
-
Hi, I am compiling the legacy code in VS.Net 2008 64 bit platform. I am getting the above error in the following line
static HRESULT copy(destination_type* pTo , const int source_type* pFrom)
how to resolve the above error? Please help me Regards
-
This is the definition
template <class MapType, class DestinationType = MapType::referent_type>
and source type is defined as
typename MapType::value_type source_type;
what is wrong here?
const int source_type* pFrom
You have two types in that parameter declaration. Let us say that source_type is std::string - that translates to
const int std::string* pFrom
That doesn't make sense, now, does it?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Hi, I am compiling the legacy code in VS.Net 2008 64 bit platform. I am getting the above error in the following line
static HRESULT copy(destination_type* pTo , const int source_type* pFrom)
how to resolve the above error? Please help me Regards
I figured out why it doesn't work in visual studio c++. Here is the correct code I used to fix my error C2143: #include "Wave.h" /* This header file has the CWave class in it */ CWave *wave1; int main() { wave1.Load(_T("C:...\Music.wav")); wave1.Play(); Sleep(100000); }