Posts

Showing posts with the label Mainichi Express

C++ || STL || standard template libraries

Image
                                       C++ STL  1.      Pair :  Syntax :      pair <int,char> p1;     it creates a pair {2,'c'} like this.           pair <int,int> p2;     it creates a pair {2,3} like this .  Basic Code :  #include <bits/stdc++.h> using namespace std; int main() {     // cout<<"hello world\n";     pair <int,int> p1 = {1,2};     cout<<p1.first<< " "<< p1.second<<endl;          pair <int, pair<int ,char>> p2 = {1,{2,'c'}};     cout<<p2.first<<" "<<p2.second.first<<" "<<p2.second.second<<endl;          pair <int,int> arr[] = {{2,3},{4,5},{6,7}};     cout...

Green newspaper in Japan

Image
Green newspaper / japan             Tear the newspaper after reading           and place in the soil to grow plants   Japan latest invention consists in a newspaper made of recycled and vegetable paper that you can plant after you’ve read it.   The Japan based newspaper "Mainichi Express" also called 'densu' has done a great job in helping the environment to eradicate the global warming, other climatic eruptions caused in the earth. So , the newspaper comes up with a solution. The recently released a newspaper that consists of vegetable ink and embedded seeds in it.               After reading the newspaper you need to tear the newspaper and put in to the soil. and then watering it. Due to this approach The vegetable ink and the seeds start grow in the soil. This makes the world greenary. The effort done by the newspaper is apprici...