132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DarrelMan

I am trying to read a textfield. I am using the string=textfield.getText() notion, but all I get a is a blank string back. I am using netbeans and I am using the gui designer within it. I want to hit the "create grid" button and have it create a grid …

Software Development gui java java-netbeans
Member Avatar for moutanna
0
123
Member Avatar for karthz85

i need a sample program how to enter values in a array,display the results, and edit the values that entered. actually i need to make a program to create a database to store students marks and edit the values....... so any one can help with a sample program?

Software Development c++
Member Avatar for karthz85
0
87
Member Avatar for khess

It isn't quite Perl version 6 but it's well on its way. Between now and Monday, [URL="http://www.activestate.com"]ActiveState[/URL] will release version 5.12 of its cross platform, easily installed ActivePerl. Version 5.12 offers more than simple bug fixes; it's a major release that some developers look toward with great anticipation. The major …

Software Development microsoft os-x perl unix
0
308
Member Avatar for amanv

Hi im writing a program using arrays but im not sure what to do. I think i have the first three methods done correctly but i cant figure out how to do the rest. Im also supposed to write an application file but im not sure how to with arrays. …

Software Development java
Member Avatar for amanv
0
131
Member Avatar for PDB1982

How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, …

Software Development c++
Member Avatar for mrnutty
0
88
Member Avatar for prade

hi i have done a project with graphics(winbgim) on dev c++....suggest me a software for creating a front end for my project...should be easy to use.....thank u

Software Development c
Member Avatar for Ancient Dragon
0
87
Member Avatar for myz068u

Hello I am newbie to C++ and I am testing my first loop using a switch statement. I want the loop to run nonstop until the user quits the program. [CODE] #include <iostream> using namespace std; int main() { char answ; cout << "Yes or No(y/n)" << endl; cin >> …

Software Development c++
Member Avatar for mrnutty
0
104
Member Avatar for Ace1.0.1.

Note - I'm still learning c++... so there could be better ways of coding this. Try not to introduce new concepts - this will only aid in confusing me more, but please be more than welcomed to tell that i'm using something incorrectly. [CODE]// Classes - Using class to design …

Software Development c++
Member Avatar for mrnutty
0
1K
Member Avatar for Sync.Void

Hello all, I normally lurk around and solve most of my issues by reading other threads. I have run into an issue and I am trying to figure out what I am missing. I am rather new at this so thanks for any advice. What I am attempting to due …

Software Development python tkinter
Member Avatar for Sync.Void
0
175
Member Avatar for lordvoldemort

How do I multiply two arrays? Assuming that the numbers in the arrays are all single digit integers, which makes the array a big integer. Now I want to multiply these two big integers formed from arrays and also at the same time display steps. Please don't use multidimensional arrays …

Software Development c++
Member Avatar for mrnutty
0
468
Member Avatar for jemz

hello can you help me i want to make my program to executable file is there a software for this to create a jar file?...hoping for your positive responds...

Software Development java
Member Avatar for Ezzaral
0
77
Member Avatar for leviaeon

i have a problem... i am new to python... and i have found a program that reads an sms directly from the phone's inbox... i am using nokia 6600... i just want to ask how will i be able to copy the sms file to a string? here is the …

Software Development python
Member Avatar for leviaeon
0
105
Member Avatar for lewashby

First off, I did google this before hand but most of the answers I got were about assigning attributes, but that's the the trouble I'M having. I'M trying to understand the "this" keyword beging used as a parameter/argument. Here some sample code There is a class by the name Elephant. …

Software Development
Member Avatar for Szpilona
0
116
Member Avatar for gregarion

Hey, i was reading up on find function and i came across this line. size_t find ( const char* s, size_t pos, size_t n ) const; Correct me if im wrong, but it basically allows us to search a string based on the information inside an array right? After searching …

Software Development c++
Member Avatar for mrnutty
0
156
Member Avatar for PDB1982

How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, …

Software Development file-system vb.net
0
71
Member Avatar for conandor

