199,114 Archived Topics
Remove Filter ![]() | |
This is my homework for a Java class. I get a perfect score followed by a query as to why I didn't use a void method. The answer is I don't understand the difference. Can someone illustrate for me how it would look. I need a better grasp of this. … | |
Hi Everybody, I am a new joinee as an Android Application Developer. Now I have a duobt that "Does the Android Application Development uses the J2ME platform, I mean can we call the Android Programming as the J2ME programmimg or the Android Programming has nothing to do with J2ME or … | |
Hi. I was wondering if anyone knows how to establish x,y,z coordinates in python. I want to be able to extract this data from a text file. Here are sample lines in my text file: [CODE] ATOM 1 N GLN A 4 62.131 49.287 59.621 1.00 67.10 N ATOM 2 … | |
Hello Forum members, Have a nice day. I have to write a script for the following below scenario. There are 3 applications located in home directory(ie xyz/app) which havae multiple directories and files of diff format(.sh,log,other formats). 1: I have to find the hardcoded IP_ADD 's which are loacted in … | |
how would i be able to show the end of month balance using pop up window and also would like to charge a fixed a fee each month and withdrawal fee import java.awt.*; import java.awt.event.*; import javax.swing.*; class GuiAccTest extends Frame implements ActionListener { Label lab=new Label(" "); Label lab1=new … | |
I'm having a problem with the following code: I have the following jquery call: the problem is that I have several `<select name="^DDLColumns1..2..3..4`. etc.. controls on my page, however this is only populating the first one: `<select name="^DDLColumns1"` anybody know why the select would do this? <script type="text/javascript" language="javascript"> $().ready(function() … | |
I have setup an array and i have calculated the sum of my array. Now i need to find standard deviation of the numbers entered in my array. here is my code [CODE]#include <iostream> using namespace std; int main() { int i=0, count, maxSize = 36; double arr[36]; double number; … | |
Hi, So I've been having problems with my Eclipse C++ IDE. In other words, I haven't been able to run anything, not even a hello world program. I think the problem has to do with the fact that I don't have a c++ complier in my system. I use Windows … | |
So I'm pretty new to using python and a beginner. I've written a code on how to figure out the length of 2 polylines and now I'm trying to figure how to display the data using canvas... I've tried like a million times and I just can't get it to … | |
I'm currently working on a data model for "Project Allocation System" and I have done most of the ER-to-SQL transformations, but I'm struggling to deal with the two ternary relationships that exist in my model. So far, I have the following: [B]1 Mapping entities and their attributes[/B] [B]Module_schema[/B] = (module_ID*: … | |
Hey it's me again, I need some help with WMP control, because i was trying to remove an item (I have a listbox wich has songlist for playing and a button). I wanna remove the selected song in the listbox from the playlist, but I don't know how to use … | |
I am trying to make a number guessing game in Python. The correct number is 42. Right now I have it so that it gives you a message when you are too high, too low or right on. I want to add two other messages. One message for no input … | |
Hi, I have some problems just to write a simple string output to some txt.file. That is my test code: [CODE]test = open('Test.txt', 'w') test.write("Teststring") test.close()[/CODE] I use Python 2.6.5 and PyScripter If I direcly enter the code in the IDLE SHELL, sometimes it works, sometimes only the file is … | |
Hi Folks, I have a set of csv files that I open and read the contents of a row into a DictReader, this works fine 99% of the time, but occasionally one of the fields in a record has an extra new line character. For example here's the format of … | |
I'm making a program that accept 1 character long strings (and ignores spaces " ") until a user presses return/enter. So far I have, [CODE] int main(){ char expression[1]; while ((scanf("%s",expression)) != EOF){ //code } return 0; } [/CODE] it is assumed that the user is entering single digit strings … | |
Hi I'm tryingt to write this program: Write an interactive computer program that will find the greatest common divisor of two integers using Euclid's Algorithm. The program should be independent of the order in which the two numbers are input. EUCLID'S ALGORITHM Divide the smaller number into the larger. If … | |
Hello, does anyone know where i can find some good examples on the list::erase() command. Specifically when erasing elements of a list whilst looping through it with for..next ,etc.. | |
Could anyone help me..... My instructor give me an assignment and i don't know how to start and i should submit it in nextweek so can you think with me and help me to know way????? this the Question--> Consider the following description an account in a bank management system. … | |
Why doesn't [code] typedef [I]ClassName[/I] SomeName[[I]SomeSize[/I]][[I]SomeOtherSize[/I]];[/code] work? | |
I'm trying to use the tolower function from the cctype header ... in this function (to check if a word is a palindrome [code=c] int palindrome(const string& w) { typedef string::size_type sz; string ret = w; sz r = 0; sz l = w.size() - 1 ; int check = … | |
I wrote out a palindrome test program for my c++ class. It is to include 3 functions (one to count the length of the string, one to test if it is a palindrome, and one to output whether the string is a palindrome or not using a switch statement). Visual … | |
hello iam a student of following computer engineering in srilanka.I haven't a good knowledge about java.Can you help me to learn it from begining.O.K.Thankyou. | |
Hello, I'm fairly new to C++, and I am currently doing a CS assignment, which is to create a hangman game. The only problem i'm having so far is that i'm getting an error when i try to pass a char array to a function (invalid conversion from 'char*' to … | |
I'm trying to make a binary search tree without using recursion anywhere. I'm having trouble with the destructor though. I've been thinking about using a stack to help me keep track of the nodes but I'm not sure exactly how I would implement that. Any ideas? Relevant code: [CODE] class … | |
I found Ancient Dragon's code snippet for reading the files in a folder. I modified it a little because I want it to display what those files are. The problem is, it also displays the two parent directories, '.' and '..'. I was wondering if there was a way to … | |
I have a file that has a repeated number of blocks of different sizes as in below: ID: 2 Time: 76 Op: GET Domain: facebook.com LPath: /common/css/common.css Referer: [url]http://google.com[/url] User-Agent: Mozilla/4.0 ID: 3 Op: GET Domain: rfi.fr LPath: /common/css/common.css Referer: [url]http://yahoo.com[/url] For each block, I want to print only the … | |
I have build a dynamic library in both debug and release mode. In the Source code of this libray relloc() function is used. I am linking this libray to my executable application. When i execute the application in debug mode, the application is crashing with the following message "Unhandled exception … | |
Hello, I need a way to get a function return type during preprocessing or compilation(meta...). [U]example:[/U] [CODE]int f() { MACRO_OR_META_WHICH_RETRIEVES_FUNCTION_RETURN_TYPE[/CODE] Thanks, Leonid | |
hi,im seeking for some help i want the member of my class to be of type string.. so, some of my member function to return a string but an error is keeping occuring .. iv tried to include the string heder file in the class heder file. it says missing … | |
I am trying to create a program that when you enter a word which has a repeated pattern of letters immediately next to one another will reject the password, but otherwise accept it. E.g. London, kiwi, a and onion would all be accepted but Papa, aa, apple and banana would … | |
[COLOR=#000080]I wonder if is it possible to link the GPRS modem and a I/O board together? I already have a VB6 coding and I know there is little that VB6 can do. Hope that you can help me out. 10z [IMG]http://www.xtremevbtalk.com/x_images/images/smilies/confused.gif[/IMG] [IMG]http://www.xtremevbtalk.com/x_images/images/smilies/tongue.gif[/IMG] [/COLOR] | |
Hello, I am learning perl programming but my problem is iam unable to find how the functions, commands,loops & conditions are working in a programme can anyone help me how to write a programme? what is the logic? | |
I was reading through my text book on Java Programming...It showed two class methods compareTo() and equals()...It seems to be that there is no difference between this two...Can someone pls clear me on this..Thank You! | |
Aww. I'm so sorry. I've been reading topics posted here about updating database using form. but i can't seem to find my error. I want to update my database using HTML forms. where in after i click a button "Edit Record" A page containing forms will appear where i can … | |
I need help with an assignment. Don't need the answer, just what is wrong with my code. I need to create a init() function. Create a variable named allSelect that references elements in my document. For each item in the allSelect object collection, add an onchange event handler that runs … | |
Hi All, I am working on a Mandelbrot. I can draw the Mandelbrot to a bitmap and then paste it on the form. What I WANT to be able to do is when the user drags their mouse over an area, it redraws the Mandelbrot with the x and y … | |
I've heard the curses library can be useful when trying to implement the handy DOS-only tools of gotoxy() and clrscr() using move() and initscr(). Though, there is a way to write your own gotoxy() in the Linux environment. This topic isn't touched often, so I would like to change that. … | |
how to declare 1024 nodes of 4 bytes each in assembly language? | |
I am getting this error on RetrieveBookList, RetrieveBook and StoreBookList, although it works on StoreBook. I think there is an issue with my generic list because when i just called one book, I didn't recieve this error. Cannot figure out where I went wrong though. Any help would be appreciated..... … | |
Hey guys, what i've been wanting my program to do is for the countdown to reduce time by 10 seconds when the melon hits the rope however, no matter how many different positions and variations i use with the code, even when the melons have vanished (through being hit by … | |
Is it possible to disable close[x] button of the popup window? I use Window.Open() to open the popup window. If possible help me to try out this. | |
What does int* resizeArray do that int resizeArray doesn't, what' the deference? And why do I delete nArray, and not newArray? [CODE]#include <iostream> using namespace std; void printArray(int* nArray,int size) { // code printing array } int* resizeArray(int* nArray, int oldsize, int newsize ) { int* newArray = new int[newsize]; … | |
is three a way to mesure the amount of memory required during the execution of a C++ program , I am using visual studio 2008. Thanks | |
Hi, I have developed a SMS Application. There is a file name my.php I want to execute it after every 10 seconds so I can get new files which arrive. please guide me | |
I'm trying to display an array of images by using the following code but no images are displayed. The images are in a folder named images. Is there some problem using a variable in a path name? Or am I doing something else that is wrong? The variable $thumbnail refers … | |
will someone help me pls with my case study, i need it very urgent this is my code for shortest remaining time first or the preemptive sjf. i need to know how to make gantt chart. [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class SRTF extends Applet implements … | |
Hi, I have just installed CPLEX, and this has installed correctly. It put it's header files under: /home/dorien/ILOG/..../include/ Now I am trying to compile an example, which has: [CODE]#include <ilcplex/ilocplex.h>[/CODE] but I got: [CODE]/home/dorien/C++/cplex-build-desktop/../cplex/main.cpp:35: error: ilcplex/ilocplex.h: No such file or directory[/CODE] First thing I did was lose the .h... to … | |
Hello! Attached is a file (GUI.png), I quickly did this in excel so.. It looks pretty crappy obviously. But when you take a look at the image and the layout of the components etc. What would you say is the best LayoutManager to use with this? GUI design is fun, … | |
We have two arrays .merging them is simple.i want to know how can i sort then after that without declaring a single memory after that.... |
The End.