Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: (jcwren) RE: Adding 2 + 2

by merlyn (Sage)
on Sep 11, 2000 at 07:44 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://31837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found