132,726 Archived Topics
Remove Filter ![]() | |
Hello. I am writing a program that uses a List<T> object to retain a list of int[] objects. [CODE=C#] private int[] numbers = new int[9]; private List<int[]> theList = new List<int[]>(); [/CODE] It's basicaly a backtracking algorithm that constructs the [I]numbers[/I] object, which contains a permutatio of the numbers 1..9, … Software Development algorithm | |
Hi all, I am creating an Windows application. I have 2 forms. In First form I have two buttons. The Second Buttons Enabled property is set to False. If the First button is clicked then Form 2 should be shown which I have done with the Coding. In the second … Software Development | |
Hi guys, Has someone measured how many lines of code (approx) she/he produces daily? NLoc utility or OxyProject Metrics help in counting number of lines. Thanks! Software Development | |
class A { void show() { System.out.println("show"); } } class B extends A { void disp() { System.out.println("disp"); } } class Prac2 { public static void main(String args[]) { A ob = new B(); ob.disp(); } } /*this thing shows an error */ now my question is :i thought we … Software Development java | |
Good, morning every one, in this nice forum; I solved a c++ solution but i don't understand the idea of the program, so i need help to understand the steps and the use of this program. Thankyou, all. Software Development c++ | |
i am getting run time error as provided in title my code is [code] class maxstring { public static void main(String args[]) { String s1="nikhil is a good boy"; int d;int x=0; d=s1.length(); String[] s2=new String[d]; char ch; for(int i=0;i<=d-1;i++) { ch=s1.charAt(i); if(ch==' ') { s2[x]=s1.substring(x,i-1); x=i+1; } } String … Software Development java | |
I am reading lines from a CSV and don't know what size it'll be, so I place read lines into a list of a structure "obs". Then I want to iterate through this list, put it into another list and then modify contents of the original list so that I … Software Development c++ | |
Hi, could anyone help me updating my pictures and texts. The first picture and text is okay but then the next just gets added in the same textarea instead of "refreshing the page" and adding the next "page" with a pic and text. I also get this error message. screen.delete(0.0, … | |
I'm making a Java applet that's a 2D platform game. Each map contains (So far) only collision lines, a background and a foreground image. The collision lines are used for collision detection with pretty much everything that collides with the terrain. For you guys to be able you help, I … Software Development java | |
hi im having problem on how to make the output of my programme like this: if you enter a number: (EVEN) * ** *** ***** If you enter a number:(ODD) ***** **** *** ** * im always having an output of: (EVEN) * ** *** **** (ODD) ***** **** *** … Software Development java | |
I need to create two enumerations, one for the months in the year and the other for birthstones. Make a function named getBirthStone that returns the birthstone based on the month. Jan-garnet Feb-amethyst Mar-aquamarine Apr-diamond May-emerald June-pearl July-ruby Aug-peridot Sep-sapphire Oct-opal Nov-topaz Dec-turquoise Add code to call the function when … | |
Hi i have another question this time about mathmatical calculations in delphi. i have 3 labels on the form. Label1 is formatted like this 200/50, i need to use both parts of this caption in the calculation, the calculation needs to be 200 * .50 the 2nd Number in the … | |
How do I print a particular label or textbox in visual basic? By printing, I am referring to the actual hardcopy that comes out of a printer...haha Thanks for your help. Jem00 Software Development printer visual-basic | |
hi, i havent been programming in delphi long so sorry if im being stupid with this question. my application basically has a trackbar which alters the value of a label caption. and 2 text boxes. that value of the 1st text box is the Caption of the label * the … ![]() | |
I'm a beginner at c++ and I have to do a game of tic tac toe and I'm having problems with asking the player to play. Please help. ***************************************************** [code]#include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; ///function prototype void inttableArray(int [][3], int ); void displayArray (int [][3], int … Software Development c++ | |
[B][B][COLOR="Red"]Hi I need to develop an application which reads a csv file from a server does data validation and write to a file and then bulk upload the data to an Oracle database. The details of the requirement is The input csv file contains data that has to be populated … | |
I'm designing chat application these days.. I tried several samples which i found from the web.. I designed Server and Client.. When i run client in my machine, server get it nicely.. but when server in my machine and client in other machine, server doesn't detect client.. I tried 5+ … Software Development client-server socket-programming vb.net web-server | |
hi friends i have a question.can i use radiobuttons in messagebox?how? thank you. Software Development | |
i m not getting the desired out put .....according to the program ,it will have to give the movement of the circle in the direction of the diagonal. [code=java] import javax.swing.*; import java.awt.*; public class DrawCircle{ int x=70; int y=70; public static void main(String[] args){ DrawCircle dc = new DrawCircle(); … Software Development java java-swing | |
Hello! I'm taking a class in JAVA and learning a lot, but i'm stumped on a project where we are to find the difference between two dates. The method iv'e used is a little unconventional, I don't know if there is aproblem with the way i've structured the loop below... … Software Development java | |
Hi all, I need a favor on SQL this time There are 4 tables as follows Employee(EmpID,EmpName,...........) Designation(Des_ID,Designation....) EmpProfInfo(EmpID,Des_ID,..........) Training(TrainingTypeID,EmpID,TrainingType,.......) When an employee allocated to a training their details will be inserted in to the Training Table I want to write a sql query so that I can select EmpID,EmpName,Designation … | |
Hi attempting to make an address book program but hit a snag- I have: A class to give various attributes(phone numbers etc)to an instance which then puts it all into a doc string which can be added to a dictionary- but I want a function that will ask the user … Software Development python ![]() | |
Hi all. I'm a newbie at C# so help me out here. I want to create a multi-lingual website/application that operates very similar to this web site: [url]http://www.online-tech-tips.com/[/url] (the "Translate Page" function) Can anyone give me a head start? Thanks. Software Development | |
Hi All, I am working on a windows application in vb.net. (School Management Project). My problem is that, when I am adding the Personal Details of a student,(which include enrolmentno(primary key in the database),name,class,section,etc), when I click the save button what I want is that the enrolmentno should appear on … Software Development vb.net windows-server | |
Hi there. I'm trying to write a program that will convert any number from base x to base y (bases 2-16). The user will also be able to convert hexadecimal numbers like 4BFA from base 16 to base 2.. which is 100101111111010. So far I've began to prompt the user … Software Development c++ | |
i heard there is a data type call blob in mysql to store image,can any one help me in which data type the image should be stored to db, or if any one send a link of a sample project with storing image to mysql using c# , that would … | |
I have written some code for an Inventory program that I am working on for a Java Class. I keep getting the cannot find symbol error. I have been trying to fix it and can not. Some simple guidence would be nice. Here is what I have already with errors … Software Development java java-swing user-interface | |
I'm pulling my hair out on this one. It's been a while since I've specified a path for an ofstream. I just want a simple file called "abc.txt" in the C: folder and I want to write "abc" to it. Anyone see anything wrong? Thanks. [code] #include <fstream> using namespace … Software Development c++ | |
i am creating a VB application.. is there a way i can ensure a user can install it only on one system and not distribute it ? something like a license ? thanks... Software Development visual-basic | |
<div class="verticalTabContainer"> <div class="verticalTabContent"> <!-- Begin Vertical Tab Navigation --> <div class="verticalTabNavigation"> <ul> <li class="verticalTabNavigationCurrent verticalTabNavigationFirst"><a href="#vtab-overview">Overview</a></li> <li class="verticalTabNavigationPreviousCurrent"><a href="#vtab-features">Features & Benefits</a></li> <li><a href="#vtab-requirements">System Requirements</a></li> <li><a href="#vtab-demos">Demos/Tutorials</a></li> <li><a href="#vtab-awards">Awards/Certifications</a></li> <li><a href="#vtab-customer">Customer Stories</a></li> <li><a href="#vtab-news">News/Events</a></li> <li><a href="#vtab-resources">Resources</a></li> <li><a href="#vtab-community">Community</a></li> <li><a href="#vtab-support">Support</a></li> </ul> <div class="verticalTabNavigationVoid"><div class="verticalTabNavigationFill ie"></div></div> </div> <!-- End Vertical Tab … | |
When I run this code: [code=python] import wx ID_FILE_QUIT = 101 class MainFrame(wx.Frame): def __init__(self, title): wx.Frame.__init__(self, None, wx.ID_ANY, title=title) self.menuBar = wx.MenuBar() self.fileMenu = wx.Menu() self.fileMenu.Append(1, '&Quit\tCtrl+Q') self.Bind(wx.EVT_MENU, self.Close(), id=ID_FILE_QUIT) self.menuBar.Append(self.fileMenu, '&File') self.SetMenuBar(self.menuBar) self.Show() app = wx.App() frame = MainFrame('Ya Mum') app.MainLoop() [/code] I get some error about expecting … Software Development python | |
HI, i'm working on c#.net 2008 edition and i want if we can control the opacity of a picture box on the form differently from the form itself i.e. if we can make the form transparent while still be able to see the picture box on it fully visible. i … Software Development | |
Hello, I have a certain way i want to do something but im not sure where to start, or if python can even do it. what i want is a way to display the current action during a large data conversion program.... I want it to look like an GUI … | |
Hello. I hope not to annoy you with such a question. I'd like to read cell data from specific columns within a spreadsheet. I'm trying to read data within the following format (from the .xls file I'm analyzing). [code] Wavelength (nm),Absorbance (AU),Std.Dev. 190,-0.333324432373047,0.187723662173536 191,-0.184257030487061,0.169325912513228 192,0.0989446640014648,0.243154257457939 193,-0.196856021881104,0.322099862671817 194,0.0530929565429688,0.250335468281439 195,0.146337985992432,0.301110817821903 196,0.0579915046691895,0.359937145256163 197,-0.309549331665039,0.293385120791022 … Software Development c++ | |
Hi, given a cstring, I need to extract the digits in it, the digits are prefixed with either a '+' or '-'. Like [CODE] ,.,.,.,+3ACT,.,.,.,.-12,.,.,.,.,.,.,.,actgncgt #OUTPUT 3 12 [/CODE] I've made a working program that does what I want, but it seems overly complicated. Does anyone have an idea if … Software Development c | |
Hi again. I need to make tooltip work on mouse click, so when I click on the button for an example, a popup info should appear. Software Development | |
haiiiiiii i need a compiler for c++ om windows i.e. not for beginars. Regard's Balu Software Development c++ | |
Right, so I looked at some python tutorials about interfacing with internet, but every time a use a code such as: [code] import urllib pagetext = urllib.urlopen("http://www.python.org.html").read() print pagetext [/code] It just comes up with a load of error messages. how can i sort this Software Development python | |
Here is a basic program I compiled and tried to run. import javax.swing.*; [code]import java.awt.*; public class GUITest extends Frame{ public GUITest(){ super("A basic GUI"); JPanel panel = new JPanel(); panel.setLayout(new GridLayout(2,2)); setVisible(true); } public static void main(String [] args){ new GUITest(); } } [/code] When I run it, the … Software Development gui java java-swing | |
im having a head ache how to make a java sample output like this: sample output: Please Enter 2 values:(number must range from 1 to 9)else display error message value 1: 3 value 2: 8 Fibonacci numbers are: 11 19 30 49 79 128 207 335 542 Even numbers are: … Software Development java | |
Well, can someone help me with regular expressions?? It's look, I need RE that block textBox empty. I tried everything, but I failed. So I did code something like this: This code below work very well. '''---------------------------------------------- Protected Sub editarNodeButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles editarNodeButton.Click Try … Software Development vb.net | |
HI Team, First of all, I'm new to C++, so my knowlege is like 2% and I would like to thank you for any help provided. Well I'm working on a project that looks like this: -- I'm creating an executalble (EXE) that will monitor and create a file into … Software Development c c# c++ file-system ios | |
This is still the readStuData(ifstream &rss, int scores[], int id[], int &count, bool &tooMany) assignment. I've hit a small snag. This piece of the code works....kind of. When the program is run it prints out the table and stuff, however, when printing the grade it doesn't do it correctly. If … Software Development c++ | |
Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time). | |
Hi all, I have one windows service made in C#. I want My service to create CSV file every two minutes... but it should overwrite the existing file every two minutes. but whenever I try - it says file is already open - while I am sure that file is … Software Development file-system | |
I need help with my visual basic assignment! The program has to include an array with at least two strings. In the layout there should be one label which explains what the user has to do, for example "Write two strings" (or x strings) and one label that shows the … Software Development vb.net visual-basic | |
helo, can any one help to read one class from another class. i em knew with java actually. i got class a which has got sub class b static class. now i em trying to access class a from another class c using button. when in class c user click … Software Development java | |
hai i am working with a small project on files. the program is compiled but when i am excuting than i am getting linker error i.e [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status Regard's balu Software Development c++ | |
Hi Friends, I am getting the following error with my code "Object reference not set to instance of the object" . My code goes as follows: [CODE] ... ... string[] isem= new string[125]; decimal[] perc = new decimal[125]; student s1=new student(); ... ... public void func() { isem = new … Software Development | |
import java.io.*; class Abc { public static void main(String arg[]) { try{ File f= new File("c:/xyz.txt"); FileOutputStream fout=new FileOutputStream(f); byte data[]={65,66,67,68}; fout.write(data); fout.close();} catch(Exception e) { System.out.println(e); } } } Software Development java |
The End.