Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
0 Endorsements
~2K People Reached
Favorite Tags

13 Posted Topics

Member Avatar for maurya10

Can anybody suggest me the android code for connecting two devices that are transmitting files using bluetooth or ad hoc ? Any kind of help will be appreciated.

0
80
Member Avatar for maurya10

How to make a common API for python toolkits like tkinter,pygtk, pyqt

0
55
Member Avatar for rithish

If you picks pivot as random the running time varies in between O(N^2) to O(Nlog(N)) on size of input N. Picking middle as pivot gives quicksort of O(Nlog(N)) since quicksort on size N again calls on size N/2 twice given array elements are randomly in nature.

Member Avatar for maurya10
0
358
Member Avatar for maurya10

Here is the c code:- #include<stdio.h> #include<stdlib.h> #include<string.h> int main(int argc,char *argv[]){ if(argc==1){ //default printf("first version\n"); int i,j,k; char line[1024],*str1,*str,str2[1024],ch; FILE *in=fopen("/proc/cpuinfo","r"); i=0; while((fgets(line,1024,in))!=NULL){ // printf("%s",line); str=strtok(line, " :"); if(str!=NULL){ //point 1 if(strcmp(str,"model")==0){ printf("%d %s\n",i,str); //point 2 str=strtok(NULL, " :"); printf("%s\n",str); //printing "name" if(strcmp(str,"name")==0) //point 3 printf("CPU Model:=%s\n",strtok(NULL,":")); } else …

Member Avatar for maurya10
0
286
Member Avatar for maurya10

How do I commit to svn in after posting a review request and being reviewed . Please elaborate

Member Avatar for TrustyTony
0
38
Member Avatar for maurya10
Member Avatar for Banfa
0
94
Member Avatar for maurya10

Can any1 help me in differentiating between dynamic and static scoping by using examples ??

Member Avatar for Rashakil Fol
0
98
Member Avatar for maurya10
Member Avatar for maurya10
Member Avatar for maurya10

Filename is "htb.java". Here is the code:- import java.io.*; import java.util.*; import java.lang.*; public class htb{ public static void main(String[] args) throws Exception{ File f= new File("dyna.txt"); BufferedReader in = new BufferedReader(new FileReader(f)); String[] line = new String[40000]; line[0] = in.readLine(); int i=0; while(line!=null) line[++i] = in.readLine(); String[] mem_add=new String[100000]; …

Member Avatar for NormR1
0
240
Member Avatar for beeho

Make a list with head pointer pointing to the first element of the linked list. PUSH operation:- make a new node of struct node (structure of a node in linked list) and add this node at the start making it the head of the list. POP operation:- delete the header …

Member Avatar for beeho
0
282
Member Avatar for Pappu X

don't use this forum for asking such silly questions. u can get answer from any 1st level. don't expect us to waste time on such stuff. by the way order is O(N*logN). For more information refer any book or good site.

Member Avatar for Pappu X
0
504
Member Avatar for maurya10
Member Avatar for Ezzaral
0
72

The End.