Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 4373 Name Furqan Date/Time 06-May-2020 06:13:59 PM

Copy text from below
#include <iostream>
using namespace std;

int main() {
string line;
cout << "Enter a string: ";
getline(cin, line);

for(int i = 0; i < line.size(); ++i)
{
if (!((line[i] >= 'a' && line[i]<='z') || (line[i] >= 'A' && line[i]<='Z')))
{
line[i] = '\0';
}
}
cout << "Output String: " << line;
return 0;
}




comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date
4308 jam 05-Dec-2019 04:31:02 PM
4307 Tt 05-Dec-2019 12:56:58 PM
4306 Ahmad HL7 03-Dec-2019 10:13:00 AM
4305 link 02-Dec-2019 05:40:44 PM
4304 lab sesss 02-Dec-2019 02:36:34 PM
4303 android 02-Dec-2019 02:30:20 PM
4302 Ln 01-Dec-2019 11:06:42 AM
4301 FAST UNI 30-Nov-2019 06:24:08 PM
4300 FAST UNI 2 30-Nov-2019 02:25:27 AM
4299 FAST UNI 30-Nov-2019 02:24:02 AM
4298 Link 29-Nov-2019 08:55:45 AM
4297 tsa 25-Nov-2019 08:53:19 PM
4296 mat 25-Nov-2019 08:51:34 PM
4295 Ahmad 22-Nov-2019 06:00:59 PM
4294 Ahmad 22-Nov-2019 03:22:02 PM
4293 dd 21-Nov-2019 11:51:29 PM
4292 uzair 21-Nov-2019 11:22:16 PM
4291 zain 21-Nov-2019 11:01:17 PM
4290 Ahmad 21-Nov-2019 05:11:20 PM
4289 sss 21-Nov-2019 04:33:49 PM
4288 Radix2 18-Nov-2019 02:16:52 PM
4287 table 18-Nov-2019 12:11:13 PM
4286 dbtutorial 18-Nov-2019 11:54:29 AM
4285 GAt 15-Nov-2019 06:22:27 PM
4284 Aa 15-Nov-2019 10:41:03 AM
4283 dsp 15-Nov-2019 09:57:50 AM
4282 dsppp 15-Nov-2019 09:21:38 AM
4281 wsal 15-Nov-2019 04:38:55 AM
4280 Hamza1 13-Nov-2019 09:17:17 AM
4279 link 12-Nov-2019 11:18:25 PM

[First] [Prev] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 [Next] [Last]
 
web counter
web counter


To report any error messages or bugs, or other issues, please send email at: info@pakproject.com