Results 1 to 4 of 4

Thread: Ho to interpret this?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    70
    Thanked 59 Times in 57 Posts

    Default Ho to interpret this?

    Hi,

    I'm tryin to use a OpenCV example that uses this code line:
    Qt Code:
    1. const CvScalar colors[] = \cvdefCpp{0,0,255}},{{0,255,0}},
    2. {{0,255,255}},{{255,255,0}
    3. ;
    To copy to clipboard, switch view to plain text mode 
    What I don't understand is the "cvdefCpp" text. What is and what it does?

    Another problem is that the compiler shows this error: "C2017: Escape sequence not valid". Erasing the "\" character I get a "syntax error: '}'"

    Thanks,
    Last edited by ^NyAw^; 4th February 2010 at 11:15.
    Òscar Llarch i Galán

Similar Threads

  1. making the printer correctly interpret pcl files
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2008, 16:41
  2. Replies: 3
    Last Post: 26th July 2006, 13:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.