in this video we're going to learn how
to handle string input with spaces in c
plus
so because we're working with strings
the first thing we'll do is include the
string library
next we'll declare a string variable
called name
and what we'll do in our program is
prompt the user to enter in their full
name
and we're going to try to store it into
the name string and then output the name
so we'll have c out
enter
full
name colon to p...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
exaloop/codon | C++PythonOther | 9.9k | +1.8k | 343 | +65 |
pytorch/pytorch | C++PythonCuda | 64.2k | +438 | 17.8k | +80 |
cheat-engine/cheat-engine | PascalCLua | 10.5k | +317 | 1.8k | +27 |
localsend/localsend | DartC++CMake | 9.2k | +293 | 456 | +7 |
microsoft/PowerToys | C#C++C | 88.4k | +269 | 5.1k | +23 |
flutter/flutter | DartC++Objective-C | 151.4k | +178 | 25k | +41 |
sylikc/jpegview | C++CHTML | 875 | +154 | 63 | +8 |
facebook/react-native | JavaC++JavaScript | 108.5k | +153 | 23.1k | +39 |
PaddlePaddle/PaddleNLP | PythonC++Cuda | 8.1k | +151 | 2.2k | +48 |
oven-sh/bun | ZigC++JavaScript | 40.1k | +149 | 1k | +9 |