Happy Birthday KDE: Difference between revisions
→C++
(Fixed title) Tags: Mobile edit Mobile web edit Advanced mobile edit |
Kailas Nath (talk | contribs) (→C++) |
||
Line 40: | Line 40: | ||
# open terminal | # open terminal | ||
# Use cd command to navigate to the folder where the HBD-KDE.c file is saved | # Use cd command to navigate to the folder where the HBD-KDE.c file is saved | ||
# Run gcc HBD-KDE. | # Run gcc HBD-KDE.c to compile the program | ||
# You would get a file named a.out , which is the binary output file | # You would get a file named a.out , which is the binary output file | ||
# You can run this file by running ``./a.out`` | # You can run this file by running ``./a.out`` | ||
=== C++ === | === C++ === | ||
-- [[User:Saliaku|saliaku]] ([[User talk:Saliaku|talk]]) | |||
# Choose a text editor of your choice | |||
# Type codes snippet mentioned here and save it as HBD-KDE.cpp | |||
# g++ and other required packages can be easily installed by running ``sudo apt install build-essentials`` | |||
# open terminal | |||
# Use cd command to navigate to the folder where the HBD-KDE.cpp file is saved | |||
# Run g++ HBD-KDE.cpp to compile the program (alternatively you can make use of the make command ) | |||
# You would get a file named a.out , which is the binary output file | |||
# You can run this file by running ``./a.out`` | |||
=== Python === | === Python === |