- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
13 Posted Topics
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.
How to make a common API for python toolkits like tkinter,pygtk, pyqt
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.
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 …
How do I commit to svn in after posting a review request and being reviewed . Please elaborate
Can any1 help me in differentiating between dynamic and static scoping by using examples ??
Can anyone give me the code for awk scripting?
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]; …
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 …
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.
how can I read trace file in java and store it in an array.
The End.
maurya10