Posts

WHEN ubuntu don't accept

While writing my first C code using math library on XUbuntu I faced problem, which says undefined reference to pow, at a time I was making number ^ power  Program. So while searching I got to know that you have to do this while compiling in terminal  Eg ->    gcc  filename.c  -lm By adding -lm after gcc filename.c we can easily compile the program using math.h library.

GUIDE FOR COMPUTER SCIENCE STUDENTS

1st year     • 1semester           Learn C programming via YouTube channels eg-> MySirg.com, neso academy etc. This will take you almost 4 - 6 months to grasp all the concepts and to do fluid / not so fluid coding. Or if you wanted to learn will doing some projects you can go for codewithHarry youtube channel. mysirg.com(Best one) (https://www.youtube.com/playlist?list=PL7ersPsTyYt2Q-SqZxTA1D-melSfqBRMW ) Neso academy. (Optional) ( https://www.youtube.com/playlist?list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR) Codewithharry (if you want to learn C while making projects) https://youtu.be/ZSPZob_1TOk Love Babbar https://youtu.be/Z1KfAotr0NQ NOTE : DO WATCH LOVE BABBAR VIDEO:   (Must watch) To get an idea of what to do  https://youtu.be/xxgsHDQ0eJg        • 2nd semester           (1st half):           After learning C language now you are good to  with l earning c++ programm...

REGRETS AFTER COMPLETING FIRST YEAR BTECH (CSE)

> You will always feel that you have too       much time in your intial college time.  > But that is not true. Time runs faster         while you are in college phase, there         will be so many things you have in             small period which so much important  > Do studies on time never ever tend it          next day. > THIS WILL LEAD TO A GOOD GPA             throughout your engineering phase. > Try making FRIENDS at starting of the      college days. Because everyone here        are finding new friends. > Participate as much programmes as         possible so that you are able interact       with seniors of your.

coding struggles

DO THIS AND HAVE THIS QUALITY AS A STUDENT AND ALSO SOME TRUTHS: + It is hard to follow on. + So be consistent. + Never GIVE UP BROO + Start with one C or C++ both are best. + Whichever language you choose be determined to learn everything possible about that's language. + And don't ever do multi tasking while learning something. Do things one at a time.  + CONCENTRATE ON THAT PARTICULAR LANGUAGE ,MAKE NOTES AND PRACTICE QUESTIONS from HACKERRANK.

typecasting

#include<iostream> int main() { int a=10; Char ch = 'a'; ch = ch + a; Cout << ch; }

Then play with variables

#include<stdio.h> Int main() { int a,b; printf("Enter a and b"); scanf("%d %d"); c=a+b; Printf("%d",c); return 0; }

MY FIRST CODE IN C LANGUAGE

#include<studio.h> Void main { Printf("HELLO WORLD"); }