Matnli fayl berilgan fayldagi juft qatordagi matnlardan yangi fayl tashkil etish dasturini tuzing


Download 25.5 Kb.
Sana07.11.2021
Hajmi25.5 Kb.

Matnli fayl berilgan fayldagi juft qatordagi matnlardan yangi fayl tashkil etish dasturini tuzing .

#include>bits/stds++.h>


using namespasce std;
int main()
{
int t=0

string S [100000]


ifstream oqi (“text.txt”)
ofstream yoz (“text yangi)
While(!oqi .lof () )

{

getline (oqi ,s [++t] );



}

for (int i=2[; i<=t;+=2)



{
Yoz(<
}
Download 25.5 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2020
ma'muriyatiga murojaat qiling