Posts

Happy holi in coding style

Image
WISH HAPPY HOLI USING C LANGUAGE: follow these steps : 1. open code blocks and select new project: 2. select console application : 3. click on next button and choose c language: 4. provide project title as well as project path: now you can see that the main window is open , so write the code here: #include <stdio.h> #include <wchar.h> #include <stdlib.h> #include <locale.h> int i,j; void delay() {     for(i=0; i<1000; i++)         for(j=0; j<3000; j++)         {} } void delay1() {     for(i=0; i<100000; i++)         for(j=0; j<3000; j++)         {} } void change() {system("COLOR 9");         delay1();         system("COLOR C");         delay1();         system("COLOR 5");         delay1();     ...

How to Start programming.

How to Start programming. First things first, you can't rely on books to learn CS. You need to have access to the internet and online resources. Books are good for the theoretical parts(Data Structures and Algorithms, Discrete Math, theoretical CS, Cryptography, etc. I will tell you about these later on). So, you just need an internet connection to study. So, as I mentioned in an earlier post, C++ is a good start. It's a good language with various applications, its still in use, and its accepted in almost all programming contests. Python is another good language for beginners, but its easy and has got its demerits as a first language(you will find it tough to move to C++ if you know Python as your first language, whereas learning Python after C++ is trivial). I'll tell you a step by step approach to learn programming. 1.  course on C++. There are many other courses on Coursera, Udemy, MITOCW, etc. but they are of some other languages. If you find a ...

first programming language

There are always some questions which trouble beginners a lot. Which 'language' should I begin with? Why should I learn to code? I don't have a laptop. I guess I should not go into this field. I don't know where to start. 1. Which 'language' should I begin with? Well, Computer Science is not about learning n number of language. Language is just a means of communicating with the computer. There are hundreds of programming languages, and everyone has its merits and demerits, and different use. Most complex structures like Facebook use many languages. You need to pick up one language first. Once you are good with its concepts, you can pick up any language. I personally feel that C++ must be your first language. 2. Why should I learn to code?  Basically, everything today(and even more in future) depends on computers, and hence on programmers and computer scientists. Your mobile phone works cause someone has coded the software. Heard of those sel...