0
Plz tell how to print source file code in its output in C++ not in c
3 Antworten
0
#include<iostream>
using namespace std;
int main(){
//You can choose any type of data
int a;
cin>>a;
cout<<a;
}
0
Bro I said source file plz read carefully source file means in file handling ,the thing u did is just basic
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