- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 8
- Posts with Upvotes
- 7
- Upvoting Members
- 3
- Downvotes Received
- 7
- Posts with Downvotes
- 6
- Downvoting Members
- 4
53 Posted Topics
Re: Haha 9 views (almost all from me) in 9 hours. These forums are officially DEAD! lolxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
Actually, I am learning php and I am eager to know how to send mails from php? Can you give me any start links from where i can learn to send mails and implement on my PC?I have learnt php on my own and now i want to implement this … | |
Re: [QUOTE=Mr.BunyRabit;1728979]I have a java program whith a mysql database. the user loggs in in the breginning of the system with a username and password. there are some functions that the normal users may not see/use. How do i know who is logged on to my system, since they only type … | |
actually, i don't know where to post this thread. but i know the people available on daniweb.com have much knowledge. will you please tell me that how to start writing proposal. i have spend 2 full days on PC reading about G-SOC but still i am not getting how to … | |
actually, i want to calculate 2^60000 in 1 second. i have tried a way but it is giving output in specified time for 1000 power only.(i have used arrays to store a one integer). will you please give me a hint only how to do that ? [B][I][U]"I AM NOT … | |
[CODE]#include<stdio.h> //#include<conio.h> //#include<string.h> #include<string.h> //#include<iostream.h> int main() { char al[28],b[104]; int i=0; int t,k=0; // b[0]='A'; scanf("%d\n",&t); while(t--) { // scanf("%s",b); gets(b); gets(al); //gets(al); //printf("%s",b); //puts(al); // scanf("%s",al); // for(k=0;c1!='\n';k++) // { // scanf("%c",&c1); // // b[k]=c1; // cin>>c1; // b[k]=c1; // } // printf("hello"); // puts(b); // gets(b); // … | |
[CODE]#include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include<dos.h> #include<math.h> void midline(int,int,int,int); void main(void) { int gdriver = DETECT, gmode, errorcode; int xmax, ymax; initgraph(&gdriver, &gmode, ""); errorcode = graphresult(); if (errorcode != grOk) { printf("Graphics error: %s\n", grapherrormsg(errorcode)); printf("Press any key to halt:"); getch(); exit(1); } setcolor(getmaxcolor()); int x1,y1,x2,y2; … | |
[CODE]#include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include<dos.h> #include<math.h> union REGS in,out; void hide_mouse(); void show_mouse(); void detect_mouse(); void detect(int*,int*,int*); void main(void) { int gdriver = DETECT, gmode, errorcode; int xmax, ymax; initgraph(&gdriver, &gmode, ""); errorcode = graphresult(); if (errorcode != grOk) { printf("Graphics error: %s\n", grapherrormsg(errorcode)); printf("Press any … | |
my teacher has told me to make a flag(India's national flag) in C using lines, bar and all. then fill colors. i have done this thing when i am writing this thread. now, he also told me now that the flag should look like as if it waving in the … | |
my question is that can we send e-mail through code written in java? i know that it can be made in php but don't knoe about java...if answer is yes, then can u give me hint that how to proceed means what to use(API, servlets or jsp or link from … | |
Re: [QUOTE=WaltP;1422487]And?[/QUOTE] A BIG LOL hahhahahahaha | |
[CODE]#include<stdio.h> #include<conio.h> int main() { FILE *p,*p2; char c; long l; long x; p=fopen("file1.txt","w"); printf("enter the content of file:"); while(c=getchar()!=EOF) { putc(c,p); } fclose(p); p=fopen("file1.txt","r"); // l=fseek(p,1L,2); l=ftell(p); p2=fopen("file2.txt","r"); c=getc(p); while(l!=-1) { if(c==' ') { x=ftell(p); // fseek(p,-1L,1); while(c=getc(p)!=' ') { putc(c,p2); fseek(p,-2L,1); } // fseek(p,x+1,0); } fseek(p,x,0); l=ftell(p); c=getc(p); … | |
Re: [QUOTE=stultuske;1728961]what is it giving a nullpointer on? if it's on the dbUrl, try with ("dbURL"), since in your call you use lowercase letters, but in your xml uppercases.[/QUOTE] i am using net beans 6.8 and in that there is no file named web.xml rather it has sun-web.xml, also its content … | |
hey! i want to give scjp this year and i have herbert schildt. i am reading it these days. but, my friends are saying that i should also take SCJP Sun Certified Programmer for Java 6 Exam 310-065 By Katherine Sierra, Bert Bates. what u say ? is it good … | |
hi. i want to print all the possible combinations of a string entered. for example:- string input is "abc"... then output is "abc bac acb bca cba cab" and it must be true for every length of string.. i have tried many times and applied as much logics i can. … | |
hey!tell me that what is difference between info contained in cookies and session(made in web container) ? let i have opened a website and done something in it and then i opened another site and do something on it. then tell me what is the info cookie is containing and … | |
hey!tell me that what is difference between info contained in cookies and session(made in web container) ? let i have opened a website and done something in it and then i opened another site and do something on it. then tell me what is the info cookie is containing and … | |
hello! i m reading servlets these days and i want to read about structs and sessions.please give me links here so that i can read about them and so that i can make some application(web) based on concept of these two. i have searched google and also find many things, … | |
hello! i m reading servlets these days and i want to read about structs and sessions.please give me links here so that i can read about them and so that i can make some application(web) based on concept of these two. i have searched google and also find many things, … | |
please tell me what exactly buffer is ? i have searched google.com a lot but not find what exactly it means ? what it means if i say "flushing the buffer"..? please tell me..what exactly is it ?? | |
Re: [QUOTE=Salem;375048]> char ch = getchar(); It should be int ch = getchar(); char holds all possible chars. To hold all possible chars and EOF, you need a bigger data type, thus int. Nor is the returned value guaranteed to be -1, which is why there is a constant EOF declared … | |
[CODE]PrintWriter file= new PrintWriter(new FileWriter("league1.txt",true)); file.print(value1); file.print(','); file.print(value2); file.print(','); file.print(value3); file.print(','); file.close();[/CODE] i m using this code to write in a file.. i m using this in servlet.value1, value2,value3 are Strings. and i wana to write it in file named "league1.txt". i have made this file in WEBPAGES folder in … | |
hey! i have made a List object as follows: List error = new LinkedList(); and then as per my requirements, i have added strings in it. like error.add(); like this. so, now at some time, i want this list to be empty, so i was doing error=null; which is giving … | |
Re: [QUOTE=adityatandon;1726723]C is the most basic language allowing maximum interaction with hardware!! Also, 90% of all other languages are derived from C. How dya think java is encoded ? They are all written using C! 'C' is the mother of them all :P :) And coming to why its still used... … | |
[CODE]#include<stdio.h> unsigned long int call( unsigned long int); int main() { int t=0,i; unsigned long int n; // scanf("%d",&t); while(t==0){ scanf("%lu",&n); printf("%lu\n",call(n)); //t--; } } long unsigned int call(long unsigned int n) { long unsigned int a,b,c,x,y,z,m,l; a=n/2; b=n/3; c=n/4; m=a+b+c; if(m>n) { x=call(a); y=call(b); z=call(c); l=x+y+z; if(l>m) return (l); … | |
i m doing jdbc in sql server. when i have installed it then it is asking for connection. in server column what i need to write ? by default "(local)" is there and when i press connect button, it says "error reporting!!" and some description about that. what is this … | |
hello! i m doing advance java now. and i m not getting any solid book for reference to read. actually, what i want in book is that it must have sample problem given with each concept! means it should be too explained. please refer a book from which i can … | |
[CODE]public class A extends Applet implements MouseListener,MouseMotionListener{ public void init(){ addMouseListener(this); addMouseMotionListener(this); } }[/CODE] please tell me that what "this" means here!! actually, what argument addMouselistener() function want ? i have seen API, in that it is given "MouseListener e", how it is true here ?? tell me please!! here … | |
hey! i m reading java. and at one place i have read Audio interface in which play(), loop() functions are defined,but interface is something in which there can't be any method defined. so this must be abstract not interface.so please tell this problem, y we are calling this as interface. … | |
i m not getting how to play a mp3 file using applet? i m using AudioClip A = getAudioClip(x); where x is --> URL x=C:'Users'gourav'java_pr; its just a try! i donot know how to use this. it is showing error. tell me how to use audioclip interface? | |
Re: [QUOTE=kkmfazil;1716897]i need a answer of the above Q?[/QUOTE] u r new to this site i think. u are not here to give us homework for us. do urself!! | |
[CODE]import java.io.*; class file3 { public static void main(String args[]) throws IOException { FileInputStream f1; int i; FileOutputStream f2; try { f1= new FileInputStream(args[0]); }catch(Exception e) { } try { f2= new FileOutputStream(args[1]); }catch(Exception e) { } try{ do { i=f1.read(); if(i!=-1) f2.write(i); }while(i!=-1); }catch(Exception e){}; do { i=f1.read(); System.out.print((char)i); … | |
[code]import java.io.*; class file2 { public static void main(String args[]) throws IOException { int b; b='A'; System.out.write(b); System.out.write('\n'); } }[/code] will anyone can tell that when i don't write System.out.write('\n'); then nothing comes in output. but after adding this statement 'A' got printed, why is it so ? secondly, i … | |
once a thread enters any sychorinsed method on an instance , no other thread can enter any other synchronised method on the same instance ? what does this line mean ? also, how can one method be called by many threads at the same time on the same object ? … | |
[CODE]class thr2 { public static void main(String args[]) { A a = new A("first","hello1"); A a1= new A("second","hello2"); try{ a.t.join(); a1.t.join(); }catch(Exception e) { } } } class A implements Runnable { Thread t; String str; B b = new B(); A(String name,String str) { t=new Thread(this,name); t.setName(name); this.str=str; t.start(); … | |
[CODE]class Newthread implements Runnable{ String name; Thread t; Newthread (String threadname) { name=threadname; t=new Thread(this,name); System.out.println(t); t.start(); } public void run() { try { for(int i=5;i>0;i--) { System.out.println(i); Thread.sleep(1000); } }catch(--------){ --------} } } class A{ public static void main(){ new Newthread("one"); new Newthread("two"); new Newthread("three"); try{ Thread.sleep(10000); }catch(){} } … | |
hi, my problem is that : let i m declaring a package P1 and i have defined one class as public in it.now i know that i can use it anywhere. but let if i want to make a second class as public then it can not be possible.but if … | |
hi, i want some problem so that i can write its code.my vacations are there and i m thinking to practice some codes.i have done data structures well and please gives problems on which i can think and implement them. :-)) don't give too much high level problems. ![]() | |
[CODE]#include<stdio.h> #include<conio.h> struct egde { int nodeno; struct edge*next; }; struct node { int nodeno; struct node *next; struct edge *link; }; struct node*graph=NULL; typedef struct node node; typedef struct egde edge; node*find(int); void insert_egde(); void insert_node(); void display(); int main() { int ch,i,j; do{ printf("\ninsert node"); printf("\ninsert edge"); printf("\ndisplay"); … | |
hello! i want to learn mobile applications using java.i know java and wana learn that now. please can anyone tell that how to learn and links or books to refer ?? | |
can anyone explain me this concept that "static members of a class can access only static variables?" any simple code as an example to show this? | |
let an integer say, x=0xffffff0; when i shift left 4 positions in it.it got negative. x=x<<1; doing this 4th time,number got negative. please tell why it is so. | |
please tell me that as i have learnt core java and i want to give SCJP which is coming in january? what exactly this exam is all about? how should i prepare for it? what is its value if i will pass this exam? please me all info about this. … | |
will anyone please give me the basic structure to traverse the graph? i knoe the algo but i want to knoe the way that how to proceed? some idea about that. thanks | |
please tell me the answer of this question.it is irritating me a lot. i have searched many books but not getting it.please help!! | |
hello! i have no knowledge of PHP at this time when i m writing this thread.my vacation are coming and i am eager to learn the PHP on my own means without any coaching institute.please help me by telling books for me and websites from where i can have a … | |
[CODE]#include<stdio.h> #include<conio.h> int n,a[10]; void display(); void insert(int); int del(); int main() { int i,item=0,j; n=1; printf("enter the numbers:"); for(i=1;i<6;i++) scanf("%d",&a[i]); for(j=1;j<5;j++) { insert(a[j+1]); } } while(n>1) { item=del(); a[n+1]=item; } display(a); getch(); } void display() { int i; for(i=1;i<6;i++) { printf("%d ",a[i]); } } void insert(int item1) { int … |
The End.