I compiling with Solaris 10 SPARC, jdk 1.6 from Sun, Ant 1.7.1 from OpenCSW. I have no problem running hadoop 0.17.2.1 However, I have problem compiling/integrating hive with the error 'cannot find symbol', although I followed the tutorial. I have the hive source code from SVN exactly from tutorial. How …

Software Development apache java xml
Member Avatar for masijade
0
927
Member Avatar for jprogram

I have been trying to do this assignment for the past 4 days. I thought I was doing good but the functions seem to be screwing up. All the greater than and less than functions are messing up. Also the add and subtract functions are messed up. Any suggestions would …

Software Development c++
Member Avatar for WaltP
0
119
Member Avatar for lighten123

This is the code section from inno setup.My intention is to make two Checkbox where at a time one is being selected. But this code return error. procedure CheckBoxOnClick(Sender: TObject); var Box2,CheckBox: TNewCheckBox; begin if CheckBox.Checked then CheckBox.State := cbUnchecked; Box2.State := cbChecked; else //THIS LINE RETURNS AN ERROR: "Identifier …

Software Development delphi pascal
Member Avatar for Ionelul
0
694
Member Avatar for Atomika3000

i have a program that generates a grid of 20x20 using a 2d array, it then populates it by randomly generating 2 numbers as co-ordinates, and then filling it with either an 'x' or an 'o' it has a maximum of 5 x's and 100 o's. What i need it …

Software Development c++
Member Avatar for Lerner
0
4K
Member Avatar for jcao219

Most people would do something like this: [icode]input("Press any key to continue") #or raw_input[/icode] This way, if the user presses a key other than the Enter (return) key, then the program will still continue. It looks something like this: [URL="http://i42.tinypic.com/2yvp9hj.png"]http://i42.tinypic.com/2yvp9hj.png[/URL]

Software Development python
0
220
Member Avatar for 3cats

I have never posted to a forum before. I am taking a beginning C++ prgmming class. I am getting the error "error C2181: illegal else without matching if " I have tried everything I can think of to fix it, I can't tell if its a syntax error (such as …

Software Development c++
Member Avatar for 3cats
0
170
Member Avatar for Lukezzz

Hi, I have a .txt file named: myTextFile.txt on my hostingaccount that contains this string: "Hello" Now my hostingprovider says this: "Any file that you can access via your domain can be accessed through a Secure Socket Layer (SSL) connection as well." When I type this manually in the address …

Software Development c++
Member Avatar for Lukezzz
0
140
Member Avatar for BuhRock

I need help with this program write a payroll class that uses the following arrays as fields: *employeeID.- an array of seven integers to hold employee identification numbers. The array should be initialized with the following numbers: 5658845 4520125 7895122 8777541 8451277 1302850 7580489 *hours.- An array of seven integers …

Software Development java
Member Avatar for Ezzaral
0
1K
Member Avatar for lishannx

