Categories > WeAreDevs > Hangout >

Welcoming myself on my long journey of learning C++

NemesisX

Spoon#8225

Posts: 178

Threads: 56

Joined: Nov, 2018

Reputation: 4

Posted

I'm excited honestly. Despite all the hardness I have ahead, this will be fun. Or at least I can make it fun for myself.

std::cout << "Hello World!";

 

 

 

 

 

 

 

edit: "endl errored. now dat's some progress right there."

kthxbye

  • 0

https://cdn.discordapp.com/attachments/744131168018104320/749027674323812373/kekw.mp4 

 

Ducxy

Eclipse Cheats, LLC.

vip

Posts: 679

Threads: 103

Joined: Mar, 2019

Reputation: 37

Replied

std::cout << "Hello World!" endl;

is everyones first C++ line written change my mind

  • 0

NemesisX

Spoon#8225

Posts: 178

Threads: 56

Joined: Nov, 2018

Reputation: 4

Replied

@Ducxy

some people just start with 

#include <iostream>

 

int main()

{

return 0;

}

 

but I can confirm we all did :)

  • 0

https://cdn.discordapp.com/attachments/744131168018104320/749027674323812373/kekw.mp4 

 

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

im also learning cpp

i did the best calculator in the world (made this a few weeks ago)

 

#include <iostream>

 

using namespace std;

 

int main()

{

    int num1;

    int num2;

 

    cout << "Helloo calculator here lets do math\n";

    cout << "NOTE: This calculator is + only!\n";

    cout << "pls enter the first number in the console.\n";

    cin >> num1;

    cout << "ok now what is ur second numbr\n";

    cin >> num2;

    cout << "Calculating the numbers...\n";

    cout << "done your final number is:\n";

    cout << num1 + num2 << "\n\n";

 

    system("pause");

    return 0;

}

 

dont bully me ok

  • 0

NemesisX

Spoon#8225

Posts: 178

Threads: 56

Joined: Nov, 2018

Reputation: 4

Replied

@davidTube

nice start fam! I know we can go through this. It's gonna be fun.

  • 0

https://cdn.discordapp.com/attachments/744131168018104320/749027674323812373/kekw.mp4 

 

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

@NemesisX yes! thanks!

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )