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
initial creation |
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
int main() | |
{ | |
// מטריצה היא מערך רגיל, שכל תא בו הוא מערך בפני עצמו | |
// המשתנה בשם "מטריקס" הוא מערך שכל תא בו הוא מערך בפני עצמו ("אינט" עם כוכבית) - מה שהופך אותו למטריצה | |
// מאחורי הקלעים - מטריקס הוא מערך רגיל | |
// אתחול המטריצה | |
int **matrix, rows, columns, row, column; | |
cout << "Please enter number of rows:" << endl; | |
cin >> rows; |
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
/** | |
* Downloads a file from a given URL. | |
**/ | |
function download(url) { | |
return new Promise((resolve, reject) => { | |
// Workaround for a programmatical file download. | |
const anchor = document.createElement("a"); | |
anchor.href = url; | |
anchor.setAttribute("download", ""); | |
document.body.appendChild(anchor); |