Setf() Formatting Flags : ios::dec, ios::oct, ioc::hex in C++ with Example by Programming Brain

Опубликовано: 24 Март 2026
на канале: Programming Brain
884
21

Topics Covered:
Formatting Flags and Bit-fields,
Flags and Bit-fields for setf() Functions:,
ios::dec, ios::oct,ios::hex,
Program with ios::dec, ios::oct,ios::hex,
Execution of program.
Links of Previous Videos in C++:
Introduction C++    • C++ Language - Introduction To C++ By Prog...  
Input/Output operators    • C++ Language -Input/Output Operators,Data ...  
Nesting of class functions    • C++:-Nesting Of Member Functions And How t...  
C++ Operators ::*    • C++ :- Scope Resolution ,Pointer-To-Member...  
Implicit & Explicit    • C++ OOP :Implicit And Explicit Type Conver...  
Function Prototyping ttps://   • C++ : Functions , Function Prototyping And...  
Inline Function    • C++ : Inline Functions And Default Argumen...  
Split An Array    • C++ : Split An Array into two Arrays In C+...  
FunctionOverloading    • C++ : Function Overloading With Example In...  
class & Object    • C++ :Classes And Objects In C++ By Program...  
Array Of Objects    • C++ : Array Of Class Objects And Array Wit...  
Objects As Function argument    • C++ : Class Objects as  Function Arguments...  
Friend Function    • C++ : Friend Functions In C++ With Example...  
Friend Class    • C++ : Friend Class With Example In C++ By ...  
Friend Function With Two Classers    • C++ : Access The Data Members Of Two Class...  
Constructors    • C++ : Constructors With Program In C++ By ...  
Constructors with default arguments    • C++: Constructors With Default Arguments A...  
Copy Constructor    • C++ : Copy Constructor In C++ By programmi...  
Dynamic Constructor    • C++ : Dynamic Constructor With Example In ...  
Destructors In C++    • C++ : Destructors With Example In C++ By P...  
Overloading    • C++ : Operator Overloading In C++ By Progr...  
Overloading Unary Operator    • C++ : Overloading Program With Unary Minus...  
overloading Binary Operator    • C++ : Overloading Binary Operator Plus (+)...  
Inheritance    • C++:Inheritance ,Types of Inheritance In C...  
Single Inheritance    • C++: Single Inheritance in C++ With Exampl...  
Multilevel Inheritance   • C++ : Multilevel Inheritance With Example ...  
Multiple Inheritance :   • C++ : Multiple Inheritance in C++ With Pro...  
Constructors in derived class    • C++ : Constructors in Derived Classes With...  
Virtual Base Class    • C++ : Virtual Base Class With Example In C...  
Pointers To Objects :    • C++: Pointers to Objects in C++ with examp...  
this pointer in c++ :    • C++ : this Pointer in C++ with Example by ...  
Pure virtual function :    • C++ : PURE VIRTUAL FUNCTIONS IN C++ WITH E...  
Stream Classes :    • C++ Streams : Stream Classes in C++ Like i...  
Getline() and write() :   • C++ : getline() and write() Functions in C...  
ios width Function:    • FORMATTED CONSOLE I/O OPERATIONS , IOS FOR...  
precision() and fill() :   • C++: Ios Formatted  Functions precision() ...  
Formatting Flags ios::left :   • C++ : Formatting Flags, Bit-fields and set...  

Links Of Previous Videos Of C Language
C Introduction-    • C-Introduction to 'C' language by Programm...  
Consol Input/output Functions -    • Video  
Formated/Unformated Functions -    • 'C' program with Formatted and Unformatted...  
Increment/decrement Operators -    • Video  
Bitwise Operators In C -   • Bitwise Operators in 'c' language: &, |, ^...  
Bitwise Shift Operators -    • Bitwise Shift Operators   in C Programming...  
Switch Statement in C -    • Switch Statement in C Language by Programm...  
C Loops: for, while and do while in C -    • C Loops: for, while and do while in C Prog...  
Programs In C -    • programs factorial,reverse no,convert Bina...  
Nested Loops -    • Nested Loops With Programs in C Language B...  
Multiple Initialisations in for loop -    • Multiple Initialisations in for loop, cont...  
goto and exit() -    • goto Statement and exit() Function in C La...  
Array In C -    • Array in C Language By Programming Brain  
Sorting In C -    • Sorting in C Language By Programming Brain  
Programs with Array-   • Programs With Array in C Language By Progr...  
Insertion Sort -    • Insertion Sort in C Language By Programmin...  
Selection Sort - https://www.youtube.com/watch?v=_1Dx3...
Character Array In C -    • Character Array In C Language By Programmi...  
Count Number of characters,Spaces-    • Count Number of characters,Spaces And Word...  
Join Arrays ,Count No Of Vowels-    • Join Values of Two Integer Arrays and Coun...  
Reverse A String-    • Program For Reverse A String And Print @ S...  
split An Array-    • split An Array Into Two Arrays  In C Langu...  
strcmp, strcpy and strrev In C-    • String Functions strcmp, strcpy and strrev...  
Double Dimension Array ,Matrix in C-    • Double Dimension Array ,Matrix in C Langua...  
Transposition&Addition Of Matrix-    • Transposition Of Matrix And Addition Of Tw...  
Functions In C-    • Functions In C Language By Programming Brain  
Functions With Return Statement-    • Functions With Return Statement In C Langu...  
Calling Functions With Arrays-    • Program for Calling Functions With Arrays ...  
Programs With Function With Return-    • Programs With Function With Return Stateme...  
Pointers In C-    • C Language #1 - Pointers In C with Example...  
Factorial,Sum of All The Digits Of A No Using With Pointers-    • C - Factorial,Sum of All The Digits Of A N...  
Pointers To An Array and Array Of Pointers-    • Pointers To An Array and Array Of Pointers...  
Array Of Pointers To String-    • Array Of Pointers To String In C Language ...  
Pointers With String-    • Pointers With String.String Programs With ...  
malloc() and calloc() Functions-    • malloc() and calloc()  Functions in C Lang...  
Programs With Pointers With Functions-    • Programs With Pointers With Functions In C...  
Use Of Pointer(*p) And (**p)-    • Use Of Pointer(*p) And (**p) Double Pointe...  
Function Pointer Type-    • Function Pointer Type In C By Programming ...  
Structure In C-    • Structure In C Language By Programming Brain  
Array Of Structures-    • C Language #1 - Array Of Structures In C L...  
Structure With Function-    • Structure With Function In C By Programmin...  
Structure With Pointer-    • Structure With Pointer In C By Programming...  
Union In C-    • Union In C Language By Programming Brain  
Structures Within Structures And Union Of Structures-    • Structures Within Structures  And Union Of...  
Use Of typedef Statement-    • C Language - Use Of typedef Statement In C...  
File Handling In C -    • C Language - File Handling In C By Program...  
File Opening Modes -    • C language-File Opening Modes In C  By Pro...  
Programs to Search No In A File and Copy Data:    • C -Programs to Search No In A File and Cop...  
#sef() #ios::dec #ios::hex