Last active
August 18, 2018 07:20
-
-
Save BrandonDyer64/a0cd502d5fef26bee16e6ed9a94b5c96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('wcpp').sync() | |
// Require our module | |
const addTwo = require('./addTwo.cpp') | |
// Run our C++ function | |
console.log('2 + 3 = ' + addTwo(2, 3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment