199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ssubnel

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. …

Member Avatar for ssubnel
0
167
Member Avatar for john butler

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 …

Member Avatar for Hasan_DMT
0
227
Member Avatar for dustbunny000

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 …

Member Avatar for TrustyTony
0
850
Member Avatar for sivaranga001

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 …

Member Avatar for cfajohnson
0
117
Member Avatar for stamford47

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 …

Member Avatar for cale.macdonald
0
369
Member Avatar for lgriess

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() …

Member Avatar for Airshow
0
179
Member Avatar for a-hall

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; …

Member Avatar for Fbody
0
144
Member Avatar for sanjuanair
Member Avatar for Narue
0
125
Member Avatar for glenak

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 …

Member Avatar for glenak
0
154
Member Avatar for communitygirl90

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 …

Member Avatar for strider1066
0
162
Member Avatar for yugoza

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*: …

Member Avatar for robertmacedonia
0
1K
Member Avatar for killbill07

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 …

Member Avatar for killbill07
0
563
Member Avatar for doctorjo5

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 …

Member Avatar for Schol-R-LEA
0
222
Member Avatar for Brutus2000

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 …

Member Avatar for d5e5
0
104
Member Avatar for PaulStat

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 …

Member Avatar for d5e5
0
2K
Member Avatar for BLUEC0RE

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 …

Member Avatar for gerard4143
0
3K
Member Avatar for hq1

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 …

Member Avatar for Unimportant
0
114
Member Avatar for Beancounter5

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..

Member Avatar for Ancient Dragon
0
112
Member Avatar for eme21

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. …

Member Avatar for eme21
0
178
Member Avatar for #include<>

Why doesn't [code] typedef [I]ClassName[/I] SomeName[[I]SomeSize[/I]][[I]SomeOtherSize[/I]];[/code] work?

Member Avatar for mrnutty
0
110
Member Avatar for mitrious

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 = …

Member Avatar for Narue
0
134
Member Avatar for sterlingf5890

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 …

Member Avatar for Unimportant
0
139
Member Avatar for kosalaudara

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.

Member Avatar for dragonshadow001
0
82
Member Avatar for iluwinter

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 …

Member Avatar for vidit_X
0
146
Member Avatar for pandaEater

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 …

Member Avatar for pandaEater
0
3K
Member Avatar for sonsofliberty84

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 …

Member Avatar for sonsofliberty84
0
97
Member Avatar for Ashena

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 …

Member Avatar for TrustyTony
0
14K
Member Avatar for KJLakshmi

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 …

Member Avatar for Ancient Dragon
0
175
Member Avatar for subkin13

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

Member Avatar for subkin13
0
197
Member Avatar for moonL!ght

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 …

Member Avatar for moonL!ght
0
126
Member Avatar for ecklcakes

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 …

Member Avatar for dlhale
0
229
Member Avatar for yanz

[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]

Member Avatar for benhowdle89
0
167
Member Avatar for Renuka Devi G

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?

Member Avatar for d5e5
0
209
Member Avatar for mahes_

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!

Member Avatar for rvntdhillon
0
223
Member Avatar for miss_indie

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 …

Member Avatar for hielo
0
154
Member Avatar for newprog50

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 …

Member Avatar for hielo
0
145
Member Avatar for Erslich

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 …

Member Avatar for Erslich
0
149
Member Avatar for Stack Overflow

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. …

Member Avatar for sudheer51
0
2K
Member Avatar for user543820
Member Avatar for user543820
0
240
Member Avatar for rcanter

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..... …

Member Avatar for rcanter
0
123
Member Avatar for Griff1990

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 …

Member Avatar for Griff1990
0
112
Member Avatar for sundarchum

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.

Member Avatar for MichaelWClark
0
155
Member Avatar for invisi

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]; …

Member Avatar for Greywolf333
0
116
Member Avatar for ekailan

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

Member Avatar for Unimportant
0
238
Member Avatar for ayesha789

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

Member Avatar for digital-ether
0
1K
Member Avatar for facarroll

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 …

Member Avatar for facarroll
0
1K
Member Avatar for jenzelcarmel

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 …

Member Avatar for javaAddict
0
2K
Member Avatar for dorien

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 …

Member Avatar for dorien
0
456
Member Avatar for Dean_Grobler

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, …

Member Avatar for Adil Ahmed Zeb
0
136
Member Avatar for manalibhadula

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....

Member Avatar for Unimportant
0
158

The End.