Learn to Code via Tutorials on Repl.it!

← Back to all posts
c++ introduction
MichealGossar

C++ is one of the most compaclationed languages (yes a language) to learn. The most basic line of code is:
'''
#include <iostream>
using namespace std;
int main() {
cout << "Hello World";
}
'''
that was very simple. The output would be Hello World. The first line #include <iostream> means to print text. Using namespace (the next line) is to...continued

Voters
WILLIAMBAEWER
MichealGossar
Comments
hotnewtop
[deleted]

I know a decent amount of languages.

staticvoidliam7

wooow that's waaay complicated

Highwayman

@LiamDonohue -_- technically if they had explained more in-depth, then it would have been "waay complicated". :(

oignons
Highwayman

@ipastrano oh hi! That reminds me, when are you doing you next tutorial?

oignons

@Highwayman Just did :D!

Highwayman

@ipastrano :D yeah! I saw that like right after I posted this question, and Ibwas like Oh! Yay! lol XD

[deleted]

Bruh, its literally like every nonnoobish language in [email protected]

staticvoidliam7

I said that 2 years ago lmao @LuaIsGudScript

[deleted]

OH, I misread it as 2 months [email protected]

staticvoidliam7