Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: from the index pos in ch[],delete the the string of len Pin
Gwenio8-Apr-10 3:33
Gwenio8-Apr-10 3:33 
GeneralRe: from the index pos in ch[],delete the the string of len Pin
KarstenK8-Apr-10 3:48
mveKarstenK8-Apr-10 3:48 
GeneralRe: from the index pos in ch[],delete the the string of len Pin
Gwenio8-Apr-10 4:24
Gwenio8-Apr-10 4:24 
GeneralRe: from the index pos in ch[],delete the the string of len Pin
KarstenK8-Apr-10 20:37
mveKarstenK8-Apr-10 20:37 
AnswerRe: from the index pos in ch[],delete the the string of len Pin
Eugen Podsypalnikov7-Apr-10 20:10
Eugen Podsypalnikov7-Apr-10 20:10 
QuestionRe: from the index pos in ch[],delete the the string of len Pin
David Crow8-Apr-10 3:43
David Crow8-Apr-10 3:43 
AnswerRe: from the index pos in ch[],delete the the string of len Pin
wbgxx8-Apr-10 4:00
wbgxx8-Apr-10 4:00 
Questioncannot convert from 'double' to 'class _variant_t * Pin
browneyes867-Apr-10 9:38
browneyes867-Apr-10 9:38 
hello, i need help on this: the error i get is: error C2440: '=' : cannot convert from 'double' to 'class _variant_t *' on this line:

Filtered_Average[ik] = filtered_sum/95;

the portion of the code is:
vector<_variant_t*> Filtered_Average(9990);<br />
	for(k = 0; k < Filtered_Average.size(); ++k)<br />
	{<br />
		Filtered_Average[k] = new _variant_t();<br />
	}
......
	// calculate average of filtered data<br />
		<br />
		for (int ik = 1; ik<=N; ik++)<br />
		{<br />
			 double filtered_sum =  0.0;<br />
<br />
			for (int jk= 1; jk<=N2; jk++)	<br />
			{<br />
				  filtered_sum =  filtered_sum + (double)results2[ik][jk];<br />
			}<br />
<br />
				  Filtered_Average[ik] = filtered_sum/95;<br />
			}

AnswerRe: cannot convert from 'double' to 'class _variant_t * Pin
Iain Clarke, Warrior Programmer7-Apr-10 10:03
Iain Clarke, Warrior Programmer7-Apr-10 10:03 
AnswerRe: cannot convert from 'double' to 'class _variant_t * Pin
Eugen Podsypalnikov7-Apr-10 10:04
Eugen Podsypalnikov7-Apr-10 10:04 
Questionresolving a shortcut file name Pin
Alan Kurlansky7-Apr-10 9:30
Alan Kurlansky7-Apr-10 9:30 
AnswerRe: resolving a shortcut file name Pin
Nuri Ismail7-Apr-10 10:10
Nuri Ismail7-Apr-10 10:10 
QuestionIs forward declaration a hack for bad, lazy programmers? Pin
Vaclav_7-Apr-10 7:16
Vaclav_7-Apr-10 7:16 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Chris Losinger7-Apr-10 7:25
professionalChris Losinger7-Apr-10 7:25 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? PinPopular
Moak7-Apr-10 7:48
Moak7-Apr-10 7:48 
GeneralRe: Is forward declaration a hack for bad, lazy programmers? Pin
William Winner7-Apr-10 11:41
William Winner7-Apr-10 11:41 
GeneralOfftopic Pin
Moak7-Apr-10 11:57
Moak7-Apr-10 11:57 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Nemanja Trifunovic7-Apr-10 7:59
Nemanja Trifunovic7-Apr-10 7:59 
AnswerRe: Is forward declaration a hack for bad, lazy programmers? Pin
Eugen Podsypalnikov7-Apr-10 9:24
Eugen Podsypalnikov7-Apr-10 9:24 
QuestionCString convert error in Embedded Visual C++ Pin
CHYGO7-Apr-10 4:20
CHYGO7-Apr-10 4:20 
AnswerRe: CString convert error in Embedded Visual C++ Pin
eusto7-Apr-10 4:42
eusto7-Apr-10 4:42 
GeneralRe: CString convert error in Embedded Visual C++ Pin
CHYGO7-Apr-10 5:18
CHYGO7-Apr-10 5:18 
JokeRe: CString convert error in Embedded Visual C++ Pin
Eugen Podsypalnikov7-Apr-10 5:38
Eugen Podsypalnikov7-Apr-10 5:38 
GeneralRe: CString convert error in Embedded Visual C++ Pin
CHYGO8-Apr-10 2:01
CHYGO8-Apr-10 2:01 
QuestionComboBox / Win32 [modified] Pin
Fareed Rizkalla7-Apr-10 2:27
Fareed Rizkalla7-Apr-10 2:27 

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.