Aqui esta un tutorial para que puedan aprender a usar las funciones basicas de cout y tambien cin. Completamente en español y explicado para Ubuntu.
Aqui esta el link:https://www.youtube.com/watch?v=WtvGQlgbqBA
#TC1017
#Mastery10
Continue reading ]]>Aqui esta un tutorial para que puedan aprender a usar las funciones basicas de cout y tambien cin. Completamente en español y explicado para Ubuntu.
Aqui esta el link:https:/
#TC1017
#Mastery10
]]>Now this video is for #mastery10 I have a post of this already, but as always a video is a better learning tool for some people.
Here’s the link =)
https:/
#TC1017
]]>Here i will explain you how to do basic output and input text based in C++.
To output something is really simple. in every output you always will have to put "
An example to output text you will put upper commas:
cout
An example to output a function you will do this:
cout
If you want to put some text and a function is:
cout
If you want to put end the line after whatever you print put this.
cout
Here is everything together:
cout
--------------------------------------------------------------------------------------------------------------------------------------------
To input something the first thing you want to do is to declare the variable were you want to save the input.
If is an int variable just put int n1;
If is a string name; (You will have to include the string library)
If is a boolean bool n1;
And etc.
After you now this the syntax to an input is:
cin >> ;
Let´s say you will save a number which is variable is n1.
cin >> n1;
That is basically everything to know about input and output in c++.
Hope you understand so i can get my 2 points!
Continue reading ]]>
Here i will explain you how to do basic output and input text based in C++.
To output something is really simple. in every output you always will have to put ”
An example to output text you will put upper commas:
cout
An example to output a function you will do this:
cout
If you want to put some text and a function is:
cout
If you want to put end the line after whatever you print put this.
cout
Here is everything together:
cout
——————————————————————————————————————————————–
To input something the first thing you want to do is to declare the variable were you want to save the input.
If is an int variable just put int n1;
If is a string name; (You will have to include the string library)
If is a boolean bool n1;
And etc.
After you now this the syntax to an input is:
cin >> ;
Let´s say you will save a number which is variable is n1.
cin >> n1;
That is basically everything to know about input and output in c++.
Hope you understand so i can get my 2 points!
]]>
Output e Input en c++
El output esta compuesto por la siguiente formula:
cout el texto que deseamos imprimir " endl;
Este ejemplo lo podemos notar en la imagen de arriba.
Al correr el programa imprime el texto entre los parentesis.
Debemos tener en cuenta que el texto siempre va entre comillas y al final del endl debemos poner punto y coma.
Para realizar el input debemos crar variables donde se guarde el valor entrante. Podemos resumirlo con la siguiente formula:
int (nombre de la variable);
cin >> (nombre de la variable);
Como podemos observarlo en la imagen superior.
Continue reading ]]>
Output e Input en c++
El output esta compuesto por la siguiente formula:
cout el texto que deseamos imprimir ” endl;
Este ejemplo lo podemos notar en la imagen de arriba.
Al correr el programa imprime el texto entre los parentesis.
Debemos tener en cuenta que el texto siempre va entre comillas y al final del endl debemos poner punto y coma.
Para realizar el input debemos crar variables donde se guarde el valor entrante. Podemos resumirlo con la siguiente formula:
int (nombre de la variable);
cin >> (nombre de la variable);
Como podemos observarlo en la imagen superior.
]]>
Uso de output e input en c++
primeramente explicare el uso de las output que para mi son las mas faciles ya que no se necesitan a fuerza variables.
el output esta principalmente compuesto por el cout, lo que quieres imprimir y el endl.
Los outputs se ingresan con el comando “cout” seguido de los simbolos
Los inputs se ingresan con el comando “cin” seguido de los simbolos >> lo cual significa datos de entrada al programa.
]]>Video for #Mastery10 Basic output and input #TC1017 https:/
I made a very basic program in Python that prints a string and a number.
“Print” is the most basic functions in phyton and is used to show anything you want in the console. For using it, it has some rules that must be followed, for example,after print always goes a parenthesis(), inside can bet integers, strings, and also text but the text has to be inside quotation marks “” for example:
]]>