Category: C

28
May
2017

C++ STL in Bangla

https://tanvir002700.wordpress.com/2016/04/15/c-stl-tricks1/  

26
May
2017

Data Structure: Queue

Stack VS Queue difference:   code: /* * C Program to Implement a Queue using an Array…

26
May
2017

Algorithm: BFS(Breadth First Search)

Theory: http://scanftree.com/Data_Structure/Breadth-First-Search Bangla: গ্রাফ থিওরিতে হাতেখড়ি-৪(ব্রেডথ ফার্স্ট সার্চ) Video: code implementation: Some other links may help: http://theoryofprogramming.com/2014/12/25/breadth-first-search-algorithm/…

25
May
2017

Struct Deep Example

code: #include<stdio.h> struct s1 { int roll; float gpa; }; struct s2 { char name[100]; char classe[20];…

24
May
2017

File Handling: Read Content From a Binary File

code: #include<stdio.h> int main() { FILE *fp; double data[5]; fp=fopen(“bin.bin”,”rb”); if(fp==NULL){ printf(“Unable to open file”); return 0;…

24
May
2017

File Handling: Formatted Data Reading and Writing Example

code: #include<stdio.h> #define SIZE 80 int main() { FILE *fp; FILE *fpr; fp=fopen(“E:/nosemsters/codes/crefresh/crefresh/c_for_technical_interview_udemy_course/file pointer/frmt.txt”,”r”); if(fp==NULL) { printf(“unable…