Ergashev Shahboz "O'yinlar nazariyasi va jarayonlar tadqiqoti"


yopish uEhMh EI0S9 tMhkSI}Bdi ishlatiladi. Masalan


Download 1.44 Mb.
bet10/16
Sana08.01.2022
Hajmi1.44 Mb.
#237182
TuriReferat
1   ...   6   7   8   9   10   11   12   13   ...   16
Bog'liq
c builder muhitida matn muharririni yaratish-конвертирован

yopish uEhMh EI0S9 tMhkSI}Bdi ishlatiladi. Masalan:

yozish.ClOSR(); oqish.ClOSR();



#include #include
using namespace std; int main ()

ofstream yozish; // fayfga yozfsñ oglminf ñosil gilfsñ
yozish.open(”namuna.txt”);

// ya.cgi namuna.LxL nomfi fayl hosff giffnaJf.

// agar.oamu.oa.fxt faylf ofJi.oJa.o bo'fsa,

// uofng eskf giymarfarf o'cñirifaJi



// va ya.ogf fayl hosf2 giffnaJf
yozish << ”Matnli faylga ms'lumot yozish” << endl; yozish << ”Juda oson!” << endl;
yozish.close() ; // faylni yoplsh return 0;

include include



#include using namespace std; int main ()

ifstream oqish; // fayfJan o'gfsñ ogfmini hosff gfffsñ

string satr; oqish.open(”namuna.txt”);

if (!oqish.is_open())



}


ostream sinfi funksiyalari


ostream& seekp ( streampos pos );

ostream& seekp ( streamoff off, ios base: :seekdir dir );




Download 1.44 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   16




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