- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 7
- Posts with Downvotes
- 7
- Downvoting Members
- 4
38 Posted Topics
Is there any method in java to generate random number (integer, byte or float). please tell me if any i need it in my program. if possible please give full example. thanks.
I am getting this error while installing ADT plugin in eclipse: Cannot complete the install because of a conflicting dependency. Software being installed: Android DDMS 21.0.0.v201210310015-519525 (com.android.ide.eclipse.ddms.feature.group 21.0.0.v201210310015-519525) Software currently installed: Eclipse IDE for Java EE Developers 1.3.0.20100617-0521 (epp.package.jee 1.3.0.20100617-0521) Only one of the following can be installed at once: …
hello everybody first of all thanks to Daniweb and all its users for helping me lot of time. now come to the problem I've just started studying servlets 1 week back it was going well but i got one problrm when i try to run a packaged servlet code. path …
guys i bought a new notebook HP probook 4430s which is loaded with free DOS. but now i want to install win XP on my notebook which is not going in right way. i inserted XP SP2 bootable CD in my notebook after loading all files instead of showing format …
In my program i want to execute same statement on case 3 and 5 in switch() i searched lot on google about this but get nothing please help me [CODE] case 3,5: [/CODE] I know it is wrong but if you have any idea about this than please help me.
The below code is showing error i checked lots of time didn't find any error please help me. [CODE] class emp{ int id,sal; String name; emp(int id,int sal,String name) { this.id=id; this.sal=sal; this.name=name; } void show() { System.out.println("Name: "+name); System.out.println("Salary: "+sal); System.out.println("ID: "+id); } } class manager extends emp{ int …
Hello everyone first of all thanks to daniweb and all users to help me lots of time. now come to problem i am learning java from last one month today i wrote a program to swap two objects it is running but not performing desired task. all instance fields are …
[QUOTE] if (name1 == "good") [/QUOTE] replace by this [CODE] if(name1.equals("good")) { } [/CODE] likewise all if conditions.
hello i am beginner to java i wrote a simple program of object array but it is showing run time error [QUOTE]Exception in thread "main" java.lang.NullPointerException at classarr.main(classarr.java:14)[/QUOTE] [CODE] class abc{ int i; } class classarr{ public static void main(String arg[]) { abc a[]=new abc[4]; int j; for(j=0;j<=3;j++) a[j].i=j+1; for(j=0;j<=3;j++) …
hey guys first of all thanks to everyone for helping me lot of time. now come to the problem. I am beginner to HTML. In book i read about the tag MULTICOL but it is not working on Mozilla browser and also on IE. please can anyone tell me what …
hello every one first of all thanks to daniweb and all its members who alwasy helped me lot. i am very beginner to html and started just 3 or 4 days ago and facing lots of problems i am doing html by using internet explorer latest(8) and also on mozilla. …
i am very beginner to java getting error in below code [CODE]class forloop{ public static void main(string args[]){ int x; for(x=0;x<10;x=x+1) system.out.println("this is x:"+x); } }[/CODE] error : cannot read :forloop.java i error please help me
first of all thanks to all for helping me from last 2 years. now a days i am learning Visual basic, i have one book that is for beginner. while studying that book i feel it is insufficient for me. so please can any one tell me a book which …
hi can any one tell me how to export and import a table in oracle 9i? please be brief.
hi everybody i get my internet connection just before one month ago...and i am searching for online money making methods.....i searched lot but unfortunately just wasted. i haven't any money to invest before starting anything...so please can anybody tell me is there any method by which i can earn money …
hello i am using oracle 9i enterprise edition i want to open isql plus in my browser please tell me how to do it. i am very beginner to oracle. please help me.
i am using turbo c++ and i wrote another program where i define an integer int size=5,arr[size]; but my compiler shows an error: on arr[size] (constant value required). now talking about your above program as far as my concern your logic seems correct [CODE]b[i]=b[i-1]+b[i-2];[/CODE]but i think there is error in …
hi i am using oracle 9i and now a days i am learning sql. due to some problems i have to change my system and i will install oracle 9i in my new system, but problem is that after installing i need all that old tables that i have created …
hello everyone i am a student of computer app. from last 4 months i was using turbo c++. but by the advice of some people yesterday i installed codelite. i wrote a simple c++ program but i am not receiving any output i pressed ctrl+f9 as in turbo c++ but …
hi now a days im doig sql n im using oracle 9i for this. now a days my instructor teaching me about select command but im not able to use it on oracle 9i because i didn't create anything, so please can any body tell me that am i going …
hello everybody hi im a student of SGRRITS (my institute) in my inst we have turbo c++. is it a good platform for doing programming now a days and does any industry us it now a days. no.2: please can you suggest me its substitute which are better than it. …
hello everyone, in this sem in our coll we have sql in syllabus that's why i decided to learn oracle...... i have oracle 9i as well as oracle 10g express edition. i want to know that which is better among them and have some more features. which one is good …
[QUOTE]please suggest me which project i do? for bca final year [/QUOTE] sorry you should chose your project self. if you will face any problem in your project then ask here we will help you.
hello every one I am a student of CS and in this semester i have a subject DBMS, i haven't do any programming with sql till now, i am completely new to it, here i want to know that about different DBMS software. in our coll we have oracle 8i, …
[CODE]#include<iostream.h> #include<conio.h> void main() { int arr[20],temp,cnt,cnt2,small,num; clrscr(); cout<<"how many elements you want to insert for sorting:"; cin>>num; cout<<"\nenter elements:"; for(cnt=0;cnt<num;cnt++) cin>>arr[cnt]; for(cnt=0;cnt<num-1;cnt++) { small=cnt; for(cnt2=cnt+1;cnt2<num;cnt2++) { if(arr[small]>arr[cnt2]) small=cnt2; } if(small!=cnt) { temp=arr[small]; arr[small]=arr[cnt]; arr[cnt]=temp; } } cout<<"\nsorted elements"; for(cnt=0;cnt<num;cnt++) cout<<" " <<arr[cnt]; cout<<"\n\nsmallest number is:"<<arr[0]; cout<<"\nbiggest number is:"<<arr[--cnt]; getch(); …
This [] type of symbol is used in arrays and using it twice ([][]) called two dimensional arrays and using thrice ([][][]) called three dimensional array. by using arrays one can save his unnecessary efforts by declaring extra variables..... for eg: you can add 10 numbers by declaring 10 different …
First of all "i m sorry" but i have to say that i can see lots of error in your above made program logical as well as syntax errors. In above program you just try to create stack and applied push and pop operation. so please make effort once again …
[QUOTE]so my question now can i use the same name of each varible in each function? [/QUOTE]Yes you can use this but you have to declare that variables globally. Secondly you can send the same parameters in two functions but you have to intialize again before sending second time for …
In above coding you make the refrence to the both integers a and b, when the function is called from line 11 the control reaches to line 3 to read the definition of function and two thins happen: 1: int &c=a; 2: int &d=b; It means c is reference variable …
surely it will give you the address because int *i; is a pointer int variable where i holds the address you should study pointers deeply before using it with structures. use *(p.i) it will work but it is not a right way to learn language pointers are the most difficult …
just look at the precedence table multiplication has higher precedence than division when control reaches at i=400*400/400; product happens prior than division but 400*400 should not be stored just in two bytes. you can use unsigned int for desired result
just look at the maths rule BODMAS. in your program firstly 225 is divided by 15 and after multiplyed by 15 which comes equal to 225. you should use parentheses for desired result.
hi as i finished my I sem of computer applications at SGRRITS coll in dehradun ,india in second sem C++ is part of my course. now i want to know about the main difference between c and c++ how c++ is more use ful and its features with the help …
helllo last day i did program related to recursion that is factorial of numbers i red lot of books in my library but i found only this program only in every book. i also thought lot on recursion but i did not find any more program please can anybody tell …
hello i am a student of sgrrits dehradun doing bca now a days my pointers chapter is going on its difficult to understand but mostly i did it but i want to know that how it is use ful for us in the c. i only find its 1 benefit …
hi i am a student of BCA and now a days pointers is going on in my class. i understood its basic but my refrences are not enough to cover it. please tell me any site or any book that cover it in detail. second one i want to know …
hi i am using windoes xp sp2 my task manager has been disabled and it shows a msg that task manager has been disabled by administator but i did no do this. some times it become enable on its own it shows two similar boxes written on that [COLOR="Red"][/COLOR]error unknown[COLOR="red"][/COLOR] …
madm in bca I IN DEHRADUN if u say i can try this in c only. AMAN RATHI
The End.
aman rathi