132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
![]() | 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 … |
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++ | |
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 … | |
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++ | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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# | |
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 … | |
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 | |
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++ | |
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++ | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
[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++ | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
did anyone here know how to draw a exponential graph in java netbean?what link should i refer? Software Development java | |
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++ |
The End.