132,726 Archived Topics
Remove Filter ![]() | |
alright.. i have a problem on how to sort the output my code is here: [code] public class Num7 { public static void main(String[]args) { char[] ch; ch=new char[20]; int i; for(i=0;i<ch.length;i++) System.out.print(i); } } [/code] the output is simply: [code] 012345678910111213141516171819 [/code] all i want to do is to … Software Development java | |
Hi guys I am making a program that uses a text control to move messages from one place to another. My program needs to be able to, once the message has been moved, delete what is in the textCtrl. I can go: [code=python] self.textCtrl.SetValue('') [/code] but that leaves me with … Software Development python | |
Hello every one, I got a interview and 1 of interviewer ask me that Howmany byte is a pointer? I can not answer this question. seem it is trick question. All I know is pointer is an address location where the pointer point to. Anyone get input to make it … Software Development c++ | |
I'm reading up on jobs and processes in UNIX and was a little confused. A processes is just something that executes and then dies right away, like a grep command issued from the shell, right? It started, did what it was supposed too, outputs the info and then dies so … Software Development shell-scripting unix | |
Hey, Just wondering how i would go about connecting to a php file from a console based app. Any ideas would be greatly appreciated. | |
Hai I am Rajeesh. New to Vb.net. I am developing a simple program. I want to run my application automatically when windows start. Please tell me how can I do this adding Windows Registry key..... Thanks Rajeesh Software Development vb.net | |
I'm not sure if I'm doing this correctly but up to now I get an exception error. Can you see why? : [code] public void countHeap(){ System.out.println("input data:"); for (int i = 0; i < dataSet.length; i++) { System.out.print(" "+dataSet[i]); count++; } noDataElements = count; formHeapTree(); } public void formHeapTree(){ … | |
Hi. I recently read that using the name of an array without brackets was one method for accessing the <address> of the array's first element. E.g: [code=c] #include <stdio.h> int arr[5] = { 2, 4, 6, 8, 10 }; int main( void ) { printf( "The address of the '2' … Software Development c | |
I always have a problem with this. I get an error when trying to build the program "argument exception unhandled". Any help would be appreciated, thanks. [code=VB] Private Sub addBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addBtn.Click Dim newLineIndex As Integer = 0 If My.Computer.FileSystem.FileExists(path & "stocks.txt") Then … Software Development vb.net | |
Hi I have include a header file in my main file. That header file contains the function getPath But still I am getting this error error C3861: 'getPath': identifier not found Even I have written the prototype of the function. Regards Karan Software Development c++ | |
I want to open IE from a forms application. A bit like daniweb does it btw.! I have the following in a button click eventhandler: [CODE=csharp]Process MyProcess = new Process(); //string MyPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); MyProcess.StartInfo.Domain = ""; MyProcess.StartInfo.FileName = "iexplore.exe"; //MyPath + "\\iexplore.exe"; MyProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal; MyProcess.StartInfo.CreateNoWindow = false; MyProcess.Start();[/CODE] … Software Development | |
Hi guys, im still learning some programming, and am confused on the subject of file i/o. I am getting this error but cant figure out why. Any help is appreciated, thanks Keep in mind i have obviously not finished the case scenarios. In function `int main()': error: jump to case … Software Development c++ file-system ios | |
Greetings everyone. I just jumped into Python for the first time this weekend and I'm finding it to be a very easy and enjoyable learning process. This forum has been particularly useful for finding code snippets and answers to questions that I ran into and others had posted about. So … Software Development gui posting-games python | |
Hey everybody Hope you guys have a great weekend. I am trying to implement a Table ADT to show city name, country, and population. I already did most of the work, but for some reason i get a small error in the main method file.the code is below: //TestTable(main) class … | |
Hi everybody, I'm used to C++ OOP principles but I've never really understood dll's very well. I'm working on a code segment as shown below. It's a dll function. What I need to know is can I compile it directly or do I need to do something special? I'm using … | |
Hi, I have two problems: - can someone give me some idea about Start.Process syntax for mobile devices, I'm blocked - How can I get device ID Pete Software Development | |
I cant get the output to display the average, high, and low. Any hints? [code] /* Write a program that prompts the user for test scores (doubles). The user enters -1 to stop the entry. After all of the test scores have been entered, calculate the average, the highest and … Software Development c++ | |
gud day, this is my new code of my counter using vb-DAO. if i were going use this code, this will happen (refer to my attachment). the quantity of the first product will added to its proceeding product. That is a very big mistake. My only problem right now is … Software Development visual-basic | |
Okay so the program I was asked to design requires the simulation of rolling three dice and printing out the outcome of each turnout while adding to a counter until all three dice are different numbers. So a sample output would be: 5 6 2 count: 1 or 3 4 … Software Development java | |
Private Sub frmtourmaster1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ds As DataSet Dim i As Integer objConn = New connctionclass1 ds = New DataSet ds = objConn.funFillTourLocation() For i = 0 To ds.Tables(0).Rows.Count - 1 cmbindiantourcode.Items.Add(ds.Tables(0).Rows(i).Item("tour_location")) Next cmbindiantourcode.SelectedIndex = 0 End sub [B]My connection to the … | |
Hi there... I want open 3 image at one time using C# but i dont know how....:( I'm at beginner level in C#. Please help me in this problem... :'( Thanks a lot.... | |
Is there a good webpage that explains how to use rand() and srand() correctly? Overall I need to learn how to generate a number between 0 and 3. Software Development c | |
hi, i am doing a project using C#, i do't know how to creat the table during runtime. i want to display the datas in the table in windows form. if anybody know please send the details to me Regards, Karthikeyan S Software Development | |
i have to write a program that deletes special characters from a phone number. For Example: (0049)5599/85675-344 0049559985675344 i have started to program it, but it doesn't seem to function. here's my code: [CODE] #include <stdio.h> void affe(char nummer[]){ int n , i, z; n = strlen(nummer) - 1; for … Software Development c | |
Hi, I am working on [B]"Creating A Multiuser Chat Application"[/B] in C#. The code is generating an error -- [B]"SocketException unhandled -- The requested address is not valid in its context"[/B] when it executes [B]listener.Start(); [/B]method. Can somebody kindly help me resolving this? Please find the code below for your … Software Development client-server socket-programming | |
Hi I am trying to use MSXML. But I am getting error in that so I explored internet and found one useful articles regarding the installation of MSXML [url]http://msdn.microsoft.com/en-us/library/ms758753(VS.85).aspx[/url] This article is about "Include Headers and Libraries Manually" But as per the instruction given in this article I have to … | |
Wasn't sure where else I was supposed to put this but I recently installed VMware and a copy of MS-DOS 6.22 using .img files mounted to a virtual drive in the virtual machine. I have a couple questions... 1. there is no "shutdown" command in this version of DOS, is … Software Development operating-system shell-scripting | |
Hi every body I want to khow , how can I test a mdb file (Access file) for exsist table on it or not. I worke with Delphi 7. Thanks | |
hi guys, I just wanna learn how to convert from ASCII character to the value e.g. input X then the output is 10 etc. anyone know please help thanks :lol: Software Development assembly | |
Hi all, (First Post...YEEERROOO) Quick question for ya all, I have an MySQL server with three databases created on it, lets say test, test_1 and test_2. Is there a way that I can display what ever databases are stored on the server in a combo box? I want to allow … Software Development first-post vb.net | |
Hi! I'm trying to define a list of objects that could be a binary tree or a Processtrees. The binary tree is already defined and works fine, don't worry about it. A Processtree is a binary tree generated by a Process, a Process is defined by a Name and a … Software Development java | |
1. printf("%d", 10*5/10); what is this result? 2. printf("%d", 10+5-5); what is this result? 3. a=d++ +(b=a); a=4,b=4,d=4 a=? 4. c=a+ a++ - b--; a=4,b=4 c=? 5. c=a+ ++a - b--; a=4,b=5 c=? 6. if(a==0 && b==0) printf("1); else if(a==0 && b==0) printf("2"); else printf("3"); (if a=1 and b=0) what … Software Development c++ | |
Hello Everyone Can any one help me out in this code Write a program in C++ that will send text strings to the server in different functional modes. Server will respond back with the appropriate text string or integer depending upon the mode. Client displays these responses on stdio, and … Software Development c++ client-server | |
hi everyone, can someone help me w/ this here is my code: [code] import java.io.*; public class Num2 { public static void main(String[]args)throws IOException { BufferedReader a=new BufferedReader(new InputStreamReader(System.in)); String comma; int r1, c1, r2, c2; int[][]cards; cards=new int[4][4]; for(int r=0; r<4; r++) { for(int c=0; c<4; c++) { cards[r][c]=(int) … Software Development java | |
Hi , I Developed a windows Deployment Application.It contains One Windows Application,Windows Service and Custom Action Application.Some Times While Uninstalling Windows service is Removed and Uninstall process is Stopped.And It is showing an error that Specified service doesn't exist.Then I am manually installing the Windows Service from Visual studio 2005 … Software Development visual-studio | |
Hi, I have a GUI written with wxPython that contains a form. When the button is clicked, a script is executed to cycle through a specified directory and resize the images to a 50% size (the image manipulation is done with PIL). I used to run this script via the … | |
draw a right angle triangle with 3 sides 3, 4, 5, and vertices A, B, and C. And prints the description next to that as follows: (Note: it is OK that the characters are not printed out in the right positions at this time as long as they are printed. … | |
i just wonder what is the most reknown-popular-acknowledged c certification? Software Development c | |
hi friends i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a … Software Development java web-server | |
I need help with errors I am getting with my program that is suppose to take in lines of text and out put the number of letters to the user. I have a lot these errors [QUOTE]expected primary-expression before ' ' token[/QUOTE] | |
I am attempting to input data from a log file into a database with tables for each network device. The table name is set via a parameter for the function. The script crashes after running stating the table name does not exist. If the actual table name (routerA) is listed … | |
Hi All, I need help in passing data from a datagridview control to textboxes control. When the user doubleclick a value from a datagridview control in form1, I want the record to be displayed in the texboxes of form2. How do I go about coding this? Any help would be … Software Development visual-basic | |
Hello! I have an assignment where I have to take user input from my GUI (Month, date and year) and then send it to my CalendarUtil file where the input will be handled in the static methods. The part I an stuck on is the monthNumber method. I had written … Software Development gui java java-swing window-manager | |
When I compile the program it returns "error C2065: 'answer' : undeclared identifier". I thought answer was declared from the function and would call answer. Any tips where I'm going wrong on this. The program is made to out put Radius, cosx(x), and a user defined cosx in 3 rows. … Software Development c++ | |
Hi So I've been developing this game for a game design class for most of the semester. While I'm not new to C++ and Object Oriented Design, the theory of it is often a lot easier to comprehend and know than the actual application of it. Needless to say, I've … Software Development c++ | |
For future reference here are the instructions for my assignment. Thank you in advance for any feedback you can provide: Implement the Message class using a header and implementation file named Message.h and Message.cpp respectively. In addition to the two Message class files, you must write a driver. The driver … Software Development c++ | |
Hi, I am having some troubles with a recursive function. The function needs to get a string as an input. The string contains both symbols and numbers. What the function does is doing some operation on the two children of a node, the node being the operation(+,-,*,/). The thing is, … Software Development java | |
Write a program that will do the following: 1. Define a function that will read from a file text paragraph convert the whole paragraph into capital letters and print it on the screen after conversion. 2. Define a function that will count and return number of vowels in the above … Software Development c++ | |
Hello. I am just starting java and I was woundering if anyone could help me with 2 things. I was woundering how to put my program into a loop so it just keeps going and how to make the circles transparent. Here is the program. Thank you very much if … Software Development java |
The End.