Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalquestion about socket Pin
wood9-May-03 18:15
wood9-May-03 18:15 
GeneralRe: question about socket Pin
Ernest Laurentin9-May-03 19:16
Ernest Laurentin9-May-03 19:16 
GeneralWhat does the getpeename return? Pin
wood10-May-03 21:47
wood10-May-03 21:47 
GeneralRe: question about socket Pin
valikac10-May-03 5:53
valikac10-May-03 5:53 
GeneralCan you tell me what does the getnameinfo() return? Pin
wood10-May-03 22:03
wood10-May-03 22:03 
GeneralCreate edit control inside thread Pin
Nena19769-May-03 17:01
Nena19769-May-03 17:01 
GeneralRe: Create edit control inside thread Pin
valikac10-May-03 5:55
valikac10-May-03 5:55 
Generalcall fuction from another class Pin
aguest9-May-03 13:18
aguest9-May-03 13:18 
GeneralRe: call fuction from another class Pin
Wes Aday9-May-03 13:45
professionalWes Aday9-May-03 13:45 
GeneralRe: call fuction from another class Pin
aguest9-May-03 14:07
aguest9-May-03 14:07 
GeneralRe: call fuction from another class Pin
Toni789-May-03 14:15
Toni789-May-03 14:15 
GeneralRe: call fuction from another class Pin
aguest9-May-03 15:29
aguest9-May-03 15:29 
GeneralRe: call fuction from another class Pin
Toni789-May-03 15:44
Toni789-May-03 15:44 
GeneralRe: call fuction from another class Pin
aguest9-May-03 15:41
aguest9-May-03 15:41 
GeneralRe: call fuction from another class Pin
Toni789-May-03 15:46
Toni789-May-03 15:46 
GeneralRe: call fuction from another class Pin
aguest9-May-03 18:19
aguest9-May-03 18:19 
i make all what u ask me ,and this mistake don't stille but other mistakes appears:
<br />
OpenGlView.obj : error LNK2005: "int  PANIC_SPEED" (?PANIC_SPEED@@3HA) already defined in creatfoufou.obj<br />
OpenGlView.obj : error LNK2005: "int  MINIMUM_SPEED" (?MINIMUM_SPEED@@3HA) already defined in creatfoufou.obj<br />
OpenGlView.obj : error LNK2005: "int  STARTINGSPEED" (?STARTINGSPEED@@3HA) already defined in creatfoufou.obj<br />
OpenGlView.obj : error LNK2005: "class std::vector<class foufou *,class std::allocator<class foufou *> >  fou_caracter" (?fou_caracter@@3V?$vector@PAVfoufou@@V?$allocator@PAVfoufou@@@std@@@std@@A) already defined in creatfoufou.obj<br />
OpenGlView.obj : error LNK2005: "int  num_fou_caracter" (?num_fou_caracter@@3HA) already defined in creatfoufou.obj<br />
Debug/OpenGl.exe : fatal error LNK1169: one or more multiply defined symbols found<br />
Error executing link.exe.<br />
Creating browse info file...<br />
<br />
OpenGl.exe - 6 error(s), 2 warning(s)<br />


this
// creatfoufou.h: interface for the creatfoufou class.<br />
//<br />
//////////////////////////////////////////////////////////////////////<br />
 <br />
#if !defined(AFX_CREATFOUFOU_H__BE7E5BDB_1815_48E7_AAC4_B30A8F281BA4__INCLUDED_)<br />
#define AFX_CREATFOUFOU_H__BE7E5BDB_1815_48E7_AAC4_B30A8F281BA4__INCLUDED_<br />
<br />
<br />
<br />
#if _MSC_VER > 1000<br />
#pragma once<br />
#endif // _MSC_VER > 1000<br />
#include "gl/glut.h"<br />
#include "foufou.h"<br />
#include <vector> <br />
<br />
int STARTINGSPEED = 150;<br />
int MINIMUM_SPEED  =80;<br />
int PANIC_SPEED   =25;<br />
<br />
using namespace std;<br />
vector< foufou * > fou_caracter;<br />
int num_fou_caracter;<br />
<br />
class creatfoufou  <br />
{<br />
<br />
<br />
public:<br />
	GLfloat randomZ;<br />
	GLfloat randomY;<br />
	GLfloat randomX;<br />
	void setposition(int newX,int newY,int newZ);<br />
	void creatfou(int amount);<br />
	<br />
	creatfoufou();<br />
	virtual ~creatfoufou();<br />
private:<br />
	foufou *ptrfoufou;<br />
<br />
};<br />
<br />
#endif // !defined(AFX_CREATFOUFOU_H__BE7E5BDB_1815_48E7_AAC4_B30A8F281BA4__INCLUDED_)<br />

GeneralRe: call fuction from another class Pin
Toni789-May-03 18:32
Toni789-May-03 18:32 
GeneralDepricating functions Pin
Jack Handy9-May-03 9:26
Jack Handy9-May-03 9:26 
GeneralRe: Depricating functions Pin
Tim Smith9-May-03 9:34
Tim Smith9-May-03 9:34 
GeneralRe: Depricating functions Pin
Jack Handy9-May-03 9:46
Jack Handy9-May-03 9:46 
GeneralRe: Depricating functions Pin
Tim Smith9-May-03 9:49
Tim Smith9-May-03 9:49 
GeneralRe: Depricating functions Pin
aguest9-May-03 15:16
aguest9-May-03 15:16 
GeneralRe: Depricating functions Pin
Jack Handy9-May-03 22:07
Jack Handy9-May-03 22:07 
Generalnamespaces and forward declarations Pin
Member 9076299-May-03 8:58
Member 9076299-May-03 8:58 
GeneralRe: namespaces and forward declarations Pin
Orhun Birsoy9-May-03 9:46
Orhun Birsoy9-May-03 9:46 

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.