Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~83 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for GaryChine

I have some codes like these: [code] process(void*p1,long lNum1,long Type1,void p2,long lNum2,long lType2,Param * toher...) { switch(lType1) case TIA_8U: switch(lType2) case TIA_16U: CMatrix<BYTE>* pIn = (CMatrix<BYTE>*) p1; CMatrix<USHORT>* pOut = (CMatrix<USHORT>*)p2; Run<CMatrix<BYTE>, CMatrix<USHORT>,BYTE,USHORT>(pIn,lNum1,pOut,lNum2,otherparams....) break; ... } [/code] Now I have a problem: the number of data types is at least …

Member Avatar for GaryChine
0
83