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.
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";
}
Baggggggggggggggg
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.
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 }
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.Now, here some real help:
I want to know the basics, which program to use to edit and compile and that.
I would be appreciated.
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.
At 10/18/21 07:02 PM, DocDiegO wrote:At 10/18/21 06:34 PM, Omni-RHX wrote:Don't worry, i speak Spanish too.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.Now, here some real help:
I want to know the basics, which program to use to edit and compile and that.
I would be appreciated.
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:
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?
At 10/18/21 07:20 PM, Omni-RHX wrote:At 10/18/21 07:02 PM, DocDiegO wrote:Entonces si sabes que hablo español y tu tambien por que no me hablas español mijo?At 10/18/21 06:34 PM, Omni-RHX wrote:Don't worry, i speak Spanish too.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.Now, here some real help:
I want to know the basics, which program to use to edit and compile and that.
I would be appreciated.
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:
Thanks a lot for the info, very useful.
Aqui le dejo unos tutos
semeolvidoequisde
Gracias por la info.
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
Dude the best site to learn cpp: learncpp.com
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
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.
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. }