Search
 
SCRIPT & CODE EXAMPLE
 

CPP

read from standard input cpp

#include <iostream>
#include <string>

int main() {
    for (std::string line; std::getline(std::cin, line);) {
        std::cout << line << std::endl;
    }
    return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: how to get part from the vector cpp 
Cpp :: what does for do in c++ 
Cpp :: sinonimo de tratar 
Cpp :: english to french typing online 
Cpp :: c++ generate random number upper and lower bound 
C :: _CRT_SECURE_NO_WARNINGS 
C :: c bold text 
C :: how to remove button decoration 
C :: purge nvidia 
C :: printf format specifiers 
C :: how to use gets after scanf 
C :: save numpy array to text file 
C :: sdl draw Rectf 
C :: simplify fractions C 
C :: font awsome circle info icon 
C :: arduino client disconnect 
C :: fast inverse square root explained 
C :: block a website on mac 
C :: nested switch case in c 
C :: how to combine strings in c 
C :: check if string in string c 
C :: Area of a Circle in C Programming 
C :: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration] 
C :: arduino wifi client 
C :: hello word in c 
C :: simple calculator, using switch statement in C 
C :: print hello world in c 
C :: Palindrome number in c program 
C :: function array median 
C :: C program to input the month number and output the month name using switch statement 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =