-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: #mastery01
Create and run C++ file
Although sometimes it seems a bit complex, it’s actually very easy to compile and run a program, let’s go step by step.
On the first screenshot we can see the directory we need to follow on cygwin, it’s not the same for every folder, that means you need to change it to wherever your source code is saved.
It always needs to start with cd /cygdrive/…… and then as you can see mine has a few directions.
Also to type in a basic program your code must start with
#include <iostream>
using namespace std;
int main()
and you start typing your code
I just typed in a “Hello from Mexico with Love” as an example, once your done with your code you need to save like this “whatevernameyouwant.cpp” be sure to type in the .cpp so that the compiler (cygwin) can know that we have a C++ file.
Then to compile it on cygwin you type the g++ command and the name of your program with .cpp at the end.
After that you type in an “ls” command to check your programs on that folder.
And to finish you just need to run in with ./a.exe
The screenshot shows every command, I hope it helps.
Comments Off on Create and run C++ file
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #include, #mastery01, #TC1017
Mastery 01 Tutorial Video
Here is a link to my Mastery 1 tutorial video! Hope you enjoy!
https:/
Comments Off on Mastery 01 Tutorial Video
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery01, #TC1017
Masteries
#Mastery01 https:/
#Mastery04 https:/
#Mastery05 https:/
#Mastery06 https:/
#Mastery07 https:/
#Mastery08 https:/
#Mastery09 https:/
#Mastery10 https:/
#Mastery11 https:/
#Mastery12 https:/
Comments Off on Masteries
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery01, #mastery04, #mastery05, #mastery06, #Mastery07, #mastery08, #mastery09, #Mastery10, #mastery11, #mastery12, #TC1017
Mastery 01
- Ability to create Python file and run from command line
To be able to run a program in the command line, you need to write cd c:/users/”your user”/desktop . If you have your file in another part of your computer, put that instead of “desktop”.
After that you’ll have to write “python” before writting the name of your program. This way, the computer will know that it’s going to use python to open that program.
Comments Off on Mastery 01
Posted in Blogs, Syndicated, TC1014 Blogs
Tagged #mastery01, Sin categoría
#mastery01 #TC1017
Comments Off on #mastery01 #TC1017
Posted in Blogs, Syndicated, TC1017 Blogs
Tagged #mastery01, #TC1017
Runing a Python File from the command line #Mastery01 #TC1014
I just recorded a video showing how to run a Python3 file from the command line.
Antonio Yosefat Juárez Quintero
Link: https:/
A01228128
Comments Off on Runing a Python File from the command line #Mastery01 #TC1014
Posted in Blogs, Syndicated, TC1014 Blogs
Tagged #mastery01, #TC1014
Long and detailed video for Masteries
Video
Python Basics | Programming Course
Masteries: 01, 02, 07, 10, 11, 12, 15, 16, 17, 19.
#Mastery01 #Mastery02 #Mastery07 #Mastery10 #Mastery11 #Mastery12 #Mastery15 #Mastery16 #Mastery17 #Mastery19
Comments Off on Long and detailed video for Masteries
Posted in Blogs, Syndicated, TC1014 Blogs
Tagged #mastery01, #mastery02, #Mastery07, #Mastery10, #mastery11, #mastery12, #Mastery15, #Mastery16, #Mastery17, #Mastery19, #TC1014