Submitted by heartin on Sat, 07/04/2020 - 20:58
Arrays are data structures that hold a group of elements and each element has a position denoted by an integer called the index of that element.
Important properties of arrays
Important properties of arrays are:
-
Array indexes (element positions) have to be integers and start at 0.
Submitted by heartin on Sat, 07/04/2020 - 19:42
Multidimensional arrays are arrays of arrays. For instance, a 2D array is an array of 1D arrays and a 3 D array is an array of 2 D arrays, where each of those 2D arrays is again an array of 1D arrays.
Multidimensional array declaration and initializations
Declaration without initialization
int mArray[][]; or
int mArray1[][][]; or
int [] mArray2[][];
Submitted by heartin on Sat, 06/09/2018 - 02:45
Submitted by heartin on Sat, 06/09/2018 - 02:19
Creating Git Repo Locally
Go to an empty directory and run:
git init
Adding files to Git Repo
Create a file README.txt with some test contents
If you do 'git status' the README.txt file will be shown as un-tracked file.
Run:
git add README.txt
Notes:
To add all files in a directory:
git add .
To add only modified files:
git add -u
Submitted by heartin on Sat, 06/09/2018 - 00:42
System Level Configuration
git config --system
Stored in etc/gitconfig in Mac / Linux. Similar structure in Windows, usually within usually within Program Files.
User Level Configuration
git config --global
Stored in ~/.gitconfig in Mac / Linux. Similar structure in Windows, within user home folder.
Repository Level Configuration
git config
Stored in .git/config in each repo.
Pages