00:00
00:00
Newgrounds Background Image Theme

BACKRUMS just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

I want to learn to program in C ++

1,042 Views | 13 Replies
New Topic Respond to this Topic

Hello, I would like to learn how to program in C ++, but I don't know where to begin.


I want to know the basics, which program to use to edit and compile and that.


I would be appreciated.


#include<iostream>

using namespace std;

int main(){

cout<<"Okey grab this code and paste it in a C++ compiler";

}

Response to I want to learn to program in C ++ 2021-10-18 18:13:35


^^ use this compiler repl.new/c


Baggggggggggggggg

BBS Signature

Response to I want to learn to program in C ++ 2021-10-18 18:25:12


At 10/18/21 06:13 PM, LaJBel wrote: ^^ use this compiler repl.new/c


Thanks for the suggestion, but i need a setup because in my zone i got a irregular connexion. but anyways, thanks again.

Response to I want to learn to program in C ++ 2021-10-18 18:34:07


At 10/18/21 02:27 PM, DocDiegO wrote: Hello, I would like to learn how to program in C ++, but I don't know where to begin.

I want to know the basics, which program to use to edit and compile and that.

I would be appreciated.


Now, here some real help:

Libraries: They contain many functions that will allow you to create your programs.

They must be placed at the beginning of the code, example:

#include <iostream>

There are many libraries, and you can even create your owns.


Reserved words: Some words are functions with reserved words, examples: if, while, for.


int main () {}:

This code always has to be there (although in some cases it doesn't). All your code must go in there.


Look for tutorials on YT, I can't recommend any because I'm spanish.

Also, sorry my bad english.

Here some real code:

#include<iostream>//this contain the function "cout"
using namespace std;//you need this for "cout"
int main(){
    cout<<"Hello wordl! <3";//this function print "hello wordl! <3" in your screen 
}

Response to I want to learn to program in C ++ 2021-10-18 19:02:53


At 10/18/21 06:34 PM, Omni-RHX wrote:
At 10/18/21 02:27 PM, DocDiegO wrote: Hello, I would like to learn how to program in C ++, but I don't know where to begin.

I want to know the basics, which program to use to edit and compile and that.

I would be appreciated.
Now, here some real help:
Libraries: They contain many functions that will allow you to create your programs.
They must be placed at the beginning of the code, example:
#include <iostream>
There are many libraries, and you can even create your owns.

Reserved words: Some words are functions with reserved words, examples: if, while, for.

int main () {}:
This code always has to be there (although in some cases it doesn't). All your code must go in there.

Look for tutorials on YT, I can't recommend any because I'm spanish.
Also, sorry my bad english.
Here some real code:


Don't worry, i speak Spanish too.


Thanks a lot for the info, very useful.

Response to I want to learn to program in C ++ 2021-10-18 19:20:13


At 10/18/21 07:02 PM, DocDiegO wrote:
At 10/18/21 06:34 PM, Omni-RHX wrote:
At 10/18/21 02:27 PM, DocDiegO wrote: Hello, I would like to learn how to program in C ++, but I don't know where to begin.

I want to know the basics, which program to use to edit and compile and that.

I would be appreciated.
Now, here some real help:
Libraries: They contain many functions that will allow you to create your programs.
They must be placed at the beginning of the code, example:
#include <iostream>
There are many libraries, and you can even create your owns.

Reserved words: Some words are functions with reserved words, examples: if, while, for.

int main () {}:
This code always has to be there (although in some cases it doesn't). All your code must go in there.

Look for tutorials on YT, I can't recommend any because I'm spanish.
Also, sorry my bad english.
Here some real code:
Don't worry, i speak Spanish too.

Thanks a lot for the info, very useful.


Entonces si sabes que hablo español y tu tambien por que no me hablas español mijo?

Aqui le dejo unos tutos


At 10/18/21 07:20 PM, Omni-RHX wrote:
At 10/18/21 07:02 PM, DocDiegO wrote:
At 10/18/21 06:34 PM, Omni-RHX wrote:
At 10/18/21 02:27 PM, DocDiegO wrote: Hello, I would like to learn how to program in C ++, but I don't know where to begin.

I want to know the basics, which program to use to edit and compile and that.

I would be appreciated.
Now, here some real help:
Libraries: They contain many functions that will allow you to create your programs.
They must be placed at the beginning of the code, example:
#include <iostream>
There are many libraries, and you can even create your owns.

Reserved words: Some words are functions with reserved words, examples: if, while, for.

int main () {}:
This code always has to be there (although in some cases it doesn't). All your code must go in there.

Look for tutorials on YT, I can't recommend any because I'm spanish.
Also, sorry my bad english.
Here some real code:
Don't worry, i speak Spanish too.

Thanks a lot for the info, very useful.
Entonces si sabes que hablo español y tu tambien por que no me hablas español mijo?
Aqui le dejo unos tutos


semeolvidoequisde


Gracias por la info.

Response to I want to learn to program in C ++ 2021-11-02 12:37:42


Some say this is a great resource for book recommendation, I've personally read a couple of books cited there, there's a section on C++ you could check: https://wiki.installgentoo.com/wiki/Programming_resources#C.2B.2B


O prudente varão há de ser mudo,

Que é melhor neste mundo, mar de enganos,

Ser louco c’os demais, que só, sisudo

Response to I want to learn to program in C ++ 2021-11-02 17:19:02


Thanks!


Response to I want to learn to program in C ++ 2021-11-12 06:23:29


Dude the best site to learn cpp: learncpp.com

Response to I want to learn to program in C ++ 2021-11-16 16:46:44


At 10/18/21 02:27 PM, DocDiegO wrote: Hello, I would like to learn how to program in C ++, but I don't know where to begin.

I want to know the basics, which program to use to edit and compile and that.

I would be appreciated.


https://www.youtube.com/watch?v=vLnPwxZdW4Y&ab_channel=freeCodeCamp.org

Response to I want to learn to program in C ++ 2021-11-22 09:47:38


For looking up functions/structs and how they work I recommend cppreference. All the ""pros"" use it.

I utilize either latest GCC or Clang.


"If it ain't weird, can it be cool?"

Scientists continue debating on this question.

BBS Signature

Response to I want to learn to program in C ++ 2021-11-28 03:43:51


learncpp.com, look up "FreeCodeCamp C++" on YouTube, or browse the C++ docs. It will definitely take time, but practice makes permanent.


Oh, and here's the standard hello world program for you. With comments!

#include <iostream> // Include standard input/output library
int main() {
    // Prints "Hello world! to the console"
    std::cout << "Hello world!\n";
    return 0; // Because the function is an int, it needs to return an integer value,
              // therefore we return 0.
  }

WHAT WAS, SHALL BE. WHAT SHALL BE, WAS.