This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package basics; | |
| import java.util.*; | |
| import javax.swing.JOptionPane; | |
| class Basics { // done by Zulqurnain jutt | |
| public static void main(String[] args) { | |
| String s; | |
| int si,ei,numi; | |
| s=JOptionPane.showInputDialog(null, "\t::Starting Range::\t"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package basics; | |
| import java.util.*; | |
| class Basics{ // by Zulqurnain jutt | |
| public static void main(String argv[]) { | |
| String s; | |
| Scanner sc=new Scanner(System.in); | |
| System.out.print("::Start Entering Paragraph from Here::\n\t"); s=sc.nextLine(); | |
| char[] c=s.toCharArray(); | |
| System.out.print("\nTotal Character :=:"+c.length+"\nTotal Spaces :=:"+ (s.length()-s.replace(" ", "").toCharArray().length)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| using namespace std; | |
| int main(void){ // by zulqurnain jutt | |
| char arr[200]; // you can use pointer for longer strings | |
| cout<<"\n::Start Entering Your Paragraph Now::\n\t"; | |
| cin.getline(arr,200,'\n'); | |
| int i=0,j=0,NoofChars=0,Noofspaces=0,NoofStrings=0; | |
| for(;arr[i]!=0;i++,NoofChars++){ | |
| if(arr[i]==' '){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| #include<conio.h> | |
| void main(void){ // by zulqurnain jutt | |
| char* arr=new char[200]; // you can use pointer for longer strings | |
| printf("\n::Start Entering Your Paragraph Now::\n\t"); | |
| int i=0,j=0,NoofChars=0,Noofspaces=0,NoofStrings=0; | |
| while(arr[i]=getch()){ | |
| if(arr[i]!=13){ | |
| // escape sequence \n can't be used as '\n' in this case so use its Ascii 13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .model small ;preprocessors | |
| data_seg segment 'data' | |
| vargaye dw 1,0,5,8,3 | |
| data_seg ends | |
| stack_seg segment 'stack' | |
| db 100h dup(?) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <conio.h> | |
| using namespace std; | |
| /*******************************************************************************************************/ | |
| /*******************************************************************************************************/ | |
| /******************************** Node of Template Type ********************************************/ | |
| /*******************************************************************************************************/ | |
| /*******************************************************************************************************/ | |
| template<typename T> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include<iostream> | |
| #include <Windows.h> | |
| using namespace std; | |
| int main(){ | |
| int rows, col, i, j; | |
| cout << "Enter Number of Rows of Matrix :=:"; cin >> rows; cout << "\n"; | |
| cout << "Enter Number of coloumns of Matrix :=:"; cin >> col; cout << "\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package rx.android.observables; | |
| import rx.Observable; | |
| import rx.Observable.OnSubscribe; | |
| import rx.Subscriber; | |
| import rx.android.subscriptions.AndroidSubscriptions; | |
| import rx.functions.Action0; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.google.android.gms.tasks.Task; | |
| import com.google.firebase.database.ChildEventListener; | |
| import com.google.firebase.database.DataSnapshot; | |
| import com.google.firebase.database.DatabaseError; | |
| import com.google.firebase.database.DatabaseReference; | |
| import com.google.firebase.database.Query; | |
| import com.google.firebase.database.ValueEventListener; | |
| import rx.Observable; | |
| import rx.Subscriber; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.webkit.WebChromeClient; | |
| import android.webkit.WebSettings; | |
| import android.webkit.WebView; | |
| /** | |
| * Created by Zulqurnain on 19/03/2018. | |
| */ | |
| public class YoutubeUtils { |