ive created a new picturebox with the image to be directed from my directory. but it came be the case that the directory path will always be on my desktop. how do i make the path not hard-coded? pictureBox = new PictureBox(); pictureBox.Image = Image.FromFile(@"D:\Documents and Settings\12344\Desktop\Model Products 40x40 v2\Model …

Software Development image
Member Avatar for Diamonddrake
0
1K
Member Avatar for jjennings11

My program is to display a menu choice for the user, they will then pick one of the choices and the program will perform a calculation for the user. It contains four functions (menu, sum, power, and gcd) and it must contain reference parameters...i have most of the program, it …

Software Development c++
Member Avatar for jjennings11
0
112
Member Avatar for srikanth754

I have an object like this. List<TSQLBeginTransactionBlock_Ext> beginTranList =new List<TSQLBeginTransactionBlock_Ext>(); Now i want to make some changes to this object but i want the original object as well. I tried created a temporary object like this List<TSQLBeginTransactionBlock_Ext> tempBeginTranList =new List<TSQLBeginTransactionBlock_Ext>(); tempBeginTranList = beginTranList; then I've made changes to this temp …

Software Development c#
Member Avatar for Diamonddrake
0
794
Member Avatar for Odena

Im trying to run some codes i found of JDom for a home work (super hard to find good material) any way. I was trying to run it on NetBeans and I dont have the library " org.jdom " Anyone, can please give me the right link to download this …

Software Development html-css java
Member Avatar for peter_budo
0
106
Member Avatar for Tops

US --9--15--13--37 GE --10 --13--7--30 CA-- 14 -- 7 -- 5-- 26 (those dashes are meant to be spaces) How do i remove the first column of the text above so the output would look something like this? 9--15 --13 --37 10 --13--7--30 14 --7-- 5--26

Software Development python
Member Avatar for TrustyTony
0
2K
Member Avatar for AltF4me

I've got a constructor that sets some floats (x,y,z) and then I have a function called setXYZ. Now the constructor and the function do exactly the same thing. What's the best thing to do in this situation? Should I put the code in the function then call this from the …

Software Development c++
Member Avatar for AltF4me
0
121
Member Avatar for tennis

I saw the following sentences from a book “A difference between a destructor and other member functions is that, if a regular member function has a body at the derived class, only the version at Derived class gets executed. Whereas in case of destructors, both derived as well as base …

Software Development c++
Member Avatar for mrnutty
0
111
Member Avatar for rickymak

Hi, I don't understand the portions I put in bold in this function for converting Fahrenheit to Celsius. The texts are "FtoC." I am guessing "FtoC" is a variable; I really am confused about why "to" is in there. What does the paranthesis (float f) indicate? [CODE]#include <stdio.h> float [B]FtoC[/B](float …

Software Development c c# c++
Member Avatar for Narue
0
108
Member Avatar for Aparna Bharath

Hi, I have a python simulator file sim.py. I need to start, stop and restart this simulator from a C/C++ test file test.cpp. I tried using system( "\sim.py" ) in my test file. This starts the simulator but in the same window as test.exe. In this case how do i …

Software Development c
Member Avatar for Software guy
0
157
Member Avatar for adrian75

can anyone help me with this c++ program? its a little much but i would really appreciate it Project specifications: Create a 2-player game that utilizes the “a s d f” and “4 5 6 8” keys on your keyboard. It would be a modified rock, paper, and scissors game, …

Software Development c++
Member Avatar for tonymuilenburg
0
382
Member Avatar for thompsonSensibl

Hi folks, ThompsonSensibl, so I'm new to Python. This is probably a noob question... I want to convert a String input to an Integer. I usually do it like this: number = int(someString). However this time this approach doesn't seem to be efficient at all. So far I have: [CODE] …

Software Development python
Member Avatar for megaflo
0
8K
Member Avatar for Ron_HL

there are some problems in my coding which showing errors C2664 and C2562. i have no idea how to fix it...wish someone can point the problems and solutions too... [CODE]#include <iostream> using namespace std; const int listSize = 10; void fillArray(int list[],int listSize); void largest(const int list[],int listSize); void printArray …

Software Development c++
Member Avatar for Salem
0
97
Member Avatar for summey

[CODE] #include <iostream> #include <string> #include <iomanip> using namespace std; // //CLASS DECLARATION SECTION // class EmployeeClass { public: void ImplementCalculations(string EmployeeName, int hours, double wage); void DisplayEmployInformation(void); void Addsomethingup(void); string EmployeeName; int hours , overtime_hours, iTotal_hours, iTotal_OvertimeHours; double wage, basepay; double overtime_pay, overtime_extra; double iTotal_salaries, iIndividualSalary; }; int main() …

Software Development c++
Member Avatar for summey
0
103
Member Avatar for DaveTran

I would like to skip the remainder of a function and call another should a statement prove true. [CODE] public bool A(int i) { if (i > 5) { // Skip the rest of A() and return B() return B(i); } // Do stuff to i } public bool B(int …

Software Development
Member Avatar for caovan
0
316
Member Avatar for PierlucSS

Thank you for reading, I am currently trying to pass through a project or whole sites containing many pages to determine wether they are xhtml-strict or not with a local xhtml-strict.dtd file. I cannot go through a webservice it would be too overkilling for server and host might even probably …

Software Development asp.net html-css regex xml
Member Avatar for PierlucSS
0
238
Member Avatar for skybomb0

I have read quite a bit on this topic and am pretty sure that the correct method would be to use invoke, but I can't wrap my mind around how to call it (been working with c# for about a week). I have a HandleCommand method in the MainForm class …

Software Development gui
Member Avatar for skybomb0
0
116
Member Avatar for dan345

hi, im quite new to java, and i've been trying to understand this code, but i have no clue about the red parts. does anyone have any idea of what the red parts of this code do? [CODE] import java.io.*; public class BWTEncode { public static void main(String args[]) { …

Software Development java
Member Avatar for masijade
0
149
Member Avatar for jtodd

Hey guys! This is a relativity simple program. It compiles fine but when I try to execute there is a problem. Any insight or advise would be greatly appreciated. Thank you import java.util.Scanner; public class Power { public static void main( String[] args ) { Scanner input = new Scanner( …

Software Development java
Member Avatar for vchandra
0
105
Member Avatar for RossThels

Hey again guys, I've been stressing over this problem for the past few hours now, and cannot figure out why it's doing what it's doing. I'm rather new to java...but here we go :) I currently have a slideshow class -and here it is. Sorry if it's sloppily written code...but …

Software Development java
Member Avatar for Ezzaral
0
122
Member Avatar for lukeduke

Hi, I'm exporting from a datatable to excel document (not CSV because I need some cell formatting) using this method found here: [URL="http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/08d69589-4052-410f-a85c-c38493c0a664/"]http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/08d69589-4052-410f-a85c-c38493c0a664/[/URL] Locally, it works fine, but when I upload to the server, I have been getting errors. The latest one is this: [CODE]Microsoft Office Excel cannot open or …

Software Development microsoft-office open-source web-server
Member Avatar for lukeduke
0
225
Member Avatar for wtzolt

Question regarding compiling *.py script. Everything works fine when I compile the script except that there is no "theme". It looks like it's using win 98 skin or something. Looks very bad. Would like to know how to preserve [COLOR="Green"][I]gtk-theme-name = MS-Windows" [/I][/COLOR]. Which packages or modules should I include …

Software Development python
Member Avatar for wtzolt
0
121
Member Avatar for sana zafar

Hi I am attempting to write a code that will input the name of a file and output the number of times each letter appears in the file, and it is case-insensitive.For example : a|A : 5 b|B : 3 c|C : 0 d|D : 7 e|E : 0 so …

Software Development c++ file-system
Member Avatar for Freaky_Chris
0
248
Member Avatar for digitalsindhx

Dear Frined my simple update statement is not working on my database software with .mdb CompanyDa.Update(CompanyDs, "DisplaycenterData") it works but only in cache, when i restart my application the record is not updated. i solved my problem with some informal steps. i m attaching vb projects zip file, plz open …

Software Development vb.net
Member Avatar for samxcui
0
140
Member Avatar for vesnushka

I want to use $#array. But # makes the next words commented. Is it possible to avoid such situation? [CODE] for ($i =0; $i <= $#array; ++$i) [/CODE]

Software Development perl
Member Avatar for vesnushka
0
66
Member Avatar for vbx_wx

can anyone point what is wrong with my RegQuerryEx() function? Altough it return 0 :| [CODE] char buff[3] = {0}; DWORD size = sizeof(buff); DWORD type; if(RegOpenKeyEx(HKEY_CURRENT_USER , "Software\\vBx" , 0 , KEY_QUERY_VALUE , &hkey) == ERROR_SUCCESS) { if(RegQueryValueEx(hkey , "log" , NULL , &type , (LPBYTE)buff , &size) == …

Software Development c++
Member Avatar for vbx_wx
0
95
Member Avatar for sixesox

did anyone here know how to draw a exponential graph in java netbean?what link should i refer?

Software Development java
Member Avatar for Ezzaral
0
91
Member Avatar for gregarion

Hey guys, i am having a huge problem checking the data i input to make sure it is correct. What i am trying to achieve is when i input a value, it will check if the input is all digits and if it is not, check to see if it …

Software Development c++
Member Avatar for mrnutty
0
94

The End.