132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for beginner21

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
Member Avatar for quuba
0
173
Member Avatar for lllllIllIlllI

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
Member Avatar for Freaky_Chris
0
240
Member Avatar for quocnam00

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++
Member Avatar for Narue
0
179
Member Avatar for Trekker182

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
Member Avatar for omrsafetyo
0
513
Member Avatar for FTProtocol

Hey, Just wondering how i would go about connecting to a php file from a console based app. Any ideas would be greatly appreciated.

Software Development c++ php
Member Avatar for FTProtocol
0
104
Member Avatar for rajeesh_rsn

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
Member Avatar for Teme64
0
115
Member Avatar for StephNicolaou

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

Software Development dataset java
Member Avatar for quuba
0
156
Member Avatar for java_girl

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
Member Avatar for Luckychap
0
235
Member Avatar for bpacheco1227

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
Member Avatar for bpacheco1227
0
4K
Member Avatar for karang

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++
Member Avatar for cikara21
0
163
Member Avatar for ddanbe

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
Member Avatar for LizR
0
187
Member Avatar for clutchkiller

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
Member Avatar for cikara21
0
217
Member Avatar for Michigan_Guy

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
Member Avatar for jbennet
0
111
Member Avatar for alip15379

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 …

Software Development algorithm java
Member Avatar for quuba
0
190
Member Avatar for mcsean2163

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 …

Software Development c++ oop
Member Avatar for Murtan
0
197
Member Avatar for pete08

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
Member Avatar for pete08
0
82
Member Avatar for MMac1218

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++
Member Avatar for nmaillet
0
107
Member Avatar for denine

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
Member Avatar for aktharshaik
0
121
Member Avatar for IMtheBESTatJAVA

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
Member Avatar for masijade
0
204
Member Avatar for vibhashin

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 …

Software Development dataset display vb.net
Member Avatar for gomathinayagam
0
335
Member Avatar for anazahra

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

Software Development c# image
Member Avatar for dickersonka
0
92
Member Avatar for riahc3

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
Member Avatar for Narue
0
222
Member Avatar for karthi_selva

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
Member Avatar for LizR
0
76
Member Avatar for ahspats

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
Member Avatar for ahspats
0
125
Member Avatar for smnadig

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
Member Avatar for LizR
0
127
Member Avatar for karang

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 …

Software Development c++ xml
Member Avatar for karang
0
158
Member Avatar for carson myers

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
Member Avatar for carson myers
0
268
Member Avatar for khoshBlagh

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

Software Development delphi pascal
Member Avatar for LizR
0
116
Member Avatar for TheFuture

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
Member Avatar for nazim123
0
12K
Member Avatar for mstester

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
Member Avatar for Sem Shah
0
109
Member Avatar for dixi

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
Member Avatar for dixi
0
140
Member Avatar for svetlana6167

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++
Member Avatar for ithelp
0
127
Member Avatar for soniagupta98

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
Member Avatar for ithelp
0
246
Member Avatar for beginner21

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
Member Avatar for beginner21
0
179
Member Avatar for narayanc1

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
Member Avatar for narayanc1
0
135
Member Avatar for shadwickman

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 …

Software Development gui python
Member Avatar for shadwickman
0
145
Member Avatar for luckystar89

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

Software Development c++ gui
Member Avatar for Salem
0
158
Member Avatar for serkan sendur

i just wonder what is the most reknown-popular-acknowledged c certification?

Software Development c
Member Avatar for serkan sendur
0
72
Member Avatar for mahaboob Basha

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
Member Avatar for stephen84s
0
225
Member Avatar for syphon_hawk

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]

Software Development c c# c++
Member Avatar for syphon_hawk
0
184
Member Avatar for mece

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 …

Software Development mysql python
Member Avatar for mece
0
125
Member Avatar for lilianw

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
Member Avatar for Vidhi Kotecha
0
80
Member Avatar for Ikah

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
Member Avatar for Ikah
0
160
Member Avatar for Dontais

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++
Member Avatar for Dontais
0
107
Member Avatar for Lrddpy

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++
Member Avatar for Lrddpy
0
231
Member Avatar for Trader09

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++
Member Avatar for Trader09
0
216
Member Avatar for efus

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
Member Avatar for efus
0
282
Member Avatar for khatib009

I am having a serious problem with a assignment i must do, this is the final assignment and the person that used to help me is not helping me anymore, i need to recieve a good grade on this assignment, and i dont know how i can because i dont …

Software Development c++
Member Avatar for Ancient Dragon
0
110
Member Avatar for Samisam80

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++
Member Avatar for Ancient Dragon
0
101
Member Avatar for Dan Bois

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
Member Avatar for shaun.husain
0
134

The End.