Skip to main content

Posts

Showing posts from 2019

How To Control & Specify Decimal Points of Float or Double Data Types in C?

Hello Everyone!!! Welcome Back!!! At the end of this module, you will be able to control and specify decimal points in float or double data types in C. Intro Many times, we use float data type to represent any result like CGPA marks, statistical data, average or any other data. While representing this data with float, the result will be shown in 6 decimal digits like 1.000000. We are going to code that can specify the decimal digits as our needs and requirements like 1.00 result. Let's See the Before and After Effects Before: I have created one float variable "a" which holds the value of 1. In the next line, I have printed "a". Let's see the output. Here, it prints useless 6 decimal digits. While we want to print mathematical data like the average of marks, it will be very awkward to print 6 decimal digits. So, it can be avoided by the trick given below. After: Trick: Insert the dot and number of decimal digits you want ...

Top 7 Trending Programming Languages To Learn in 2020 | New Year GiveAway

Hello Everyone!!! In this module, I will tell you the top trending and in-demand programming languages to learn in 2020. New Year GiveAway | Ethical Hacking Course Worth Rs. 12800 | Click Here Intro We have entered the new phase of the revolutionary world of artificial intelligence. It is important to learn some programming languages that can pay you in 2020. Top 7 CountDown 7. PHP PHP — Personal Home Page Server Scripting Language Web Oriented Language Designed for manipulating the information on websites Allows to add dynamic information to the web very easily & great at manipulating databases 7% of the web is made with PHP. Wikipedia & Facebook are made with PHP 6. Javascript Simple Web Programming Language A Powerful programming language used on nearly every website of world Cool & interactive effects on website 5. HTML & CSS HTML — HyperText Markup Language & CSS — Cascading Style Sheets For creating web pages HTML p...

🔥 Top 10 🔥 Most Useful Coding Tools & Resources Every Programmer 👨🏻‍💻 Should Know

Hello Everyone!!! In this post, I will tell you some awesome tools that every programmer should know. These tools are very useful & can increase your productivity. Intro The tools are sorted on the basis of their use. These tools can increase your productivity, save your time & much more !!! There are top 3 platforms in each category & web URL is attached to it. 10. Learning Platforms  Udemy YouTube Udacity 9. Discussion Platforms Stack Overflow GitHub Stack Exchange 8. Competitive Programming  HackerRank HackerEarth CodeChef 7. Personal Profile Portfolio Wix Strikingly Square Space 6. Databases  FireBase Realm MySQL 5. FrontEnd Website Builders WordPress Wix Squarespace 4. Design Tools  Canva Sketch Adobe Photoshop 3. Design Resources FreePik Flat Icon Color Hunt 2. Team & Project Management Slack Trello Atlassian Jira 1. Code Management DropBox Atlassian ...

Why Flowcharts & Algorithms are important before coding problem?

Hello Everyone!!! While solving any problem, it is very important to understand the problem. So, it is necessary to break down the problem into small aspects. Intro In this post, you will be able to understand the problem with the use of Algorithm and Flowchart by breaking down the problem into various steps. Algorithm It is a set of all detailed instructions of the given problem statement. It is necessary to get the outline of the given problem statement. It is step by step process to solve the problem logically. Flowchart It is generally the graphical representation of the algorithm. It is more effective than the algorithm. In the flowchart, inputs/outputs are represented by parallelogram, start/end represented by an ellipse,  process represented by a rectangle. These elements are connected through the arrows i.e. flow of problem. How To Do? It is necessary to break down the problem into small pieces. Follow the steps given below. Get a problem statemen...

How To Install Cocoa Pods?

Hello Everyone!!! In this tutorial, we are going to install cocoa pods to use them in our project. Intro Cocoa Pods are basically providing readymade external libraries coded with ruby. They are used only with Apple Platforms. They are created in Ruby language and used in Swift & Obj-C programming language. For More Info, Visit Official Site - COCOA PODS Get Started Open Terminal -> Keyboard Shortcut (CTRL + ALT + T). When the terminal gets open, don't change the directory, to avoid errors later on. How To Install? For installing cocoa pods, we need to be a SUPERUSER. So, we are using the SUDO command to install the cocoa pods. DCs-MacBook-Air:~ Dhanraj$ sudo gem install cocoapods After typing this command, it will ask you to provide the Admin Device Password. Enter the admin device password. It won't show any character or text fields, because of password protection. Your account should be the main admin account to install the coc...

👨🏻‍💻 Useful Shortcuts For Nano While Coding 👨🏻‍💻

GNU Nano is text editor uses the command-line interface. We are unable to use cursor in Nano Text Editor. So, here are some keyboard shortcuts mostly filtered for Coding...... Intro We can see all shortcuts by pressing CTRL + G which will show help menu. In this help menu, all keyboard shortcuts are present. You can use them at your convenience. But this help menu seems to be very complicated, So I am filtering some commands which are frequently useful for any programmer while coding with Nano. Shortcuts  Basic CTRL + G  or   F1   >>>>  Displays help menu CTRL + X  or   F2   >>>>  Close / Exit from Nano CTRL + O  or   F3   >>>>  Write current file to disk Code Navigation CTRL + F    >>>>  Move forward CTRL + B    >>>>  Move backward CTRL + W   >>>>  Search for string CTRL + P  ...

How to code programmatically in Xcode-Swift 4 ? Create a new Story Board programmatically….

