I am learning C++ as a required course for an engineering degree I'm pursuing. I never thought computational thinking was something I was capable of doing, so coding never crossed my mind as something that could be fun.
I am still in the basics but we just went over string literals and my brain just made a huge connection that C++ coding is broken down into string, character, double, boolean and integer categories.
Up until that point I was struggling with trying to learn each concept as if it were a wholly unique set of rules like learning a new language's verbs, nouns, etc. I obviously still have so much farther to go with learning C++, and I know this connection seems like a
cout << "well duh" << endl; moment for anyone who's been doing this for longer than a week, but to someone growing up so "right brained" I finally feel like the computational side of the world is something I can be a part of. If just a little bit.#include <iostream>
#include <string>
using namespace std;
int main () {
string firstWord;
string secondWord;
firstWord = "Hello";
secondWord = "World";
cout << firstWord << " " << secondWord << "!" << endl;
return 0;
}
Hello World!
https://redd.it/1okgox7
@r_cpp