Thread: C++ Code Error?
View Single Post
  #3   Spotlight this post!  
Unread 19-01-2003, 13:08
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
I don't see where you get some memory that pVertex can point to. The crash is probably memcpy() trying to blast data somewhere it shouldn't because pVertex is uninitialized. This may not be the case if you're doing this outside of the code snippet that you included.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org