1 00:00:00,690 --> 00:00:04,770 So in this video we will be seeing how to store our share code in the resources section. 2 00:00:05,010 --> 00:00:11,670 So in the P file format that is in a file format, when we have different sections, one needs the data 3 00:00:11,820 --> 00:00:20,070 section where all our code place and the section is the data section where our variables get stored. 4 00:00:20,430 --> 00:00:22,920 So this is a variable above. 5 00:00:23,250 --> 00:00:25,020 So it contains initialized data. 6 00:00:25,020 --> 00:00:26,910 So this will go in that direction. 7 00:00:28,020 --> 00:00:37,020 The result section is the section where we start out our files, images, HDMI files are any other icons, 8 00:00:37,020 --> 00:00:41,970 etc. So are the files that are required by the executable. 9 00:00:42,150 --> 00:00:47,440 So those will be stored in the resources section and this will be seeing how we start our recording 10 00:00:47,480 --> 00:00:48,930 net resources section. 11 00:00:49,350 --> 00:00:53,520 So right click on these properties and go to resources in here. 12 00:00:53,520 --> 00:01:00,120 You can see I have already added a resource so I just remove the resource and choose the type as the 13 00:01:00,420 --> 00:01:03,660 files and tools to add resource. 14 00:01:06,460 --> 00:01:08,040 So we need to create a new fight. 15 00:01:08,740 --> 00:01:11,620 So let's go and copy out of this circle. 16 00:01:13,970 --> 00:01:14,810 Copy this. 17 00:01:17,480 --> 00:01:22,010 And until this one and I have showed this in. 18 00:01:26,880 --> 00:01:28,260 Resources data. 19 00:01:28,650 --> 00:01:30,600 So this is the same core. 20 00:01:32,800 --> 00:01:34,120 So we need to modify something. 21 00:01:34,120 --> 00:01:36,400 We need to promote this drugs and commerce. 22 00:01:36,910 --> 00:01:45,850 So to do that, we're going to replace zero eggs with them, be for sale, and also in common with them. 23 00:01:46,870 --> 00:01:47,890 And now we have this. 24 00:01:47,890 --> 00:01:49,860 We need to remove these new lines. 25 00:02:01,850 --> 00:02:02,690 And also this. 26 00:02:03,110 --> 00:02:08,420 And also make sure there is no space at the end of the day to sell this one. 27 00:02:09,080 --> 00:02:11,060 And now let's go and add this. 28 00:02:12,410 --> 00:02:21,350 As a resource now as it is now, we need to use that resource in our goal so we can do that using properties, 29 00:02:22,610 --> 00:02:23,690 not resources. 30 00:02:23,970 --> 00:02:29,870 DART So here we'll be getting our gold and this will be in a shooting format. 31 00:02:30,110 --> 00:02:32,440 So I have already written this area. 32 00:02:32,450 --> 00:02:34,580 I discovered this from Fraggle Rock. 33 00:02:34,910 --> 00:02:39,080 It will take the spring as an input and returns the battery. 34 00:02:39,110 --> 00:02:48,080 So it will go to each element and it will convert this, use this converter to it, to this beta and 35 00:02:48,080 --> 00:02:49,570 add to this greater. 36 00:02:52,380 --> 00:02:52,820 Um. 37 00:02:52,920 --> 00:02:54,100 So that's the. 38 00:02:57,190 --> 00:03:06,110 Starting to bite off this thing and we will get the batteries, their output return so we can see a 39 00:03:06,110 --> 00:03:10,230 bite of product to rename this as buffer. 40 00:03:11,390 --> 00:03:13,850 So our buffer, is it ready? 41 00:03:13,880 --> 00:03:24,530 So we can just use the previous code to get some memory and execute this function. 42 00:03:25,850 --> 00:03:33,020 So once debug the content of this code that the activity in the results section so you can start this 43 00:03:33,020 --> 00:03:41,060 one and here you can see we got the calculator and we did this one and after editing you should not 44 00:03:41,370 --> 00:03:42,050 build this one. 45 00:03:42,050 --> 00:03:45,020 You can just oh, you need to only run this one. 46 00:03:45,710 --> 00:03:47,720 Okay, so you can see there is no file. 47 00:03:47,720 --> 00:03:48,680 But still we got this. 48 00:03:50,210 --> 00:03:55,660 So remember not to build again once you read that code that you already can do. 49 00:03:55,690 --> 00:03:56,180 Simple. 50 00:03:59,740 --> 00:04:01,180 Your commission and Brenda.