View Single Post
  #2   Spotlight this post!  
Unread 22-12-2008, 21:38
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Axis Camera in C++; code error??

You're missing a closing round-bracket on the 1st line. You have a ')' for GetLastError, then a ')' for GetErrorText, but you're missing a ')' for printf. It should be
Code:
if (StartCameraTask ()== -1) 
{
  printf( "Failed to spawn camera task; Error code %s",
GetErrorText (GetLastError())) };