32 Discussion / Question Topics
Remove Filter Hello, I wasn't sure where to post it so i decided to do it here. I want to create a calendar compatible with iphone, smart phone that runs on android and google calendar. This calendar will be posted on a website and be available to visitors. I don't know where … | |
Hey guys, I am trying to do the basic :hello world" in PHP When i compile the code, my browser doesn't display "hello world" it is giving me an error: "You tried to access the address [url]http://localhost/PhpProject1/index.php[/url], which is currently unavailable. Please make sure that the Web address (URL) is … ![]() | |
Hello there I am trying to enable php and apache on my mac and i think, i mixed up my settings. Is anyway i could reset my web settings, in particular the line "LoadModule php5_module modules/libphp5.so" is missing. Thank you for your input | |
Does anyone know whether 3G iphones will drop in price when the new ones come out? If yes, what is the expected price will be? Thank you | |
Hello, I am new to Python. I am trying to start writing some simple programs in it. Which IDE would you suggest? I am currently using NeatBeans for my Java programs but i don't think i can use it for Python P.S. I am using Mac OS X 10.5.7 Thank … | |
Hello, I am getting out of bound error whenever i run the program and trying to add a Node (this would be in my switch). but the error that i am getting is just above my switch statement. Can anyone help me to figure out what it is that i … | |
My method is not working for some reason, even though i have done in exactly the same way the books showed. Could you please take a look at it and let me know what went wrong? Thank you P.S. I tried to use DEBUG technique and it seems that the … | |
Hello, I wrote an add method but for some reason it does not add more than 3 values. Could anyone tell me why? here is my method: [ICODE] public void addValue(int value) { IntNode cur = head; IntNode prev = cur; IntNode t = new IntNode(value); if (value <= cur.data){ … | |
Hello, For some reason, my program prints out extra zero from my linked list Can anyone tell me why? Thank you [ICODE]public class Main { public static void main(String[] args) { IntNode my = new IntNode(5,null); LinkedList list = new LinkedList(); list.createList(0); list.addValue(1); list.addValue(23); list.addValue(3); list.addValue(4); list.print(); list.getLength(); } }[/ICODE] … | |
Hello, I was wondering why do we need to assign value of -1 to the top of the stack? topOfStack = -1; Thank you | |
Hello, I have an assignment where i have to create few methods using linked lists. one of them is method that should create an integer singly list and return the head. While i know how to add a single node i am not sure how to create list of them. … | |
Hello, I am working on the problem. Here is the wording: 6) Specify, design and implement a class that can store an array of integer. The number of Maximum element can be 100. Write methods to : a. Add an integer at the beginning of the array b. Add an … | |
Hello, I was reading a book and it says that when we want to add new Node that is not in the Head we have make a selection i.e. selection.addNodAfter(element), before we initiate our method. The question is where do i have to do this "selection"? in my main or … | |
Hello, I was wondering why do we need constructors with arguments? Thank you | |
Hello, I have a program called Date. While this program compiles and runs, I have noticed something weird. I have an output line that displays my values twice. Sample Run: The word date output is: February 12 2009 [B]The numeric output of the date is: 2/12/2009 The next incremented date … | |
I have two methods. One method was to set location of 2 points x and y. Another method was to copy that location. I used arrays. Well the program compiles but it doesn't display my values properly. Error message says: [D@af9e22. Does anyone know what this is? Thank you // … | |
Hello, I was trying to get hold of arrays and read lots of stuff. So when i started coding, i got an error message saying incompatible types. I checked with general compliance and it should be ok. Maybe netbeans causing it? Anyway, any kind of help will be appreciated [ICODE] … | |
Hello, I feel embarrassed to ask these types of questions but i can't get answers to them in my text book. So here you go: I have an assignment of copying the constructor writing clone() method and add() method. While i understand the idea of creating of clone and add … | |
Hello, I am working on the problem of creating an abstract class Shape also with Package shape and then creating a subclasses Circle, Square and etc. I belive, i don't have a complete understanding of an abstract. Anyways i keep getting an error: " Shape.Circle is not abstract and does … | |
Hello, I am having a hard time with understanding arrays and most importantly implementing them in methods and etc. Does anyone know a good source to learn about arrays from a to z? I really need to nail down these guys. Any help will be appreciated Thank you | |
Hello, I am having a hard time with understanding arrays and most importantly implementing them in methods and etc. Does anyone know a good source to learn about arrays from a to z? I m looking for things like book, website or some other media. I do know about Sun … | |
Hello,I have a user input and trying to write a precondition that will give an error if the user inputs number or some other odd character (except ' and .) I am thinking of writing and if statement that if my search method finds anything like that it will prompt … | |
Hello, does anybody know how to read in the data from a file into a program and vise versa when i am programming on mac? To be more precise, i dont have a txt., i only have rtf. extensions. Every time i run the console, i get an error message … | |
Hello, I am working on small program that reads in a string consisting of minimum two words and a space between them. My dilemma is that i keep getting an error message. Can anyone twlm me what it is that i a ding wrong? here is my code: [CODE] #include … | |
Hello, it the same old program calculator i have corrected errors that were preventing me from running the program. Now that i have done it i am facing another issue; It doesnt perform needed computations such as +-* and etc. It must be my switch fn. Any help will be … | |
Hello, I am writing the code for my basic calculator program and having some issues with it. I keep getting the same error, which doesn't let even let me see whether my program works. Could you please take a look at it and at least direct me in a direction? … | |
Hello, i have wrote a program using the while loop but it crashes whenever i run it Basically, the goal of a program is to calculate the population of a town with constant 10% growth annually and then find how many years left. here is my code (any help will … | |
Hello, Here is the problem ive been working on: write a while loop that displays each int from 1 to 5 together with its square and a cube. Display all three values for integer on a separate line. My problem is that it does not really do what it is … | |
Hello everyone I am trying to do this assignment in the book: Write a program that reads four words (as character strings) and display them in increasing and decreasing alphabetical sequence. I have done the 1st (easy) part but not sure how to go about displaying words in alphabetical order. … | |
Hello, I am trying to do this assignment in the book. My objective is to create an interactive program which will calculate areas of a square or a triangle depending on the user input 's' or 't'. I am gone about 40% of the book so they dont expect me … | |
Hello, I am trying to solve an assignment in a book. It is asking me to write a program that takes a positive number with fractional part, which would round it to two decimal places. For example, 3.4256 to 3.43. Now, the thing that confuses me is that this past … | |
Hello everyone, Could you please explain to me how to write the user defined functions with multiple arguments? (specifically with 2 or 3 input arguments). And also, how to make one function to manipulate different data each time it is called? (for example area of bigger circle minus area of … |
The End.