0

Plz tell how to print source file code in its output in C++ not in c

6th Apr 2020, 5:37 PM
Amit Kumar
Amit Kumar - avatar
3 Antworten
0
#include<iostream> using namespace std; int main(){ //You can choose any type of data int a; cin>>a; cout<<a; }
7th Apr 2020, 7:08 PM
Zeynalow Azim
Zeynalow Azim - avatar
0
Bro I said source file plz read carefully source file means in file handling ,the thing u did is just basic
11th Apr 2020, 9:42 AM
Amit Kumar
Amit Kumar - avatar
0
Just write a function on a blank sheet and save it in the ".h" format For example: 1. void tit(string s){ 2. cout<<s<<endl; 3. } Now save it in ".h" format: newfile.h
11th Apr 2020, 10:15 AM
Zeynalow Azim
Zeynalow Azim - avatar