How to paste a program code in c++ which is copied from the notepad ?
Some of my friends asked me to how can we paste any code in c++ which is copied from any webpage or notepad. Today I'm posting the solving of this problem.
Here we can't paste anything by using simple ctrl+v method.
1. First of all copy the program code from any where by using simple ctrl+c shortcut.
2. Then create a notepad file in bin folder and paste your code in this file.
3. Save this file with .cpp extension.
4. Now open it in c++ .
Congrats! you've done it.
Here we can't paste anything by using simple ctrl+v method.
1. First of all copy the program code from any where by using simple ctrl+c shortcut.
2. Then create a notepad file in bin folder and paste your code in this file.
3. Save this file with .cpp extension.
4. Now open it in c++ .
Congrats! you've done it.
0 comments:
Post a Comment