This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C Program to convert string | |
// into integer using for loop | |
#include <stdio.h> | |
#include <string.h> | |
int main() | |
{ | |
char* str = "4213\0"; | |
int num = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Task_Name": "sentenceMatching", | |
"Target_Index": "", | |
"Tasks": | |
[ | |
{ | |
"bangla_sentence": "এমন জীবন গঠন করো, যাতে মৃত্যুশয্যায় জীবনের দিকে তাকিয়ে স্মিত হতে পারো। ", | |
"english_sentence": "Lead a life you can look back at and smile at your death bed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
[ | |
"Task_Name": "sentenceMatching", | |
"Target_Index": "", | |
"Tasks": | |
[ | |
{ | |
"bangla_sentence": "এমন জীবন গঠন করো, যাতে মৃত্যুশয্যায় জীবনের দিকে তাকিয়ে স্মিত হতে পারো। ", | |
"english_sentence": "Lead a life you can look back at and smile at your death bed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What Is OpenGL? | |
OpenGL is a Graphics rendering API which is operating system independent, window system independent and has high-quality color images composed of geometric and image primitives. | |
OpenGL APIs can use following … | |
Gl | |
OpenGL API implementation (http://www.opengl.org) | |
Glu | |
OpenGL Utility | |
Glut – GLUT (OpenGL Utility Toolkit) – Glut is portable windowing API and it is not officially part of OpenGL. | |
OpenGL Utility Toolkit (http://www.opengl.org/resources/libraries/glut/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.10) | |
project(OpenGLLinuxTest) | |
add_executable(OpenGLLinuxTest1 main.cpp ) # which files should produce executables | |
target_link_libraries(OpenGLLinuxTest1 -lglut -lGLU -lGL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
#include <windows.h> | |
#include <glut.h> | |
#define pi (2*acos(0.0)) | |
using namespace std; | |
double cameraHeight; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************2-Opt best improve start***********/ | |
void TwoOptHeuristicBestImprovement(vector<int> vec) { | |
int ii, jj; | |
Tour.clear(); | |
memset(Vis, 0, sizeof(Vis)); | |
Tour = vec; | |
while (true) { | |
double Curr = Cost(Tour); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LD_LIBRARY_PATH | |
OTCL_LIB=/home/shamiul93/ns-allinone-2.35/otcl-1.14/ | |
NS2_LIB=/home/shamiul93/ns-allinone-2.35/lib/ | |
X11_LIB=/usr/X11R6/lib | |
USR_LOCAL_LIB=/usr/local/lib/ | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB | |
# TCL_LIBRARY | |
TCL_LIB=/home/shamiul93/ns-allinone-2.35/tcl8.5.10/library/ | |
USR_LIB=/usr/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[]{book} | |
\usepackage{lipsum} | |
\usepackage{color} | |
\usepackage{graphicx} | |
\title{\textit{Introduction to \LaTeX}} | |
\author{\textit{Shamiul Hasan Rumman}} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git status | |
git add hello.txt | |
git commit -m"hskdfgks" | |
git add --all | |
git diff | |
git dif --cached |