Click here to Skip to main content
15,923,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWorking with huge Floating Point Numbers Pin
Semion_N16-Feb-07 2:57
Semion_N16-Feb-07 2:57 
AnswerRe: Working with huge Floating Point Numbers Pin
Newbie0016-Feb-07 3:51
Newbie0016-Feb-07 3:51 
AnswerRe: Working with huge Floating Point Numbers Pin
Chris Losinger16-Feb-07 3:52
professionalChris Losinger16-Feb-07 3:52 
GeneralRe: Working with huge Floating Point Numbers Pin
Semion_N16-Feb-07 4:14
Semion_N16-Feb-07 4:14 
GeneralRe: Working with huge Floating Point Numbers Pin
Chris Losinger16-Feb-07 4:25
professionalChris Losinger16-Feb-07 4:25 
GeneralRe: Working with huge Floating Point Numbers Pin
Semion_N16-Feb-07 9:22
Semion_N16-Feb-07 9:22 
GeneralRe: Working with huge Floating Point Numbers Pin
Chris Losinger16-Feb-07 10:09
professionalChris Losinger16-Feb-07 10:09 
GeneralRe: Working with huge Floating Point Numbers Pin
Semion_N16-Feb-07 18:46
Semion_N16-Feb-07 18:46 
I gave a definitions for those functions here:
<br />
// numDlg.h : header file<br />
//<br />
#include "xpre.h"<br />
#pragma once<br />
<br />
<br />
// CnumDlg dialog<br />
class CnumDlg : public CDialog<br />
{<br />
// Construction<br />
public:<br />
	CnumDlg(CWnd* pParent = NULL);	// standard constructor<br />
     void CnumDlg::play();<br />
     struct xpr xadd (struct xpr a, struct xpr b, int k);<br />
     struct xpr xpr2 (struct xpr s, int n);<br />
     void xprxpr (struct xpr u, int m);<br />


I have the almost the same problem...
1>numDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall CnumDlg::xprxpr(struct xpr,int)" (?xprxpr@CnumDlg@@QAEXUxpr@@H@Z) referenced in function "public: void __thiscall CnumDlg::play(void)" (?play@CnumDlg@@QAEXXZ)<br />
1>numDlg.obj : error LNK2019: unresolved external symbol "public: struct xpr __thiscall CnumDlg::xadd(struct xpr,struct xpr,int)" (?xadd@CnumDlg@@QAE?AUxpr@@U2@0H@Z) referenced in function "public: void __thiscall CnumDlg::play(void)" (?play@CnumDlg@@QAEXXZ)<br />
1>numDlg.obj : error LNK2019: unresolved external symbol "public: struct xpr __thiscall CnumDlg::xpr2(struct xpr,int)" (?xpr2@CnumDlg@@QAE?AUxpr@@U2@H@Z) referenced in function "public: void __thiscall CnumDlg::play(void)" (?play@CnumDlg@@QAEXXZ)<br />
1>numDlg.obj : error LNK2001: unresolved external symbol _xOne


And if I'm trying to define it the xZero and xOne too(extern const struct xpr xZero, xOne, xTwo, xTen;)
I have the following errors:<br />
1>c:\documents and settings\semion naidis\my documents\visual studio 2005\projects\num\num\numdlg.h(17) : error C2071: 'CnumDlg::xZero' : illegal storage class<br />
1>c:\documents and settings\semion naidis\my documents\visual studio 2005\projects\num\num\numdlg.h(17) : error C2071: 'CnumDlg::xOne' : illegal storage class<br />
1>c:\documents and settings\semion naidis\my documents\visual studio 2005\projects\num\num\numdlg.h(17) : error C2071: 'CnumDlg::xTwo' : illegal storage class<br />
1>c:\documents and settings\semion naidis\my documents\visual studio 2005\projects\num\num\numdlg.h(17) : error C2071: 'CnumDlg::xTen' : illegal storage class


What should I do?

SnaidiS(Semion)

GeneralRe: Working with huge Floating Point Numbers Pin
Chris Losinger16-Feb-07 18:50
professionalChris Losinger16-Feb-07 18:50 
GeneralRe: Working with huge Floating Point Numbers Pin
Semion_N16-Feb-07 19:05
Semion_N16-Feb-07 19:05 
GeneralRe: Working with huge Floating Point Numbers Pin
Chris Losinger17-Feb-07 5:40
professionalChris Losinger17-Feb-07 5:40 
QuestionDeleteing Temp-Files Pin
e-DJ16-Feb-07 2:53
e-DJ16-Feb-07 2:53 
QuestionRe: Deleteing Temp-Files Pin
David Crow16-Feb-07 2:57
David Crow16-Feb-07 2:57 
AnswerRe: Deleteing Temp-Files Pin
e-DJ2-Mar-07 0:04
e-DJ2-Mar-07 0:04 
GeneralRe: Deleteing Temp-Files Pin
David Crow2-Mar-07 2:37
David Crow2-Mar-07 2:37 
QuestionPostMessage and Send Message Pin
AKSIVAKUMAR16-Feb-07 2:02
AKSIVAKUMAR16-Feb-07 2:02 
QuestionRe: PostMessage and Send Message Pin
David Crow16-Feb-07 2:44
David Crow16-Feb-07 2:44 
AnswerRe: PostMessage and Send Message Pin
AKSIVAKUMAR18-Feb-07 20:13
AKSIVAKUMAR18-Feb-07 20:13 
QuestionRe: PostMessage and Send Message Pin
David Crow19-Feb-07 3:03
David Crow19-Feb-07 3:03 
AnswerRe: PostMessage and Send Message Pin
AKSIVAKUMAR19-Feb-07 18:06
AKSIVAKUMAR19-Feb-07 18:06 
QuestionRe: PostMessage and Send Message Pin
David Crow20-Feb-07 2:32
David Crow20-Feb-07 2:32 
AnswerRe: PostMessage and Send Message Pin
Kharfax16-Feb-07 8:04
Kharfax16-Feb-07 8:04 
GeneralRe: PostMessage and Send Message Pin
AKSIVAKUMAR18-Feb-07 20:44
AKSIVAKUMAR18-Feb-07 20:44 
Questionhow to initiate DMA to transfer a file in Bus master NIC from user application Pin
arun kumar spk16-Feb-07 1:40
arun kumar spk16-Feb-07 1:40 
AnswerRe: how to initiate DMA to transfer a file in Bus master NIC from user application Pin
kakan16-Feb-07 2:22
professionalkakan16-Feb-07 2:22 

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.