What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-01-23 10:55:18
calculator with c++
// This is for beginners #include <iostream> using namespace std; void greetings() { cout << "welcome to the calculator made in c++ :D\n"; } void instructions() { cout << "Here is the operators you can use + - ... Add solution -
C++ 2021-11-23 05:34:13
how to open an input file in c++
#include <fstream> ifstream file_variable; //ifstream is for input from plain text files file_variable.open("input.txt"); //open input.txt file_variable.close(); //close the file stream /* Manually closing a stream is only necessary if y... Add solution -
C++ 2021-11-23 05:32:14
how to open an input file in c++
#include <fstream> ifstream file_variable; //ifstream is for input from plain text files file_variable.open("input.txt"); //open input.txt file_variable.close(); //close the file stream /* Manually closing a stream is only necessary if y... Add solution