Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
Misc
2.1k+ articles
C Language
1.8k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-file-handling
57 articles
cpp-manipulators
34 articles
Input and Output
20 articles
cpp-input-output
68 posts
Popular Articles
Recent Articles
How to Read a File Using ifstream in C++?
Last Updated: 24 April 2025
In C++, we can read the contents of the file by using the ifstream object to that file. ifstream stands for input file stream which is a cla
...read more
cpp-input-output
cpp-file-handling
C++
C++ Programs
Picked
CPP Examples
How to Read a File Line by Line in C++?
Last Updated: 05 February 2024
In C++, we can read the data of the file for different purposes such as processing text-based data, configuration files, or log files. In th
...read more
cpp-input-output
cpp-file-handling
C++
C++ Programs
Picked
CPP Examples
Unformatted input/output operations In C++
Last Updated: 11 November 2021
In this article, we will discuss the unformatted Input/Output operations In C++. Using objects cin and cout for the input and the output of
...read more
cpp-input-output
cpp-operator
C++
Operators
C++-Operator Overloading
cpp-operator-overloading
C++ Programs
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
Misc
2.1k+ articles
C Language
1.8k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-file-handling
57+ articles
cpp-manipulators
34+ articles
Input and Output
20+ articles
How to store a very large number of more than 100 digits in C++
Last Updated: 13 December 2023
Given an integer N in form of string str consisting of more than 100 digits, the task is to store the value for performing an arithmetic ope
...read more
Arrays
Misc
Strings
Mathematical
number-digits
large-numbers
cpp-input-output
Numbers
C++ Programs
DSA
Standard Error Stream Object - cerr in C++
Last Updated: 09 January 2025
In C++, cerr is the standard error stream used to output the errors. It is an instance of the ostream class and is un-buffered, so it is use
...read more
CPP-Library
cpp-input-output
C++
iomanip setfill() function in C++ with Examples
Last Updated: 22 July 2022
The setfill() method of iomanip library in C++ is used to set the ios library fill character based on the character specified as the paramet
...read more
cpp-input-output
CPP-Functions
C++
cpp-manipulators
Formatted I/O in C++
Last Updated: 24 October 2019
C++ helps you to format the I/O operations like determining the number of digits to be displayed after the decimal point, specifying number
...read more
cpp-input-output
C++ Programs
Input an integer array without spaces in C
Last Updated: 13 December 2018
How to input a large number (a number that cannot be stored even in long long int) without spaces? We need this large number in an integer a
...read more
c-input-output
cpp-input-output
C Language
C++
C-Input and Output Quiz
kbhit in C language
Last Updated: 07 June 2022
kbhit() functionality is basically stand for the Keyboard Hit. This function is deals with keyboard pressingkbhit() is present in conio.h an
...read more
Misc
cpp-input-output
C Language
C++
Using return value of cin to take unknown number of inputs in C++
Last Updated: 23 June 2022
Consider a problem where we need to take an unknown number of integer inputs.A typical solution is to run a loop and stop when a user enters
...read more
Misc
cpp-input-output
cpp-puzzle
C++
C/C++ Puzzles
What does buffer flush means in C++ ?
Last Updated: 20 May 2024
A buffer flush is the transfer of computer data from a temporary storage area to the computer's permanent memory. For instance, if we make a
...read more
cpp-input-output
C++
Why "&" is not used for strings in scanf() function?
Last Updated: 29 December 2021
Below is syntax of Scanf. It requires two arguments:scanf("Format Specifier", Variable Address);Format Specifier: Type of value to expect wh
...read more
cpp-input-output
C Language
C-String
Execution of printf With ++ Operators in C
Last Updated: 30 August 2024
Consider the following statement in C and predict its output.printf("%d %d %d", i, ++i, i++);This statement invokes undefined behavior by re
...read more
cpp-input-output
cpp-operator
C Language
C-Operators
Cin-Cout vs Scanf-Printf
Last Updated: 29 August 2022
Regular competitive programmers face common challenge when input is large and the task of reading such an input from stdin might prove to be
...read more
Competitive Programming
cpp-input-output
C Language
C++
DSA
getchar_unlocked() – Faster Input in C/C++ For Competitive Programming
Last Updated: 08 February 2022
getchar_unlocked() is similar to getchar() with the exception that it is not thread-safe. This function can be securely used in a multi-thre
...read more
Competitive Programming
CPP-Library
cpp-input-output
C Language
C++
DSA
First
1
2
3
4
5
>>
Last
First
1
2
3
4
5
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !