TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:HELP with pointer From:Lesley-Anne Nelson <Moshe -at- MERIDIANNI -dot- CO -dot- UK> Date:Thu, 21 Jan 1999 14:20:48 -0000
I am having a really bad braindead day here can someone clear up this( what should be really simple problem for me)
Ok I am testing a C++ program I have to test SetChannelParameterValue(Float) which I have done as below (snippet)
enum floatParameters {qrs=0 etc)
bool SetChannelParameterValue( intiChannel, floatParameters iParameter, float fValue);
Returns TRUE if set operation succeeded
bResult = true;
if (!(bTestResult = m_pMappingData->SetChannelParameterValue(81,((CMappingData::floatParameters)0),6666)));
{
fResults->WriteString("Test CD22 (SetChannelParameterValue (Float)) Failed using 81,0,6666 \n");
bResult = false;
}
etc.
Now I want to do the Get from this.
the details of this are as follows
enum floatParameters {qrs=0 etc)
bool GetChannelParameterValue( int iChannel, floatParameters iParameter, float* pfValue);
I can't get this sorted out could someone help me here
This is example data
Description Purpose Parameters ExpectedResult
Normal Operation Verify Normal 1,0,&pfValue 1111,1 (TRUE)
Please can someone help. Its just one of those days