Click here to Skip to main content
15,917,328 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Deleting items from a deque Pin
Andrew Walker11-Jun-03 23:55
Andrew Walker11-Jun-03 23:55 
GeneralRe: Deleting items from a deque Pin
Steve Thresher12-Jun-03 0:24
Steve Thresher12-Jun-03 0:24 
GeneralRe: Deleting items from a deque Pin
Neville Franks13-Jun-03 12:44
Neville Franks13-Jun-03 12:44 
GeneralAlignment property on ATL control Pin
john.angel11-Jun-03 6:20
john.angel11-Jun-03 6:20 
GeneralClassView information Pin
qur11-Jun-03 2:59
qur11-Jun-03 2:59 
GeneralATL: Deriving from IFont Pin
BadJerry11-Jun-03 0:47
BadJerry11-Jun-03 0:47 
GeneralHaving problem in hosting Mappoint control from ATL ActiveX control Pin
AishuM10-Jun-03 13:27
AishuM10-Jun-03 13:27 
Generalvector remove problem Pin
aguest10-Jun-03 9:29
aguest10-Jun-03 9:29 
i have a vector of structur like that :
struct CharacterCoordinate<br />
{<br />
	GLfloat xpos;<br />
	GLfloat zpos;<br />
	int Xahead,Zahead;<br />
	double pasZ;<br />
	double pasX;<br />
<br />
<br />
};


and i want to remove just some of them from the vector and i make like follow:
<br />
void Scene::RemoveCharacter(int amount)<br />
{<br />
CharacterCoordinate PtrCreat;<br />
<br />
int numCharacter = CharacterPos.size();<br />
<br />
	for(int i=0;i<amount;i++)<br />
	{<br />
      <br />
	 PtrCreat = CharacterPos[numCharacter - 1];<br />
		CharacterPos.pop_back();<br />
		delete PtrCreat;<br />
        <br />
<br />
	}<br />
}<br />

but it don't work,what's the problem in that??
GeneralRe: vector remove problem Pin
Ryan_Roberts10-Jun-03 9:42
Ryan_Roberts10-Jun-03 9:42 
GeneralRe: vector remove problem Pin
ZoogieZork10-Jun-03 10:48
ZoogieZork10-Jun-03 10:48 
GeneralRe: vector remove problem Pin
aguest10-Jun-03 11:22
aguest10-Jun-03 11:22 
GeneralRe: vector remove problem Pin
ZoogieZork10-Jun-03 13:40
ZoogieZork10-Jun-03 13:40 
GeneralBuild Error &quot;Performing registration&quot; Pin
clayne10-Jun-03 8:32
clayne10-Jun-03 8:32 
GeneralRe: Build Error &quot;Performing registration&quot; Pin
geo_m10-Jun-03 19:39
geo_m10-Jun-03 19:39 
GeneralSome advice on using deque please Pin
Steve Thresher10-Jun-03 8:17
Steve Thresher10-Jun-03 8:17 
GeneralRe: Some advice on using deque please Pin
Joaquín M López Muñoz10-Jun-03 8:46
Joaquín M López Muñoz10-Jun-03 8:46 
GeneralHows this for ugly! Pin
Steve Thresher10-Jun-03 9:47
Steve Thresher10-Jun-03 9:47 
GeneralRe: Hows this for ugly! Pin
Michael Dunn10-Jun-03 13:49
sitebuilderMichael Dunn10-Jun-03 13:49 
GeneralRe: Hows this for ugly! Pin
Steve Thresher11-Jun-03 21:45
Steve Thresher11-Jun-03 21:45 
GeneralOdd linker errors Pin
Tommy2k9-Jun-03 3:52
Tommy2k9-Jun-03 3:52 
GeneralRe: Odd linker errors Pin
Steve S9-Jun-03 4:01
Steve S9-Jun-03 4:01 
GeneralVector in Vector Pin
mpb6-Jun-03 2:02
mpb6-Jun-03 2:02 
GeneralRe: Vector in Vector Pin
Alexandru Savescu6-Jun-03 2:55
Alexandru Savescu6-Jun-03 2:55 
GeneralRe: Vector in Vector Pin
Anonymous6-Jun-03 4:22
Anonymous6-Jun-03 4:22 
GeneralRe: Vector in Vector Pin
Alexandru Savescu6-Jun-03 4:43
Alexandru Savescu6-Jun-03 4:43 

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.