dev-resources.site
for different kinds of informations.
setw() & setfill() | C++ boshlang'ich
Published at
3/12/2024
Categories
beginners
uzbek
dasturlash
cpp
Author
wahidustoz
Author
10 person written this
wahidustoz
open
setw(n)
- Ushbu funksiya chop etish uchun ma'lum uzunlik ya'ni ustunlar so'raydi. Masalan: setw(5) - chop etish uchun 5 ta ustun so'raydi.
- agar chop etilayotgan beliglar uzunligi so'ralgan ustunlar sonidan ko'p bo'lsa, hamma belgilar muammosiz chop etiladi.
Masalan:
cout << setw(1) << "Salom";
kodi garchi bitta ustun so'ralgan bo'lsa hamSalom
so'zini hammasini chop etadi.
cout << setw(10) << 123 << endl;
setfill('')
- Ushbu fuknsiya
setw()
funksiya bilan doimo birgalikda ishlatiladi. -
setfill('')
funksiyasisetw
ishlatilganda hosil bo'lgan bo'sh kataklarni berilgan belgi bilan to'ldiradi. *Masalan:cout << setw(5) << setfill('.') << 7 << endl;
kodi....7
chop etadi.`
uzbek Article's
30 articles in total
Command design pattern 🥷 O'zbek tilida
read article
Memento Design Pattern O'zbek tilida
read article
Mediator design pattern O'zbek tilida
read article
2D va 3D massivlar haqida C#(C-Sharp) tilida tushuncha
read article
Pattern Matching | Uzbek | C#
read article
Pattern Matching | Uzbek | C#
read article
StringBuilder | C#
read article
Properties in C# | Uzbek
read article
Classes in C# | Uzbek
read article
Nullable value Types | C#
read article
TryParse C# | Int32. Uzbek
read article
Maxsus belgilar | C++ boshlang'ich
read article
setw() & setfill() | C++ boshlang'ich
currently reading
Computer Vision: from 0 to HERO (5-dars)
read article
Computer Vision: from 0 to HERO (4-dars)
read article
Computer Vision: from 0 to HERO (3-dars)
read article
Computer Vision: from 0 to HERO (1-dars)
read article
Computer Vision: from 0 to HERO (intro)
read article
C++ dasturlash tili (1-dars)
read article
Masala
read article
Masofa | Masala
read article
C++ maxsus belgilari
read article
C++| Variables & Data Types
read article
Terminal komandalar| Part 2
read article
TERMINAL KOMANDALARI QUIZ GAME TEST.
read article
C++ foundation | O'zgaruvchilar
read article
My first post
read article
Terminal komandalari | 4, 5
read article
C++ dasturlash tili | 2
read article
Terminal. Day 2
read article
Featured ones: