Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

operator

A collection of 1 post
Stream from a String Instead of CIN in C++
c

Stream from a String Instead of CIN in C++

TL;DR: You can stream from a string instead of STDIN. Code is simple and is listed below. A project I did recently had a requirement to overload the >> operator use and STDIN to load data. The problem was not the overload itself, but the fact that testing
Jan 11, 2016 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost