rohn has asked for the wisdom of the Perl Monks concerning the following question:
I wanted to run a basic program
#!perl use Inline CPP => <<'END'; use warnings; int doodle() { } class Foo { public: Foo(); ~Foo(); int get_data() { return data; } void set_data(int a) { data = a; } private: int data; }; Foo::Foo() { cout << "creating a Foo()" << endl; } Foo::~Foo() { cout << "deleting a Foo()" << endl; } END
The Error faced:
Can't find string terminator "END" anywhere before EOF at inline.pl line 2.
I have also seen in many articles that Inline CPP does not work with VS 2008 (vc 9) is this correct ?.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Does Inline::CPP module works with VS 2008(vc 9.0)
by almut (Canon) on Sep 16, 2009 at 10:34 UTC | |
| |
|
Re: Does Inline::CPP module works with VS 2008(vc 9.0)
by mwah (Hermit) on Sep 16, 2009 at 11:29 UTC | |
|