Difference between revisions of "Advance-C/C2/Command-line-arguments-in-C/Khasi"
From Script | Spoken-Tutorial
(Created page with " {| Border = 1 ! <center>Time</center> ! <center>Narration</center> |- | 00:01 |Khublei bad ngi Pdiang sngewbha IA PHI SHA KA “Spoken tutorial” halor KA “Command Line Ar...") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{| Border = 1 | {| Border = 1 | ||
− | + | |Time | |
− | + | |Narration | |
|- | |- | ||
| 00:01 | | 00:01 | ||
− | | | + | |khublei bad ngi pdiang sngewbha ia phi sha ka “spoken tutorial” halor ka “command line arguments” |
|- | |- | ||
| 00:07 | | 00:07 | ||
− | | | + | |ha kane ka jinghikai, ngin ia pule shaphangka rukom treikam jong ka “main()” bad ki “argument” ryngkat ki nuksa. |
|- | |- | ||
| 00:15 | | 00:15 | ||
− | | | + | | Na ka bynta kane ka jinghikai, nga pyndonkam da ka “Ubuntu Operating system” bersion “11.10” bad “gcc Compiler” bersion “4.6.1” ha Ubuntu. |
|- | |- | ||
| 00:27 | | 00:27 | ||
− | | | + | | ban sngewthuh ia kane ka jinghikai, phi hap ban nang ia ka Jinghikai“C” |
|- | |- | ||
| 00:33 | | 00:33 | ||
− | | | + | | lada ym dei, ia ka jinghikai ba syriem, sngwebha ban leit sha ka website kumba la pyni |
|- | |- | ||
| 00:39 | | 00:39 | ||
Line 23: | Line 22: | ||
|- | |- | ||
| 00:45 | | 00:45 | ||
− | | Ka | + | | Ka kyrteng ka phail ka dei “main hyphen with hyphen args.c” |
|- | |- | ||
| 00:50 | | 00:50 | ||
Line 32: | Line 31: | ||
|- | |- | ||
| 01:01 | | 01:01 | ||
− | + | | '''stdlib.h header file''' ka batai ia- | |
− | + | ||
− | + | '''Ka jingtreikam ban Pynkylla sha ki nombar ''' | |
− | + | '''Ki number ba lymbrum jong ka pseudo''' | |
− | + | '''Ka jingtreikam ban pynmih''' | |
− | + | '''Ka jingbuh jaka ha ka memory''' | |
+ | '''Ban pyntreikam ia ki control'''. | ||
|- | |- | ||
|01:16 | |01:16 | ||
− | |'''int argc, char asterisk asterisk argv''' (**argv). | + | |Kane ka dei ka “main ()” function. Hapoh jongka, ngi la ai artylli ki arguments- |
− | + | '''int argc, char asterisk asterisk argv''' (**argv). | |
|- | |- | ||
Line 48: | Line 48: | ||
|- | |- | ||
| 01:34 | | 01:34 | ||
− | | Kane kynthup ia ka kyrteng bashisha jong ka prokram. | + | | Kane ka kynthup ia ka kyrteng bashisha jong ka prokram. |
|- | |- | ||
| 01:38 | | 01:38 | ||
Line 54: | Line 54: | ||
|- | |- | ||
| 01:44 | | 01:44 | ||
− | | | + | | “Index 0” ka dei ka kyrteng jong ka prokram. |
|- | |- | ||
| 01:48 | | 01:48 | ||
− | | | + | | “Index 1” kan dei ka ba nyngkong ka “argument” ba ai sha ka prokram. |
|- | |- | ||
| 01:53 | | 01:53 | ||
− | | | + | | “Index 2”kan dei ka ba ar ka “argument” ba ai sha ka prokram bad ter ter. |
|- | |- | ||
| 01:59 | | 01:59 | ||
Line 72: | Line 72: | ||
|- | |- | ||
| 02:13 | | 02:13 | ||
− | | | + | | “While” “Condition” kan pynduna ia ka number jong ka nia-sot (arguments). |
|- | |- | ||
| 02:18 | | 02:18 | ||
Line 84: | Line 84: | ||
|- | |- | ||
| 02:35 | | 02:35 | ||
− | |Type:''' gcc space main hyphen | + | |Type:''' gcc space main hyphen with hyphen args.c space hyphen o space args'''. ňion''' Enter'''. |
|- | |- | ||
| 02:49 | | 02:49 | ||
Line 92: | Line 92: | ||
|Phin iohi ia ka jingmih kumne: | |Phin iohi ia ka jingmih kumne: | ||
"Total number of arguments are 1" | "Total number of arguments are 1" | ||
− | + | "The first argument is null" | |
− | + | "arguments are ./args" | |
|- | |- | ||
| 03:06 | | 03:06 | ||
− | | | + | |'''Command line arguments ''' la ai ha ka por ba pyndep. |
|- | |- | ||
| 03:11 | | 03:11 | ||
− | | | + | |'''Total number of arguments are 1''' katba ka zeroth argument ka dei ka kyrteng jong ka phail dalade ba lah ban execute. |
|- | |- | ||
| 03:19 | | 03:19 | ||
− | | | + | |'''The first argument is null ''' namar ba ngi khlem pat ioh ai ia kano kano ka argument sha ka prokram. |
|- | |- | ||
| 03:26 | | 03:26 | ||
− | | | + | |'''Argument''' ka dei kawei, kata kadei'''dot slash args''' |
|- | |- | ||
| 03:31 | | 03:31 | ||
Line 120: | Line 120: | ||
|- | |- | ||
| 04:04 | | 04:04 | ||
− | |To ngan batai ia ka jingmih. | + | | To ngan batai ia ka jingmih. |
|- | |- | ||
| 04:06 | | 04:06 | ||
Line 132: | Line 132: | ||
|- | |- | ||
| 04:22 | | 04:22 | ||
− | + | |"Sunday" la buh ha ka argument ba nyngkong. | |
|- | |- | ||
| 04:25 | | 04:25 | ||
− | + | |"Monday" la buh ha ka argument ba ar | |
|- | |- | ||
| 04:28 | | 04:28 | ||
− | + | |"Tuesday" la buh ha ka argument ba lai | |
|- | |- | ||
| 04:31 | | 04:31 | ||
Line 145: | Line 145: | ||
| 04:37 | | 04:37 | ||
|Ha kane ka jinghikai, ngi la nang ia ki: | |Ha kane ka jinghikai, ngi la nang ia ki: | ||
− | + | '''Command line arguments''' | |
− | + | '''argc''' | |
− | + | '''argv'''. | |
|- | |- | ||
| 04:45 | | 04:45 | ||
Line 153: | Line 153: | ||
|- | |- | ||
| 04:51 | | 04:51 | ||
− | |Peit ia ka video ba lah ban ioh | + | |Peit ia ka video ba lah ban ioh na ka link ba la pyni harum. |
|- | |- | ||
| 04:54 | | 04:54 | ||
− | |Ka batai lyngkot ia ka | + | |Ka batai lyngkot ia kane ka project ka SpokenTutorial project. |
|- | |- | ||
| 04:57 | | 04:57 | ||
Line 165: | Line 165: | ||
|- | |- | ||
| 05:08 | | 05:08 | ||
− | | | + | |Yn ai syrnod ia kiba pass ia ka online test. Na bynta ka jingtip ba kham bniah, sngewbha thoh sha ka |
'''contact@spoken-tutorial.org''' | '''contact@spoken-tutorial.org''' | ||
|- | |- | ||
| 05:18 | | 05:18 | ||
− | | | + | |“Spoken Tutorial” Project ka dei ka bynta jong ka '''Talk to a Teacher'''. |
|- | |- | ||
| 05:22 | | 05:22 | ||
− | |La kyrshan ia kane ka project da ka National Mission on Education lyngba ICT, MHRD, jong ka sorkar India. | + | |La kyrshan ia kane ka project da ka National Mission on Education lyngba ka ICT, MHRD, jong ka sorkar India. |
|- | |- | ||
| 05:30 | | 05:30 | ||
− | |Shuh shuh ki jingtip halor kane ka mission phin ioh na kane ka link ba la ai harum : http://spoken-tutorial.org\NMEICT-Intro. | + | | |
+ | Shuh shuh ki jingtip halor kane ka mission phin ioh na kane ka link ba la ai harum : http://spoken-tutorial.org\NMEICT-Intro. | ||
|- | |- | ||
| 05:36 | | 05:36 | ||
− | |La pynkylla sha ka ktien khasi da i Godwin pyrbot | + | |La pynkylla sha ka ktien khasi da i Godwin pyrbot bad nga i John Heribert Nongkynrih |
− | Khublei | + | Khublei shibun ba iasnohlang. |
+ | |} |
Latest revision as of 12:12, 15 May 2017
Time | Narration |
00:01 | khublei bad ngi pdiang sngewbha ia phi sha ka “spoken tutorial” halor ka “command line arguments” |
00:07 | ha kane ka jinghikai, ngin ia pule shaphangka rukom treikam jong ka “main()” bad ki “argument” ryngkat ki nuksa. |
00:15 | Na ka bynta kane ka jinghikai, nga pyndonkam da ka “Ubuntu Operating system” bersion “11.10” bad “gcc Compiler” bersion “4.6.1” ha Ubuntu. |
00:27 | ban sngewthuh ia kane ka jinghikai, phi hap ban nang ia ka Jinghikai“C” |
00:33 | lada ym dei, ia ka jinghikai ba syriem, sngwebha ban leit sha ka website kumba la pyni |
00:39 | To ngin sdang ia ka prokram jong ngi. Nga don ka code phail. Ngan plie ia ka. |
00:45 | Ka kyrteng ka phail ka dei “main hyphen with hyphen args.c” |
00:50 | To Ngan batai ia ka prokram. |
00:53 | Kine ki dei ki “Header”(Khlieh) phail. “stdio.h” ka batai ia “core input”bad “output”functions (jingtreikam). |
01:01 | stdlib.h header file ka batai ia-
Ka jingtreikam ban Pynkylla sha ki nombar Ki number ba lymbrum jong ka pseudo Ka jingtreikam ban pynmih Ka jingbuh jaka ha ka memory Ban pyntreikam ia ki control. |
01:16 | Kane ka dei ka “main ()” function. Hapoh jongka, ngi la ai artylli ki arguments-
int argc, char asterisk asterisk argv (**argv). |
01:28 | “argc” ka batai ia ka number jong KA “command line arguments” ba ai sha ka prokram. |
01:34 | Kane ka kynthup ia ka kyrteng bashisha jong ka prokram. |
01:38 | “argv”ka don ia ka “argument” bashisha ba sdang na ka “index 0” |
01:44 | “Index 0” ka dei ka kyrteng jong ka prokram. |
01:48 | “Index 1” kan dei ka ba nyngkong ka “argument” ba ai sha ka prokram. |
01:53 | “Index 2”kan dei ka ba ar ka “argument” ba ai sha ka prokram bad ter ter. |
01:59 | Kane ka jingiathuh kan pyni ia ki number ba kyllum jong ki“arguments”ba la ai sha ka prokram. |
02:05 | Kane kan pyni ia ka argument ba nyngkong ba la ai sha ka prokram. |
02:09 | “1” u ieng naka bynta ka “argument” ha ka “index 1”. |
02:13 | “While” “Condition” kan pynduna ia ka number jong ka nia-sot (arguments). |
02:18 | Kane ka jingiathuh kan pynmih lane print ia baroh ki arguments (Nia-sot) kaba ai sha ka prokram. |
02:23 | Ha ba kut, ngi ioh ia ka jingiathuh return 0 ‘’’ |
02:27 | To ngin plie ia ka “ terminal” da ba ňion “ctrl+alt” bad “T”ha ka juh ka por na ka keyboard |
02:35 | Type: gcc space main hyphen with hyphen args.c space hyphen o space args. ňion Enter. |
02:49 | Type: dot slash args. ňion Enter |
02:54 | Phin iohi ia ka jingmih kumne:
"Total number of arguments are 1" "The first argument is null" "arguments are ./args" |
03:06 | Command line arguments la ai ha ka por ba pyndep. |
03:11 | Total number of arguments are 1 katba ka zeroth argument ka dei ka kyrteng jong ka phail dalade ba lah ban execute. |
03:19 | The first argument is null namar ba ngi khlem pat ioh ai ia kano kano ka argument sha ka prokram. |
03:26 | Argument ka dei kawei, kata kadeidot slash args |
03:31 | To mynta ngin ia execute (pyndep) sa shisien |
03:34 | Ňion ia u up-arrow key space(jaka suda) type: Sunday space Monday space Tuesday. Ňion Enter. |
03:47 | Mynta ngin iohi ia ka jingmih:
Total number of arguments are 4 The first argument is Sunday “’Ki Argument ki dei ./args Sunday Monday bad Tuesday . |
04:04 | To ngan batai ia ka jingmih. |
04:06 | Baroh ki arguments ki don 4 tylli./args, Sunday, Monday bad Tuesday. |
04:14 | Ka argument ba nyngkong ka dei “Sunday” |
04:17 | Ka zeroth argument barabor ka ai ia ka kyrteng ka phail ba lah ban execute |
04:22 | "Sunday" la buh ha ka argument ba nyngkong. |
04:25 | "Monday" la buh ha ka argument ba ar |
04:28 | "Tuesday" la buh ha ka argument ba lai |
04:31 | Mynta ngi la poi sha ba kut jong kane ka jinghikai. To ngin ia batai lyngkot |
04:37 | Ha kane ka jinghikai, ngi la nang ia ki:
Command line arguments argc argv. |
04:45 | Kum ka jingaibynta, execute lane pyndep ia ka prokram da kiwei ki argument (nia-sot)s. |
04:51 | Peit ia ka video ba lah ban ioh na ka link ba la pyni harum. |
04:54 | Ka batai lyngkot ia kane ka project ka SpokenTutorial project. |
04:57 | Lada phim don ka bor internet ba khlain, phi lah ban shu download sa peit pat hadien. |
05:02 | Ka team Spoken Tutorial Project:* ka pynlong ki workshop da ba pyndonkam ia ki spoken tutorials. |
05:08 | Yn ai syrnod ia kiba pass ia ka online test. Na bynta ka jingtip ba kham bniah, sngewbha thoh sha ka
contact@spoken-tutorial.org |
05:18 | “Spoken Tutorial” Project ka dei ka bynta jong ka Talk to a Teacher. |
05:22 | La kyrshan ia kane ka project da ka National Mission on Education lyngba ka ICT, MHRD, jong ka sorkar India. |
05:30 |
Shuh shuh ki jingtip halor kane ka mission phin ioh na kane ka link ba la ai harum : http://spoken-tutorial.org\NMEICT-Intro. |
05:36 | La pynkylla sha ka ktien khasi da i Godwin pyrbot bad nga i John Heribert Nongkynrih
Khublei shibun ba iasnohlang. |