Airsaylongcon's Posts
Nairaland Forum › Airsaylongcon's Profile › Airsaylongcon's Posts
1 2 3 4 5 6 7 8 ... 14 15 16 17 18 19 20 21 22 (of 139 pages)
Of a quick Google search this is what I got. And it's a bit intuitive to analeand understand it. 60 #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> int isKeyword(char buffer[]){ char keywords[32][10] ={"auto","break","case","char","const","continue","default", "do","double","else","enum","extern","float","for","goto", "if","int","long","register","return","short","signed", "sizeof","static","struct","switch","typedef","union", "unsigned","void","volatile","while"}; int i, flag = 0; for(i = 0; i < 32; ++i){ if(strcmp(keywords[i], buffer) == 0){ flag = 1; break; } } return flag; } int main(){ char ch, buffer[15], operators[] = "+-*/%="; FILE *fp; int i,j=0; fp = fopen("program.txt","r" ;if(fp == NULL){ printf("error while opening the file\n" ; exit(0); } while((ch = fgetc(fp)) != EOF){ for(i = 0; i < 6; ++i){ if(ch == operators[i]) printf("%c is operator\n", ch) ; } if(isalnum(ch)){ buffer[j++] = ch; } else if((ch == ' ' || ch == '\n') && (j != 0)){ buffer[j] = '\0'; j = 0; if(isKeyword(buffer) == 1) printf("%s is keyword\n", buffer) ; else printf("%s is indentifier\n", buffer) ; } } fclose(fp) ; return 0; } |
If you are interested in the Udemy – Python Django Dev To Deployment (2018-10) here are the links http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part1_Downloadly.ir.rar http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part2_Downloadly.ir.rar http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part3_Downloadly.ir.rar http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part14_Downloadly.ir.rar http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part5_Downloadly.ir.rar http://dl.downloadly.ir/Files/Elearning/Udemy_Python_Django_Dev_To_Deployment_2018-10.part6_Downloadly.ir.rar |
I disagree with the post above that it does nothing. The fact that it doesn't display any output given the state of the variables doesn't mean it does nothing. The code assigns a new value to variable k, checks if the flag variable is equal to 10 (and since it doesn't, nothing is displayed) and waits for input from user to terminate the program execution |
Gloriagee:I don't get how this is a punishment? It costs the parents nothing to register their child's birth at the NPC. In fact the government incurs costs for every registered child. So how is this a punishment? Plus the parents can register their child's birth when the child is aged 0-5. So if they are poor now, they can save within that time window and get the child registered |
MJBOLT:Nonsense click bait. I expected more from auto.josh |
Deomovies:Do your files meet the requirements? File name and resolution? |
Deomovies:If you can do minimum 720p X264(video codec) AAC (audio codec) in a Matroska container, I am willing to buy your entire content File name should preferably be in the following format SERIES SeriesName S01E02 - Episode Title.ext MOVIES Movie Title (Year).ext |
Henrywest76:http://dl.dlb3d.xyz You can also try dl2 dl3 dl4... dl9 |
Sluvist:You are right! It's called adverse drug reaction. And modern science has be open and admitted it. Is this not also possible with traditional medicine? Do the traditional medicine vendors admit this? Do they even tell you the ingredients in the traditional medicine? |
Sluvist:None. That's why there is dosage. If you take medications following a stipulated dosage, there is almost always no side effects. Tramadol that you see people abuse today is a legal medication prescribed in maximum of 50mg doses. The ones abused on the street is almost 5 times that. Imagine swallowing 5 paracetamol at once, surely there will be side effects to that abuse |
BlueRayDick:Yes. Bunkering is the supplying of fuel for use by ships, and includes the shipboard logistics of loading fuel and distributing it among available bunker tanks. What these guys are doing and calling "illegal bunkering" is coined from bunkering because after stealing the crude oil (and perhaps refining it) they supply it to ships on the high seas |
generationz:The agbo you took as a child was probably dogoyaro soaked in water. It has been scientifically proven that dogoyaro contains anti-malarial quinine. The agbo these days are a combination of untested and unverified herbs all soaked in anything from crude ogogoro to liquids such as formaldehyde (formalin used for embalming dead bodies). Since there's no Quality Control in how these things are produced, proper dosage cannot be given |
Mainland Greeks and their distant Cousins Cypriots are violent football supporters. This Athens derby always has the chance of degenerating into a full blown war. Used to be Omonoia and Apoel in Nicosia |
Make dem ban na. Dem go ban tire. As dem say dem stubborn we go show dem say we stubborn pass |
chymeze:I tell you for free, go to the UK. Do your FRCS. U can then go Canada or US. Surgery in Naija nobi am. Hope u are Ibadan trained sha . Cos any other Medical School is a School of Nursing. LollllWait you said Masters. Masters in what? Public Health? |
bayo2018: Really? No EFCC office in Warri? |
Joshrob: ![]() |
SocialJustice:My brother, for people wey dey Lagos Anywhere from Sapele to Ughelli (even reach Patani sef) all na Warri o .Because if ńa that one den Effurun nobi Warri. Warri start from Enerhen Junction go NPA ![]() |
JasonScoolari:God Father of what? Usi and amiedi politics? Nobi hin candidate Evelyn na hin Ọmọ-Agege use take do shooting practice? Ibori was a good governor but is a terrible leader. Very terrible succession planning. If like the Jagaban he had set a vision for Delta State when he was governor, 20years down the line we should be seeing the actualisation of the vision. But no, Odidigboyibo was content with allowing outside women fight with Nkoyo while he was 'dashing' money out to people. Money that if invested in education then, will be generating massive results now. Delta State is 8th in WAEC ranking. Imagine that! Even Edo State don pass us |
resosdigital:So for Spotify for example I don't see a uniqueness in streaming music or video media to multiple devices/users. There's already at least one very stable FOSS solution (well it was Foss but closed source and forked twice). A proper Google search turned up several others. I would have mentioned names here but I get banned anytime I do that. I agree that it may initially be difficult adapting OSS for use BUT once you overcome that initial difficulty it becomes very easy as you can leverage on the community to provide functionality that a single person can possibly provide. For example testing which is very crucial. Or feature requests and additions. I guess every developer has his preferred path. For my project, think about certain cases where people need to stream videos from the Internet but cannot either because of poor connectivity (rural locations for example) or simply because the Internet is not available or is too expensive (if it's available) e.g a plane. I'm designing a solution where these multimedia content can be hosted on a local server which can be readily accessed via a WLAN. So using the appropriate app, users can access and stream preloaded content without having to be connected to the Internet |
capitalzero:Wọn tí wise up |
id911:Go to her Instagram handle |
So I'm in sort of a similar situation where I'd like to stream content in an offline (non-Internet connected) scenario. An example would be a drug detox facility where access to the Internet is almost if not completely cut off. I have come across a lot of fully functional and free/FOSS solutions with accompanying apps that I'm thinking why would someone want to spend funds building from the scratch |
id911:She for example sells her time. So if you wanted her to attend your party (so it could be reported in the high society blogs and magazine) you'd have to pay her to make an appearance. The longer you want her to remain at the party the more you'd have to pay her. Even this dress she's wearing she's been paid to do so. That way the designer gets publicity. |
Onyi22:You nor see am there? Entrepreneur She dey sell things I like her though. (Not her products on sale o). Her CAN DO attitude to life. Never been affected by the lemons life throws at her |
Na wa o! So Dede don leave IT?! What's really holding this Train 7 sef? The IOC share holding companies are ready to invest. Is it FG through NNPC causing the stumbling block? This one that this hit front page it looks like management is trying to force the issue (NLNG news like this is inspired from the inside). Tony and Sadiq should do something real quick |
Funny how we are all hailing him. I'm from the South and if a Southern police officer did this to a Southern governor I would have been screaming TRAITOR. If it was a Northern police officer doing this to a Southern governor I would have been screaming ISLAMISATION! But here we find a Northern police man holding his integrity against a Northern governor and I'm hailing. God please give me the grace to be a true Nigerian not a factional or tribal Nigerian. Amen |
CaptainMarvel:I'm an Audi fan myself but I don't think the Audi outperforms the BMW. At least not in Naija. |
Emedu:This your permutation nor for work. Vote out Okowa and allow Delta North to have 12 years abi |
1 2 3 4 5 6 7 8 ... 14 15 16 17 18 19 20 21 22 (of 139 pages)
;
. Cos any other Medical School is a School of Nursing. Lollll