forgot about concatenating and i cant find my old files to review about it :P
anyways my plan is just to add input of str1 with .txt...
I dont mind people correcting me, just please be noob friendly
the output is like:
Sorry about the noob codes... i just got back to coding... its like a year now LOLCode:Output: sample.txt
Code:#include<iostream.h> #include<conio.h> #include<stdio.h> main() { char str[100],str1[10],str2; clrscr(); str2=(".txt"); cout<<"1: "; cin>>str1; str=str1+str2; cout<<"Output: "<<str; getch(); return 0; }



LinkBack URL
About LinkBacks





