Search This Blog

Tuesday, September 3, 2013

create your ideas into reality

See below:-

http://code2solve.blogspot.in/2013/08/create-your-ideas-into-reality.html

Creating Asynchronous request for Soap WebService with ASIHTTPRequest

See below:-

http://code2solve.blogspot.in/2013/08/creating-asynchronous-request-for-soap.html

Using TextField as UISearchBar and searching UIScrollView


See below:-

http://code2solve.blogspot.in/2013/08/using-textfield-as-uisearchbar-and.html

Monday, August 12, 2013

Using TextField as UISearchBar and searching UIScrollView

Convert your ideas into reality

What are you waiting for.. 

Stop spending more time , money, resources.
Just Contact :- a.maheshwari9855@gmail.com
and turn your ideas into reality. 

Platforms:- iOS, Windows Phone, .Net (softwares, Websites)

We wont let you and your idea down. It is as important for us as much as for you.

College startups a great opportunity for you, your ideas will be live without spending much.

We would assist you at every point.

College final year projects: why waste your time in searching on the internet when you can get the full fledged stuff here. With the documentation. 
Do smart work and score smartly.

Saturday, August 10, 2013

Dynamic loading of UIScrollview with two columns in iOS- Xcode

Submit an array through parse in iOS

Navigate on clicking the tab bar item

Make a tab bar controller and attach images and text to the items and also navigate to different controllers in iOS

Using TextField as UISearchBar and searching UIScrollView

You wont find this on internet ...
but now i have solved it and it is up the internet.

http://code2solve.blogspot.in/2013/08/using-textfield-as-uisearchbar-and.html

Awesome Blog for developers

Developers its for you, Asp.Net, iOS developer, Windows Phone .. 

all the important problems which you face you will find here .. 

If not then just post .. i will reply 



Friday, November 25, 2011

PRIORITY SCHEDULING ALGORITHM IN C

#include<stdio.h>
#include<conio.h>

int main()
 {
    int temp,temp1,n,pp[10],bt[10],waiting[10],awt=0,i,twt=0,j;
   printf("Enter the number of process : ");
   scanf("%d",&n);
 
   for(i=0;i<n;i++)
    {
      printf("\n Enter process burst time");

      scanf("%d",&bt[i]);
            printf(" : time priorities \n");
            scanf("%d",&pp[i]);
   
    }
  for(i=0;i<n-1;i++)
   {
     for(j=i+1;j<n;j++)
     {
       if(pp[i]>pp[j])
       {
         temp=pp[i];
         pp[i]=pp[j];
         pp[j]=temp;
         temp1=bt[i];
         bt[i]=bt[j];
         bt[j]=temp1;
   
      }
   }
}
waiting[0]=0;
 for(i=1;i<n;i++)
                    {
                                     waiting[i]=waiting[i-1]+bt[i-1];
                                     twt=twt+waiting[i];
                                     }
                                   
                                                          printf("\ntotal waiting time=%d",twt);
                                    
                                                      awt=twt/n;
                                     printf("\nAverage waiting time=%d",awt);

getch();
}

SJF SCHEDULING ALGORITHM IN C

#include<stdio.h>
#include<conio.h>
#include<process.h>
int main()
{
char temp[5];
int tot=0,wt[10],bt[10],i,j,n,temp1;
int avg=0;

printf("enter no of processes:");
scanf("%d",&n);
printf("enter burst time");
for(i=0;i<n;i++)
{
scanf("%d",&bt[i]);
}
for(i=0;i<n-1;i++)
{
for(j=i+1;j<n;j++)
{
if(bt[i]>bt[j])
{
temp1=bt[i];
bt[i]=bt[j];
bt[j]=temp1;

}
}
}
wt[0]=0;
for(i=1;i<n;i++)
{
wt[i]=wt[i-1]+bt[i-1];
tot=tot+wt[i];
}
avg=tot/n;
printf("total waiting time=%d\n avg waiting time=%d",tot,avg);
getch();
}

FCFS SCHEDULING ALGORITHM IN C

#include<stdio.h>
#include<conio.h>
#include<process.h>
int main()
{
    int n,i,burst[100],awt=0,twt=0,waiting[100];
    printf("Enter number of processes");
    scanf("%d",&n);
    printf("Enter burst time");
    for(i=0;i<n;i++)
    {
                    scanf("%d",&burst[i]);
                    }
                    waiting[0]=0;
                    for(i=1;i<n;i++)
                    {
                                     waiting[i]=waiting[i-1]+burst[i-1];
                                     twt=twt+waiting[i];
                                     }
                                    
                                                          printf("\ntotal waiting time=%d",twt);
                                     
                                                      awt=twt/n;
                                     printf("\nAverage waiting time=%d",awt);
                                     getch();
                                     }
                                                     

Friday, April 8, 2011

TRICK TO ACTIVATE THE HIDDEN ADMINISTRATOR ACCOUNT IN WINDOWS

USE COMMAND-->(to activate)

net user administrator /active:yes 

 USE COMMAND-->(to deactivate)

 net user administrator /active:no


ENJOY!!!!!