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.
Submitted by heartin on Fri, 06/08/2018 - 22:28
Single File Systems
Users could make their own revisions of a document, commit changes, and merge them together. However, these systems (e.g. TCS) operates only on single files. It has no way of working with an entire project, so it does not support atomic commits affecting multiple files.
Examples include SCCS, RCS etc.
Pages