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

C / C++ / MFC

 
AnswerRe: How to display array of pixel values onto the screen? Pin
Prakash Nadar13-Apr-04 22:58
Prakash Nadar13-Apr-04 22:58 
AnswerRe: How to display array of pixel values onto the screen? Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:05
Iain Clarke, Warrior Programmer13-Apr-04 23:05 
Questionhow to use kbbar.dll to add a new toolbar in IE Pin
NewtonOfComputers13-Apr-04 21:29
NewtonOfComputers13-Apr-04 21:29 
AnswerRe: how to use kbbar.dll to add a new toolbar in IE Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:09
Iain Clarke, Warrior Programmer13-Apr-04 23:09 
GeneralRe: how to use kbbar.dll to add a new toolbar in IE Pin
NewtonOfComputers13-Apr-04 23:39
NewtonOfComputers13-Apr-04 23:39 
GeneralRe: how to use kbbar.dll to add a new toolbar in IE Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:55
Iain Clarke, Warrior Programmer13-Apr-04 23:55 
GeneralRe: how to use kbbar.dll to add a new toolbar in IE Pin
NewtonOfComputers14-Apr-04 0:32
NewtonOfComputers14-Apr-04 0:32 
GeneralRe: how to use kbbar.dll to add a new toolbar in IE Pin
Iain Clarke, Warrior Programmer14-Apr-04 2:39
Iain Clarke, Warrior Programmer14-Apr-04 2:39 
GeneralRe: how to use kbbar.dll to add a new toolbar in IE Pin
NewtonOfComputers15-Apr-04 23:34
NewtonOfComputers15-Apr-04 23:34 
GeneralCListCtrl's SetItemData() Pin
Shah Shehpori13-Apr-04 21:25
sussShah Shehpori13-Apr-04 21:25 
GeneralRe: CListCtrl's SetItemData() Pin
Rory Solley13-Apr-04 22:02
Rory Solley13-Apr-04 22:02 
GeneralRe: CListCtrl's SetItemData() Pin
rrrado13-Apr-04 22:03
rrrado13-Apr-04 22:03 
GeneralRe: CListCtrl's SetItemData() Pin
David Crow14-Apr-04 2:44
David Crow14-Apr-04 2:44 
QuestionHow to get image from IE ? Pin
rrrado13-Apr-04 19:43
rrrado13-Apr-04 19:43 
Generalchanging the color of the previous selected node of CtreeCtrl Pin
SVPG13-Apr-04 19:27
SVPG13-Apr-04 19:27 
GeneralRe: changing the color of the previous selected node of CtreeCtrl Pin
Rory Solley13-Apr-04 22:05
Rory Solley13-Apr-04 22:05 
GeneralFinding Time Difference in milli seconds Pin
swarnamanoo13-Apr-04 18:39
swarnamanoo13-Apr-04 18:39 
GeneralRe: Finding Time Difference in milli seconds Pin
PJ Arends13-Apr-04 19:04
professionalPJ Arends13-Apr-04 19:04 
GeneralRe: Finding Time Difference in milli seconds Pin
ohadp13-Apr-04 21:07
ohadp13-Apr-04 21:07 
GeneralRe: Finding Time Difference in milli seconds Pin
David Crow14-Apr-04 2:46
David Crow14-Apr-04 2:46 
GeneralOperator Overloading Pin
jss67200113-Apr-04 18:21
jss67200113-Apr-04 18:21 
Given the code below why am I getting the following error message?

point3d.cpp(26) : error C2660: 'setZ' : function does not take 0 parameters


#include "Point3D.h"
#include <iostream>
using std::cout;
using std::ostream;

Point3D::Point3D(void)
{
setX(0);
setY(0);
setZ(0);
}

Point3D::Point3D(double xValue, double yValue, double zValue)
{
setX(xValue);
setY(yValue);
setZ(zValue);
}

Point3D::Point3D(const Point3D& p)
{
setX(p.getX());
setY(p.getY());
setZ(p.setZ());
}

double Point3D::getZ() const
{
return z;
}

void Point3D::setZ(double zValue)
{
z = zValue;
}

ostream& operator<<( ostream& o, const Point3D& p)
{
o << "(" << p.getX() << ", " << p.getY() << ", " << p.getZ() << ")";
return o;
}

Thanks, i appreciate it
GeneralRe: Operator Overloading Pin
Anonymous13-Apr-04 19:06
Anonymous13-Apr-04 19:06 
GeneralRe: Operator Overloading Pin
jss67200113-Apr-04 21:25
jss67200113-Apr-04 21:25 
GeneralRe: Operator Overloading Pin
Mike Beckerleg13-Apr-04 22:06
Mike Beckerleg13-Apr-04 22:06 
QuestionHow to make a function called when IE browser window size changes? Pin
bin892213-Apr-04 17:06
bin892213-Apr-04 17:06 

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.