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
3510 UserImpl 14-May-2018 05:27:37 PM
3509 User 14-May-2018 05:27:17 PM
3508 ChatClient 14-May-2018 05:27:04 PM
3507 link 14-May-2018 05:14:37 PM
3506 cost 14-May-2018 11:13:45 AM
3505 ucs 14-May-2018 11:11:44 AM
3504 re 14-May-2018 11:10:37 AM
3503 pythgon 14-May-2018 10:32:44 AM
3502 sss 14-May-2018 09:15:59 AM
3501 spiral 14-May-2018 09:07:09 AM
3500 Name 12-May-2018 04:22:56 PM
3499 IteratorPatt 12-May-2018 04:22:15 PM
3498 Iterator 12-May-2018 04:21:12 PM
3497 Container 12-May-2018 04:20:29 PM
3496 Ai 12-May-2018 10:29:49 AM
3495 new search 12-May-2018 10:24:07 AM
3494 bfs 12-May-2018 10:13:48 AM
3493 Pak cities 12-May-2018 10:06:00 AM
3492 ass 12-May-2018 08:56:17 AM
3491 ajsksm 11-May-2018 10:36:19 AM
3490 asdhj 11-May-2018 09:33:12 AM
3489 dlls 10-May-2018 08:59:21 AM
3488 SDA 09-May-2018 08:01:57 PM
3487 65 09-May-2018 04:16:52 PM
3486 jigr 09-May-2018 03:57:52 PM
3485 jghgcgfd 09-May-2018 02:23:35 PM
3484 TEST 08-May-2018 11:04:32 PM
3483 khu 08-May-2018 10:19:28 PM
3482 Delete funct 08-May-2018 06:04:20 PM
3481 sarkar 08-May-2018 04:48:47 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