Hello Everyone!!! Auto Layout is how we layout our UI in iOS applications. Learning how to use it programmatically can be overwhelming at first. In this introduction series, we’ll look at how to easily anchor elements onto the screen relative to other items. Most of the times, Xcode shows errors regarding constraints in the main storyboards. So, it is better to code programmatically by using the anchors. Let’s get started Step 1:- Open Xcode, Select the main storyboard & delete it…(move to trash) Step 2:- Now, go to the info.plist & delete the key of “Main Storyboard file base name” Step 3 :- To build our storyboard programmatically.…Go to the App Delegate & write the following code… Here, we have created a new window with the reference of user’s physical device. “makeKeyAndVisible()” -> It will show the window & makes it key window. Then we have connected the storyboard window to the View Controller with the help of “RootViewC...

Importance Of Programming

Hello Everyone! Have you seen any numbers like this 101010101101001? This is machine language. Programming enables representing machine language in a human-readable format. In this article, we are going to know about the importance of programming. Intro In the 19th century, people were not able to send a message from one place to another. But, nowadays people are communicating in a fraction of seconds. There is a huge development in technology in the past 20 years because of programming. Therefore, programming is important in daily life to enhance the power of technology. Importance  1.  Automation Artificial Intelligence is growing so fast & it will make most people better off over the next decades. The features like voice recognition, face recognition, personal assistants like Siri, Google Assistant are used by many people around the world. Technologies like AI & Machine Learning will definitely change the future. 2. Problem Solving P...

How To Find Location Of Server Of Website From URL?

Hello Everyone! In this article, we are going to find the root location of any website with the Terminal! We are going to use one amazing command to find the location from the URL. Intro Command Line (Terminal) is a very powerful tool! There are so many commands which are very powerful. Now, we are going to find the location of the server of Google. Also, this tutorial has a video tutorial:- CLICK HERE Step 1: Open Terminal First of all, Open the terminal. Go to applications & select terminal. Also, we can use a keyboard shortcut to open the terminal. Shortcut to open the terminal : (CTRL + ALT + T) Step 2: Use "traceroute" Command The "traceroute" command is used to find the location of a server by going through each connected wired/wireless servers. This command indicates "Trace The Route". We are going to trace the route with the "traceroute" command. This command determines the response delays from various nodes along...

How To Play Games On Terminal?

Hello Everyone !!! In this tutorial, I will show you how simple it actually is to play games on the terminal by using SUDO commands. SUDO means Super User Do Commands !!! Intro We can do many things by using the Terminal with a few commands. The terminal is a very powerful tool to perform amazing commands. In this tutorial, we are going to play games on the Linux terminal. What You Need? We are going to play games on Linux Terminal. The requirements are - Linux Terminal Internet Connection  Administration Password  Let's Get Started We are going to use 3 Commands to install the game at a time on one line. Be careful while using the "SUDO" command. It is a very simple command as well as dangerous & destructive. Let's get started with the following steps. Step 1: Open the Terminal First of all, open the terminal. Go to applications & choose terminal. Also, we can use a keyboard shortcut to open the terminal. Keyboard Shortcut For T...

How to { Compile + Run } a C Program Using Nano

Hello Everyone !!! If you don't have an IDE or Software with you to run your code, then don't worry !!! We have Hulk. Oops !! Sorry that was Tony Stark's dialogue... We have Nano to Compile & Run the program. At the end of this tutorial, you will be able to compile & run a C program using Nano Text Editor on the Terminal. Intro In the previous tutorial, we learned about the basic functions of Nano Text Editor using Command Line. If you haven't seen the previous tut, then click here . I found this feature of running C program with Nano while Code Blocks Software on my Mac was continuously crashing. So, when you don't have any IDE (Integrated Development Environment), you should use Nano. Let's Get Started Let's open up the Terminal. We can use (Ctrl + Alt + T) shortcut to open the terminal. The terminal is a very powerful tool of the operating system. Creating a new file DCs-MacBook-Air:~ Dhanraj$ nano fileName.c Here, ...

NANO | Command Line Text Editor

In this tutorial, you will learn to open, view & edit text files using the "Nano Text Editor" by running amazing commands in the terminal. Index Intro  Why Use Text Editors?  Let's Get Started  Open Text Editor  Create a New File  Open Existing File  Editing The File  Saving The File  Useful Cheats  Final Touch  What's Next?  Intro If you want features like undo/redo, syntax highlighting, line numbers, multiple files at once, replace at all locations, file locking, file backup with simple commands, then definitely you need Nano Text Editor. Nano is quite an old text editor written in C. Text Editor is a program which allows you open, view, edit text files. Text Editors can handle many different programming languages like C, Python, Ruby, HTML, CSS, etc. There are some Softwares like Microsoft Word, Pages, Google Docs. But, we can't use them to code. Text Editors are not IDE (Integrated Development Envi...

How To Select Your First Programming Language ???

If you have decided to learn how to code then, the first question comes up “Which Programming Language Should I Learn First ?”. It depends on a variety of factors. Now, let’s have a look on it……… First of all, there are some myths about programming languages. You have to remove it from your mind…… Myths About Programming You have to learn first the C Language. Then only you can learn other languages……. Many people suggest the following flow. C → C++ → JAVA → etc. In Indian Engineering academics syllabus, colleges are teaching the C Language as the basic language & they are forcing the student by using the above myths. I totally disagree with the above myths. Nowadays, Stanford is using “Python” as their first basic programming language in their university. Intro First of all, each programming language is created for different need. All programming languages have there own advantages & disadvantages. Once you learn one programming language, it is much easier t...