Trying to go through "Discovering modern C++" and the first command is,
include
int main ()
{
std::cout << “The answer to the Ultimate Question of Life,\n”
<< “the Universe, and Everything is:”
<< std::endl << 6 * 7 << std::endl;
return 0;
}
I type this but I get an error
[Enter steps to reproduce:]
...
...
Atom: 1.54.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Pro
Thrown From: gpp-compiler package 3.0.7
Stack Trace
Uncaught TypeError: Callback must be a function. Received undefined
At fs.js:142
TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
at maybeCallback (fs.js:142:9)
at Object.writeFile (fs.js:1175:14)
at /packages/gpp-compiler/index.js:299:12)
at ChildProcess.emit (events.js:200:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
Trying to go through "Discovering modern C++" and the first command is,
include
int main () { std::cout << “The answer to the Ultimate Question of Life,\n” << “the Universe, and Everything is:” << std::endl << 6 * 7 << std::endl;
return 0; }
I type this but I get an error
[Enter steps to reproduce:]
Atom: 1.54.0 x64 Electron: 6.1.12 OS: Microsoft Windows 10 Pro Thrown From: gpp-compiler package 3.0.7
Stack Trace
Uncaught TypeError: Callback must be a function. Received undefined
Commands
Non-Core Packages
if anyone knows what this means please let me know! I am brand new to c++ by the way.