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
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
78
Member Avatar for maurya10

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

0
50
Member Avatar for rithish

#include<stdio.h> void quicksort(int [10],int,int); int main(){ int x[20],size,i; printf("Enter size of the array: "); scanf("%d",&size); printf("Enter %d elements: ",size); for(i=0;i<size;i++) scanf("%d",&x[i]); quicksort(x,0,size-1); printf("Sorted elements: "); for(i=0;i<size;i++) printf(" %d",x[i]); return 0; } void quicksort(int x[],int first,int last){ int pivot,j,temp,i; if(first<last){ pivot=first; i=first; j=last; while(i<j){ while(x[i]<=x[pivot]&&i<last) i++; while(x[j]>x[pivot]) j--; if(i<j){ temp=x[i]; x[i]=x[j]; …

Member Avatar for maurya10
0
338
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
277
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
36
Member Avatar for maurya10
Member Avatar for Banfa
0
84
Member Avatar for maurya10

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

Member Avatar for Rashakil Fol
0
97
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
235
Member Avatar for beeho

Hi all, I'm having a problem here!! I've attended a lecture on Implementation of stacks in c++ using arrays and it wasn't really hard to understand, but now I'm supposed to know how to Implement a stack using linked list, that's the problem. help please?:confused:

Member Avatar for beeho
0
279
Member Avatar for Pappu X

Can someone please tell me the order of this merge sort? [CODE]#include<iostream.h> void merge(int[], int,int,int); void merge_sort(int[],int); int min(int x,int y) { if(x<=y) return x; else return y; } void main() { int array[16] = {5,0,12,1,4,3,25,6,8,7,45,9,13,2,17,10}; int i; cout<<"Unsorted : "; for(i=0; i<16; i++) { cout<<array[i]<<" "; } cout<<endl<<endl; merge_sort(array,16); …

Member Avatar for Pappu X
0
500
Member Avatar for maurya10