Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Zlib comression library Pin
Antony M Kancidrowski27-Sep-04 0:54
Antony M Kancidrowski27-Sep-04 0:54 
QuestionHow can I get the lpCmdLine ? Pin
Guoguor26-Sep-04 19:19
Guoguor26-Sep-04 19:19 
AnswerRe: How can I get the lpCmdLine ? Pin
22491726-Sep-04 20:28
22491726-Sep-04 20:28 
AnswerRe: How can I get the lpCmdLine ? Pin
jan larsen26-Sep-04 20:28
jan larsen26-Sep-04 20:28 
QuestionHow to set the control button in pushed mode? Pin
mithuna26-Sep-04 18:03
mithuna26-Sep-04 18:03 
AnswerRe: How to set the control button in pushed mode? Pin
22491726-Sep-04 20:13
22491726-Sep-04 20:13 
GeneralPlz..Help needed in resolving :error LNK2001 Pin
Kiran Satish26-Sep-04 16:47
Kiran Satish26-Sep-04 16:47 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Muhammad Azam26-Sep-04 19:06
Muhammad Azam26-Sep-04 19:06 
suman if i am getting it correctly, you have a file named heel.cpp (main file) and a file named geom.cpp which contains your class declaration. if this is the case then the linker error is due to the fact that you have declared member functions in your class but havn't defined them any where
to remove the linker error either write you geom.ccp file as

class Cube
{
public:
--data members declaration.....

public:
 Cube()
 {
 }
 void set_values(double x, double y, int z)
 {
 }
 void set()
 {
 }
 void process()
 {
 }
 int check(int i, int j)
 {
 }
};

or define you members in a separet file e.g

file:geom.h
class Cube
{
public:
--data members declaration.....

public:
Cube();
void set_values(double x, double y, int z);
void set();
void process();
int check(int i, int j);
};

file: geom.cpp
#include "geom.h"

Cube::Cube()
{
}
void Cube::set_values(double x, double y, int z)
{
}
void Cube::set()
{
}
void Cube::process()
{
}
int Cube::check(int i, int j)
{
}


and in you heel.cpp file just include geom.h like this:
#include "geom.h"


Hope this will remove the linker error . plz inform me if this works or still you are getting same error

regards

Muhammad Azam
ned_azam@yahoo.com
muhammadazam_cis08@hotmail.com
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Muhammad Azam26-Sep-04 19:17
Muhammad Azam26-Sep-04 19:17 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Kiran Satish27-Sep-04 10:24
Kiran Satish27-Sep-04 10:24 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Muhammad Azam27-Sep-04 22:46
Muhammad Azam27-Sep-04 22:46 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Kiran Satish28-Sep-04 7:57
Kiran Satish28-Sep-04 7:57 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Muhammad Azam28-Sep-04 19:14
Muhammad Azam28-Sep-04 19:14 
GeneralRe: Plz..Help needed in resolving :error LNK2001 Pin
Kiran Satish28-Sep-04 19:27
Kiran Satish28-Sep-04 19:27 
QuestionHow to disable this button when process is running Pin
JingleLee26-Sep-04 16:44
JingleLee26-Sep-04 16:44 
AnswerRe: How to disable this button when process is running Pin
Sujan Christo26-Sep-04 18:15
Sujan Christo26-Sep-04 18:15 
GeneralRe: How to disable this button when process is running Pin
Anonymous26-Sep-04 19:36
Anonymous26-Sep-04 19:36 
GeneralRe: How to disable this button when process is running Pin
Sujan Christo26-Sep-04 21:26
Sujan Christo26-Sep-04 21:26 
GeneralUSB Pin
Jill Peterson26-Sep-04 16:40
Jill Peterson26-Sep-04 16:40 
Generalvector of polymorph objects Pin
yahp26-Sep-04 13:05
yahp26-Sep-04 13:05 
GeneralRe: vector of polymorph objects Pin
Andrew Walker26-Sep-04 14:26
Andrew Walker26-Sep-04 14:26 
GeneralRe: vector of polymorph objects Pin
yahp27-Sep-04 6:30
yahp27-Sep-04 6:30 
GeneralRe: vector of polymorph objects Pin
Andrew Walker29-Sep-04 2:15
Andrew Walker29-Sep-04 2:15 
GeneralRe: vector of polymorph objects Pin
yahp29-Sep-04 7:21
yahp29-Sep-04 7:21 
Generalc++ dll that connects and fetch data from ODBC Conn Pin
Member 13518826-Sep-04 10:10
Member 13518826-Sep-04 10:10 

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.