Click here to Skip to main content
15,917,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHTTP Post Pin
si_6916-Dec-03 4:58
si_6916-Dec-03 4:58 
GeneralExperts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 4:37
oren frenkel16-Dec-03 4:37 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 5:31
Felix Gartsman16-Dec-03 5:31 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 5:44
oren frenkel16-Dec-03 5:44 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 7:39
Felix Gartsman16-Dec-03 7:39 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:40
oren frenkel16-Dec-03 22:40 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher16-Dec-03 7:56
John M. Drescher16-Dec-03 7:56 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:38
oren frenkel16-Dec-03 22:38 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher17-Dec-03 4:11
John M. Drescher17-Dec-03 4:11 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel17-Dec-03 4:18
oren frenkel17-Dec-03 4:18 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher17-Dec-03 4:27
John M. Drescher17-Dec-03 4:27 
GeneralStarter Pin
neo2k316-Dec-03 3:58
neo2k316-Dec-03 3:58 
GeneralRe: Starter Pin
valikac16-Dec-03 5:11
valikac16-Dec-03 5:11 
GeneralRe: Starter Pin
Anonymous17-Dec-03 3:26
Anonymous17-Dec-03 3:26 
GeneralRe: Starter Pin
LittleYellowBird16-Dec-03 5:16
LittleYellowBird16-Dec-03 5:16 
GeneralRe: Starter Pin
Roger Wright16-Dec-03 5:23
professionalRoger Wright16-Dec-03 5:23 
GeneralRe: Starter Pin
BaldwinMartin16-Dec-03 11:19
BaldwinMartin16-Dec-03 11:19 
GeneralHEAP[MyProgram.exe]: Invalid Address specified to RtlSizeHeap( 00140000, 001E8D10 ) Pin
UOzkan16-Dec-03 3:02
UOzkan16-Dec-03 3:02 
GeneralRe: HEAP[MyProgram.exe]: Invalid Address specified to RtlSizeHeap( 00140000, 001E8D10 ) Pin
Abebe16-Dec-03 3:38
Abebe16-Dec-03 3:38 
GeneralRe: HEAP[MyProgram.exe]: Invalid Address specified to RtlSizeHeap( 00140000, 001E8D10 ) Pin
John M. Drescher16-Dec-03 7:58
John M. Drescher16-Dec-03 7:58 
GeneralMATLAB C++ problems, help~! Pin
Vincent Sim16-Dec-03 3:01
Vincent Sim16-Dec-03 3:01 
hi everybody,
i am facing some matlab c++ problems. i am looking for some solutions for them. anybody can help me?
thank you very much. Smile | :)

p/s: thank you Jwood for your information.

Problem 1:
MATLAB SOURCE CODE: [features, targets] = improved_DA1(x, [cluster,0.95]);
MATLAB C++ CONVERSION:
mwArray cluster ;
improved_DA(x, empty(cluster,0.95));
after compiling,……
D:\others\im\me.cpp(116) : error C2660: 'empty' : function does not take 2 parameters


Problem 2:
MATLAB C++ CONVERSION:
I3=uint8(I2);
After compiling,…….
D:\others\im\me.cpp(137) : error C2065: 'uint8' : undeclared identifier


Problem 3:
MATLAB SOURCE CODE:
Smu=zeros(1,Nmu);
for i=1:Ncent,
Smu(i) = sum(std(train_features(:,find(label == i))'));

MATLAB C++ CONVERSION:
Smu = zeros(1,Nmu);
for (i = 1 ; i<=Ncent ; i++)
{
/*232*/ Smu(i) = sum(std(train_features(:,find(label == i))'));
}

after compiling,…..
D:\others\im\me.cpp(232) : error C2001: newline in constant


Problem 4:
MATLAB C++:
……………
double Tmin;
mwArray T;
Nmu = params(1);
epsi = params(2);
/*167*/ T= 3*max(eig(cov(train_features',1)')); //Initial temperature
Tmin = 0.01;
………….
After compiling…….
D:\others\im\me.cpp(167) : fatal error C1057: unexpected end of file in macro expansion



vincent sim
GeneralCTabCtrl - An Introduction to... Pin
Jock197916-Dec-03 2:17
Jock197916-Dec-03 2:17 
GeneralRe: CTabCtrl - An Introduction to... Pin
Abebe16-Dec-03 3:40
Abebe16-Dec-03 3:40 
Generalerror C2065: 'DDX_Time' : undeclared identifier Pin
Neha16-Dec-03 0:32
Neha16-Dec-03 0:32 
GeneralRe: error C2065: 'DDX_Time' : undeclared identifier Pin
Michael P Butler16-Dec-03 0:44
Michael P Butler16-Dec-03 0:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.