Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 340 results for
proplem
- Page 1
proplem with update
Programming
Software Development
12 Years Ago
by wael meto
Bonjour a tous, i have a very strang
proplem
it made me mad , i have antyped dataset and simlpy …
proplem in palindrome using stack
Programming
Software Development
11 Years Ago
by mjbor1
…;endl; system("pause"); return 0; } i think my
proplem
in char variable .....
Help: Jar File Proplem's
Programming
Software Development
12 Years Ago
by javaa
Hello Every one ... My
proplem
started before a month and can't get any answer …'s I converted it from .java to .jar but the
proplem
is ,, when I convert the program to .Jar every thing… creating a Library then Clean and Build .. i know the
proplem
is here while doing the Clean and Build thing .. sry…
Re: Help: Jar File Proplem's
Programming
Software Development
12 Years Ago
by DavidKroukamp
[QUOTE=javaa;1759132]Hello Every one ... My
proplem
started before a month and can't get any answer …'s I converted it from .java to .jar but the
proplem
is ,, when I convert the program to .Jar every thing… creating a Library then Clean and Build .. i know the
proplem
is here while doing the Clean and Build thing .. sry…
dream weaver beahviours restore image proplem
Digital Media
UI / UX Design
11 Years Ago
by magdi_alafifi
… the same photo with 100% opacity so what's the
proplem
? the
proplem
is in the "restore image on mouse out…
debugging proplem
Programming
Web Development
15 Years Ago
by gamshid
hello guys i have small
proplem
i use macromedia dream weaver cs3 in developing application but …
Re: debugging proplem
Programming
Web Development
15 Years Ago
by gamshid
sorry for late replay but having little connection
proplem
. for RichAppsConsult this link is great it will help me alot for nikesh.yadav i used to do this but i think its areally hard way :) thx all for your efforts. for langsor i use IE and i cant find "error console" in it
Re: proplem with update
Programming
Software Development
12 Years Ago
by wael meto
any help
Re: proplem with update
Programming
Software Development
12 Years Ago
by wael meto
!!
Re: proplem in palindrome using stack
Programming
Software Development
11 Years Ago
by Lucaci Andrew
Perhaps this function will suite you better in checking if a string is a palindrome. bool pal(string str){ Stack<char> s, s2; //we'll use 2 stacks for (size_t i=0;i<str.size();i++) s.push(str[i]); //put all the characters into the stack for (int i=0;i<(int)str.size()/2;i++) s2.push(s.pop()); //pop as …
proplem with virtual functions and vectors
Programming
Software Development
15 Years Ago
by TeCNoYoTTa
hello all i don't know what is the problem with this code when i choose a p for prof ........all the objects be prof objects and when i choose s for student all objects be student objects [CODE]#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; class person { …
Re: proplem with virtual functions and vectors
Programming
Software Development
15 Years Ago
by Ancient Dragon
1) GetData() must be declare [b]virtual[/b] in each class for that to work. 2) [icode](arr.front())->GetData();[/icode]. Don't call the GetData() method like that because the front() item in the array will most likely not be the item that was most recently added. push_back() puts the item at the tail of the array, not at the front. An …
Re: proplem with virtual functions and vectors
Programming
Software Development
15 Years Ago
by TeCNoYoTTa
[B]thanks alot Ancient Dragon but i dont understand why i must change getdata into virtual function in all classes what i done is to change arr.front() to arr.back() and the program worked will thanks alot for your help [/B]
Proplem in array
Programming
Software Development
14 Years Ago
by beshoyatef
Hi to all, ------------- Here there is array of ten position and array contain ten integers . I want to put the array of ten integers randomly on the array of ten position ... Here is my code : ---------------------- [CODE]import java.util.Random; public class TestArray { public static void main(String[] arg) { int[] …
Re: Proplem in array
Programming
Software Development
14 Years Ago
by chaines51
Your first loop is behaving as expected. There are multiple problems with the second loop. [code] for (int i = 0; i < array.length; ++i) { array[i] = random.nextInt(arr[i]); System.out.println(array[i] + " "); } [/code] starting with the first line [icode]array[i] = random.nextInt(arr[i]);[/icode] I'm not sure what you're …
Re: Proplem in array
Programming
Software Development
14 Years Ago
by VernonDozier
nextInt (int) requires a positive parameter. You are passing it arr[0], which is 0, which is an error. From the documentation: [url]http://java.sun.com/javase/6/docs/api/index.html?java/util/Random.html[/url] [code] public int nextInt(int n) { [COLOR="Red"] if (n <= 0) throw new IllegalArgumentException("n must be …
Re: Proplem in array
Programming
Software Development
14 Years Ago
by beshoyatef
Thanks a lot for all helps . These information is good .
Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
Hi every body .. i got these problems with my code when ever i choose "no" as an answer .. it requires me to create an a count while i don't want to create one .. another problem occurs when i use the Acounte_Number to be the ID for the user .. which is a private variable in another class .. like this .. [code] class Acount { …
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by JamesCherrill
if(s!="no") You can't compare the contents of two Strings with == or != That tests for them being exactly the same Object. To test for two Strings having the same sequence of characters in them use s.equals("no") or s.equalsIgnoreCase("no").. which may be better for testing user-typed input.
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
oh .. thank you ..
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
no replay for the other problems .. !!
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by NormR1
[QUOTE]when ever i used it an exception occur[/QUOTE] Please copy and paste here the FULL text of any error messages.
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
OK .. --------------------Configuration: JavaProject - JDK version 1.6.0 <Default> - <Default>-------------------- Exception in thread "main" java.lang.NullPointerException at client.creatAccounts(person.java:112) at TEST.main(person.java:393) [CODE] public void creatAccounts(String name,String Gender, int …
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by NormR1
Is the AC variable null? That would cause the NullPointerException. Add a println to show its value if you don't know for sure.
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
mm AC represent an object of Acount class where dose the Acount_Number is defined as private .. i don't get it .. how it could be NULL
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by NormR1
Add a println to show its value if you don't know for sure.
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
the problems is that the code won't execute while i used AC.Acount_Number(0); Don't know ..!
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by NormR1
What was the value printed for AC when you print it just before line 112?
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by Nirmeen Ased
mmm .. if i exclude AC.setAcount_number from me code another problem occurs with AC.getAcount_number() am gona insert the hole code here .. [CODE]import javax.swing.*; import java.util.*; interface Bank { public abstract void print(); } …
Re: Proplem in code .. help please
Programming
Software Development
12 Years Ago
by NormR1
[QUOTE]another problem occurs with AC.getAcount_number()[/QUOTE] You MUST post the full text of the error messages you get. What was the value printed for AC when you print it just before line 112? This is the fourth time (and the last) I asked this question. If you refuse to follow my requests for info about how your program is executing, I'll …
1
2
3
6
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC