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
3480 shakir 08-May-2018 04:37:51 PM
3479 olamba dani 08-May-2018 04:37:42 PM
3478 12 08-May-2018 04:30:33 PM
3477 ZA 08-May-2018 04:28:29 PM
3476 xyz 08-May-2018 04:28:09 PM
3475 criminal 08-May-2018 04:17:56 PM
3474 1234 08-May-2018 04:01:19 PM
3473 ooiere 08-May-2018 03:57:18 PM
3472 malik sab 08-May-2018 03:54:44 PM
3471 obaidullah 08-May-2018 03:53:49 PM
3470 shekh 08-May-2018 03:46:44 PM
3469 aizaz 08-May-2018 03:43:09 PM
3468 wqe 08-May-2018 03:39:43 PM
3467 qwe 08-May-2018 03:39:19 PM
3466 link 05-May-2018 09:40:41 AM
3465 xa 05-May-2018 09:40:09 AM
3464 jasin 04-May-2018 12:44:44 PM
3463 zxd 04-May-2018 10:00:33 AM
3462 abc 04-May-2018 10:00:07 AM
3461 LAB_7_7 03-May-2018 10:53:42 AM
3460 Mr.Us_Task_7 03-May-2018 10:40:25 AM
3459 Mr.US_Task_5 03-May-2018 09:32:32 AM
3458 siraat 03-May-2018 09:28:31 AM
3457 MR.US_Task_4 03-May-2018 09:26:33 AM
3456 Mr.USA LAB_3 03-May-2018 09:11:12 AM
3455 gui 02-May-2018 08:03:31 PM
3454 lulla bada 02-May-2018 05:10:02 PM
3453 2222 30-Apr-2018 06:02:51 PM
3452 emloye 30-Apr-2018 06:02:20 PM
3451 haider 28-Apr-2018 02:44:56 PM

[First] [Prev] 31 | 32 | 33 | 34 [Next] [Last]
 
web counter
web counter


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