Skip to main content

Posts

code in cpp: //something new....... #include<stdio.h> int main() { int a,b,c; printf("%d",scanf("%d%d%d",&a,&b,&c)); return 0; } output :3 //thank yo
Ways to avoid spam mail() using PHP 1. Add this into your code    $headers .= "Reply-To: The Sender <vishakharrumale@gmail.com>\r\n";    $headers .= "Return-Path: The Sender <vishakharrumale@gmail.com>\r\n";    $headers .= "From: The Sender <senter@sender.com>\r\n";   2. OR add this into your code     $mail->addReplyTo('vishakharrumale@gmail.com', 'v');     $mail->addCC('vishakharrumale@gmail.com','cc');     $mail->addBCC('vishakharrumale@gmail.com','bc'); ***Note: Option 2 is simple and effective so use this...this will work***                                                         Thank You
How to run lex yacc programs on win 10 In short: For Lex steps to run: lex lex7.l gcc lex.yy.c a     For YACC steps to run: lex simple_compound.l yacc -d simple_compound.y gcc lex.yy.c y.tab.c a                          A.Lex 1. download flex for windows http://flex-windows-lex-and-yacc.software.informer.com/2.5/ 2. install it locatin:  C:\Flex Windows\ 3.open cmd 4.You need to change location as follows:  cd C:\Flex Windows\EditPlusPortable 5. Steps to run : lex lex7.l gcc lex.yy.c a Output : Word Count : 13 Char Count : 80 Line Count : 7 codes : lex7.l %{ /* *Program to count no of characters, words and lines */ #include<stdio.h> #include<string.h> int c=0,w=0,l=0; %} %% [\t ]+              /* ignore whitespace */ [a-zA-z]+  ...
IOT Internet of things. In this we can operate things automatically . ---> Like fans, lights, TV, Doors, taps, all things which we need to go and put on or off. IMP point:   IOT allows things to work as per logic . Main Problem (The overflow of bins in society or cities has following impacts) Bacteria, insects and vermin thrive from garbage Overflowing waste causes air pollution and respiratory diseases. Garbage contaminates surface waters, which affects all ecosystems.  Direct handling of overflowing waste exposes for health risks.  Inefficient waste control is bad for municipal wellbeing. Their is no one to say that bin is fully occupied or please through this garbage and empty her. So IOT provides us a new concept which take care of overflow of garbage in cities. As we know without garbage city will be neat and clean. An because of this peoples,animals will be safe from any diseases. How to prevent waste bins from overflowing? Althou...
Ubiquitous computing: So this is name of one subject.  Actually the name is Pervasive and Ubiquitous Computing . When I saw this I feel like this will be mine hardest subject ever. Even I heard this name first time but when I started to know more about this subject then I was like wow this is what we need to learn in next semester. In this we are going to learn latest tech. Which we do like most. And this is tech through which we can communicate with objects. Like when we enter into home we have one personal assistance in our home. that assistance will take decisions as per situations. Suppose the temperature of room is high means greater than 20 then that assistance take care of this situation and we can talk with him please on the AC or TV the he will replied "I have already on the AC because the temp>20.   
One code for Fizzbuzz: #include<iostream.h> using namespace std;  int main() { int no; cout<<"enter any no:"; cin>>no; if(no==3) {  cout<<"fizz";  } else if(no==5) { cout<<"buzz";  } else if(no==3 && no==5) { cout<<"fizzbuzz"; } else cout<<"invalid"; return 0; }
Guess what will be the output for this code: #include<stdio.h> int main() { printf("%d",printf("#Live#Love#Laugh#learn")); return 0; } OR #include<stdio.h> void main() { printf("%d",printf(" #Live#Love#Laugh#learn ")); getch(); } Output: *****************************happy coding**************************************