0
how to get value in javascript like in c++ - "cout<<;cin>>a;"??
plz answer
3 Réponses
0
You could try prompt:
var input = prompt("hello");
Alternatively you could use html tags like input or text fields etc. and access their content through javascript
0
how to activate js and c++ in atom editor
0
Well, basically Atom is (just) an editor. This means you can edit source files, but may not compile or execute your program. If you're working on a C++ project you can use g++ (a part of gcc) a c++ compiler to compile you program. For js I'd recommend you to simply create a html and js file and open it locally in your web browser, in case you're doing web design.