Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RE: (jcwren) RE: Adding 2 + 2

by merlyn (Sage)
on Sep 11, 2000 at 07:44 UTC ( #31837=note: print w/replies, xml ) Need Help??


in reply to (jcwren) RE: Adding 2 + 2
in thread Adding 2 + 2

OK, there's the challenge:
use Inline C => 'int add(int a, int b) { return a + b; }'; print add(2,2), "\n";
Hmm. Maybe I should hoist this up as a real snippet. {grin}

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2016-09-01 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found