Skip to main content

Posts

Showing posts from 2018
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]+             {w=w+1; c=c+ yyleng;} [\n ]                           {l=l+1;} ['{','}''(',')',.,",;]          {c=c+1;} %% int main() {     yyin= fopen("file1.txt&qu
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? Although cities coul
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**************************************
Arduino: Arduino Boards are the conrollers. Types Of Arduino Boards: Arduino Uno (R3)   The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can start playing with. The UNO is the most used and documented board of the whole Arduino family. Arduino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.. You can tinker with your UNO without worring too much about doing something wrong, worst case scenario you can replace the chip for a few dollars and start over again. "Uno" means o
Area of Interest: (Now We have to find out our area of interest and there is a lot confusion......and we go....m gonna research on this topic from now on..............till ll not get any solution..........) Software Development System Analysis Support Specialist Network and Systems Administration Security Database Administration AI IOT Software development: Now in Software development there are three fields which are: front end designer, backend designer and logic developer. Software developers are the creative minds behind computer programs. Some develop the applications that allow people to do specific tasks on a computer or another device. Others develop the underlying systems that run the devices or that control networks. System Analysis: In System Analysis    can include looking at end-user implementation of a software package or product; looking in-depth at source code to define the methodologies used in building software; or takin