Today we are going to discuss include statements in a C programs. In the last blog of this series we’ve discussed about a function, called printf. We didn’t write the function definition, as it was already present in a file called stdio.h.
The real FUN of functions comes into play when you can build a very complex program by dividing it into smaller functions that do parts of the operations and can be reused in different parts of the program. These utility functions can also be packed together in a file(like stdio.h) and distributed among other developers, to reduce the coding effort of everyone.
Lets now discuss about the ‘function’ part in main() function. As the semester has just started, you may not have been introduced to the concept of functions in programming. In layman terms, a function is a block of code which performs a certain operation. This concept of grouping specific codes to perform some task dates back to early days of development of programming.
For a beginner, their first programming course can be quite intimidating. First of all, the whole computer system seems like a magical thing that can only be made by geniuses, so there is a general perception that computer programmers must be very smart.
It is ridiculous to still use turboC in 2018. We have so many new dev tools which offers improved coding experience and is uniform among different operating systems. The solution is to replace turboC in windows and other editors in linux by using VS Code in colleges and universities
The setup I am suggesting here is GCC compiler and Visual Studio Code(VS Code) editor for all three major operating systems(windows, linux and macOS). GCC in windows can be installed via minGW. In linux and macOS it can be directly installed through the terminal, though it may be a bit complex in mac.
Google I/O 2018 started on 8th May, and on the opening keynote, CEO Sundar Pichai introduced us to Google’s latest and arguably the most ambitious projects called Google Duplex. It is a technology to assist google assistant become more ‘human’ in its interaction with real people, thus stepping closer to beating the Turing Test.
This problem of privacy breach in social media only came to light when Cambridge Analytica scandal came to light, where 87 million Facebook users accounts were believed to be compromised. But our information present online poses greater threat than we imagine.
In a country like India, where people are still getting limited data over mobile networks, sudden expense of a lot of data(sometimes in GBs) could hamper their day to day work schedule(or otherwise). They should be able to turn off updates while connected on mobile networks and get updates done only using high speed broadband connections.
In the most basic of terms, its the interpreter between two blocks of codes(programs/libraries/modules). For our discussion let us consider both the individual blocks of codes be two separate programs. The API hides or abstracts the individual programming logic/code from each other. So one program never knows the implementation of logic of the other.