Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| /* | |
| Binary Search Tree : A binary tree in which all the nodes are arranged according to their values is known as Binary Search Tree. | |
| In this program we will see the code to create, insert an node, delete a node in a Binary Search Tree. | |
| */ | |
| #include<iostream> | |
| using namespace std; | |
| // Data Structure for Binary tree's nodes. | |
| struct BinarySearchTree |
| //Program to find the age in days. | |
| #include<stdio.h> | |
| #include<process.h> | |
| int main() | |
| { | |
| system("cls"); | |
| int m[12]={31,28,31,30,31,30,31,31,30,31,30,31}; | |
| int d1,d2,m1,m2,y1,y2,c1,c2=0,c3=0,c4=0,c5=0,k=0; | |
| printf("Enter Current Date in dd-mm-yy fromat:"); | |
| scanf("%d/%d/%d",&d1,&m1,&y1); |
| //Program to solve questions based on eigen value and eigen vector. | |
| //This is going to be a menu driven program. Following operations would be made possible by this code: | |
| //1. Find Determinant of an inserted matrix. | |
| //2. See if Matrix is consistant or not. | |
| //3. Finding sqquare of a Matrics . | |
| //4. Finding cube of a Matrix. | |
| //5. Finding product of two Matrix. | |
| //6. Finding Characteristic equation of a matrix. | |
| char const p_2= 253; //power to 2 superscript. |
| //Snake and Ladder Game | |
| //Project 1: Built Year 2019 | |
| #include<iostream.h> | |
| #include<conio.h> | |
| #include<stdlib.h> | |
| #include<process.h> | |
| char *square={"01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950"}; | |
| char *nul={" "}; | |
| char *ernul={" "}; | |
| char *erase={"01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950"}; |
| #include<iostream.h> | |
| #include<conio.h> | |
| #include<ctype.h> | |
| void main() | |
| { | |
| clrscr(); | |
| cout<<"Converting Sentence to Capital Letters."<<endl; | |
| char str[100]; | |
| cout<<"Enter the Sentence:"; | |
| cin.getline(str,100); |