From: Kevin S. <kev...@ya...> - 2001-09-01 01:13:07
|
Here's my little program: ### require 'fltk' class MyWindow < Fltk::FLWindow def initialize super(0, 0, 400, 200, 'Hello Ruby-FLTK!') end end w = MyWindow.new w.show Fltk::run ### When I run it, it complains that I'm passing the wrong number of arguments to 'new' (0 for 4). I suspect we need to do something different in C++, but I don't know what. My prototype worked, but it was quite different so I don't know where to begin. Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |