132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ilikerps

Hello, I am trying to write a simple updater program (in Java). A client would connect to the server, which would hand out any files it needs updated. One example would be updating a Java .class file. I have tried to just copy a class file, to see if that …

Software Development client-server java
Member Avatar for ilikerps
0
161
Member Avatar for janeane_tho12n
Member Avatar for Comatose
0
98
Member Avatar for Dark_Omen

Hello, I was wondering if there was a way to find how many lines there are in a text file, and if so can you find out how many lines in the text file start with a particular word (an identifier). Thanks

Software Development java
Member Avatar for Phaelax
0
209
Member Avatar for sam1

hi, what is the difination name, when a method calls itself in its body? thanks

Software Development java
Member Avatar for sam1
0
224
Member Avatar for saunde

i'm making a project based on a UML, and i have a method that i donĀ“t no how to do it, and what is to do. [CODE] public VertexIterator getEdgesIterator(){ // TO IMPLEMENT }[/CODE] here's the class WeightedEdge and Vertex : Classe Vertex [CODE]package SegundoTrabalhoTerceiraPartePrimeiraPergunta; import java.util.*; public class Vertex …

Software Development java
0
100
Member Avatar for Cool Nanu

Please help me with my problem.I have created a prog in C++ for use in a librar. But there are certain errors in it that i am not able to understand can u please correct this program for me.:rolleyes: This is my "till now" Program. [PHP]#include<stdio.h> #include<conio.h> #include<io.h> #include<fcntl.h> #include<string.h> …

Software Development c++
Member Avatar for Cool Nanu
0
214
Member Avatar for Confucius

Im sort of new to python, and I have been looking at some tutorials, manuals, etc. and I saw how to find prime numbers, so I thought it would be a good place to start, so I added some stuff to hopefully allow for user input, and it doesnt work. …

Software Development python
Member Avatar for Ene Uran
0
310
Member Avatar for xenophobia

I was developing a database software where by every month it will automatically create a new database with the same table i had specified. So what is the code for creating the database? HELP!! Thx

Software Development visual-basic
Member Avatar for Comatose
0
93
Member Avatar for kamitsin

I was saving some data to a new XML file using the following code [CODE] Public myFileName, NewFileSave As String Dim xml As New ChilkatXml Dim outXml As New ChilkatXml Dim node As ChilkatXml Dim nextNode As ChilkatXml Private Sub Command47_Click() CommonDialog1.ShowSave NewFileSave = CommonDialog1.FileName MsgBox NewFileSave xml.SaveXml NewFileSave MsgBox …

Software Development visual-basic xml
Member Avatar for Comatose
0
120
Member Avatar for ahan

Hi, I have to manipulate a data file which say reads like this {$index $value $error_on_value} aa 4.56 0.7 bb 123.456 0.00987 cc 987654 321 . . in easily human readable format of type aa 4.6(7) bb 123.456(1) cc 9.877(3)e+05 value rounded to 4.6 with error of 0.7 on the …

Software Development shell-scripting
Member Avatar for abhinav_shah
0
233
Member Avatar for Te'DDy

hi, I set an array for making each chat in random that appear for my anagram game.But when it appear some of my char are the same wth other one.So it was useless. EX like that j h o p j n w g n o i e in here …

Software Development c++
Member Avatar for iamthwee
0
328
Member Avatar for pabarnes

[COLOR=#000000]Start[/COLOR] [COLOR=#000000]Get all the names of directors from the library into [B]directorlist[/B] [/COLOR] [COLOR=#000000]For each director in the directorlist do steps 4 to 7.[/COLOR] [COLOR=#000000]Start a new page and print ā€œMovies directed by <director name>

Software Development c++
Member Avatar for tayspen
0
204
Member Avatar for jasda2

Hello, I'm kinda new to C++ so I need some help. I've written this program and now I need it modified to possibly do the following... Output every 4th letter from the string or Count the occurrences of different letters. This is simple, basic C++ using Microsoft Visual C++ 1.52 …

Software Development c++ visual-basic
Member Avatar for Dave Sinkula
0
189
Member Avatar for tydruk

[B]homework(original function names in () )[/B] i have done most of the job allready, but i can't seem to make it do exactelly what the program should. My job is to make a program that asks numbers of busses(10,27,33,36) and the departure(valjus) times and save them into a txt document …

Software Development c++
Member Avatar for tydruk
0
204
Member Avatar for Tiffiney_v24

Write an interactive C++ program which prompts the user for 10 integers (one at a time) and stores them into a one dimensional array and prints the result. Then the program takes the array and reverses the order of its elements and prints the reversed array. The following is an …

Software Development c++
Member Avatar for Ancient Dragon
0
234
Member Avatar for bigjoke

Hi everyone, How do you think i could use one type of structure to define a range of shapes (like line, circle, rectangle, triangle). What things do they have in common and what special info i might need for some of them. How could i make a single drawing func …

Software Development c
Member Avatar for bigjoke
0
121
Member Avatar for tyczj

im trying to write a loop so that 8 of each card in a blackjack game is made and i cant get it to work right. it should print out 8 cards for each card made and delete the card if there are already enough of that type of card …

Software Development c++
Member Avatar for Lerner
0
108
Member Avatar for robertlees

I want to create popup menu. There will be a variable number of items in the popup menu (dont know how many). If an item is clicked, some action might be performed (I'll work that out), but a sub-popup menu might need to be produced. Can anyone get me started …

Software Development visual-basic
Member Avatar for Comatose
0
1K
Member Avatar for yibman

Hi i am a beginner in c# programming. Can anybody tell me what happens in the code lines for this class : [code][COLOR=#0000ff]using [/COLOR][COLOR=#000000]System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] Wilson.ORMapper;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] WindowsApplication3.Data[/COLOR] { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]class[/COLOR] LogEntry : DataObject { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]int[/COLOR] referringID; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] type; [COLOR=#0000ff]private[/COLOR] DataObject owner; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] …

Software Development c c# c++
Member Avatar for alc6379
0
112
Member Avatar for sam1

hi, can a server and client application communicate using strings. for example say server sends ok and error for each request received....... thanks

Software Development client-server java
Member Avatar for Phaelax
0
125
Member Avatar for Katrix36

Hi all, Is it possible to block all internet traffic/activity like a firewall? If so how, could someone please help me? Katrix36

Software Development pascal
Member Avatar for Katrix36
0
171
Member Avatar for Psyqwix

I'm fairly new to java and need someone to point me in the right direction. I'm writing a non web-based java program, and part of that program requires the ability to download files from websites (e.g. images, zip etc). I tried looking through the java class descriptions on the sun …

Software Development java
Member Avatar for Psyqwix
0
129
Member Avatar for Pacer
Member Avatar for Ancient Dragon
0
188
Member Avatar for mhm_ra

Salam for all ;) can you help me and give me links to a perfect books in network programming

Software Development vb.net
Member Avatar for mhm_ra
0
125
Member Avatar for puppy

Hi, If a function takes a pointer as a parameter as in void set_owner(Person* p) how would I write this code? If it wasn't a pointer, I know I'd just write something like void set_owner(string p) { owner = p; } Thanks in advance for your help.

Software Development c
Member Avatar for puppy
0
196
Member Avatar for matt87

Hi. I am stuck when it comes to plan my application. The purpose is to importdata from a database and export it to a cvs file. During the transfer should some data be validated (email adress). How shuld one build such a thing in good OO-structure. I have writen a …

Software Development data-structure email
Member Avatar for alc6379
0
118
Member Avatar for Knightofdurham

Hi my name is Knightofdurham but my friends call me Knight anyways i am a student in the Uk doing information systems and management. ANyways the reason I have registered to this website is because i need help with one of my java programs. Basically at the moment it sorts …

Software Development java
Member Avatar for Psyqwix
0
115
Member Avatar for psodhi

Hi Friends, i made a window with a Panel and painted a text on it. Now i want to set a background color for the panel but it does not reflect in the window.. i am posting the code here.. Please let me know if anything is wrong with the …

Software Development java java-swing
Member Avatar for psodhi
0
281
Member Avatar for nabil1983

Ok got a new problem i've started to implement a GUI for my program but for some reason in the actionlistener metho i cannot pass the method i want to display.. I dont know what im doing wrong because i am not familiar with using GUIs... can somebody please help …

Software Development gui java java-swing
Member Avatar for jwenting
0
150
Member Avatar for rac_engg

Does anyone know how to use JTAPI and JSAPI and how to configure thse two in the system also tell if we want to swith on our phone automatically from phone if any incoming come then what is the procedure does the motherboard have inbuild feature for this?

Software Development java
Member Avatar for rac_engg
0
75
Member Avatar for nabil1983

Ok i got this thing to compile now perfectly no errors, when i run it the menu comes up. The problem is when i use the option in the menu it gives me an exception error?? ne one know where i went wrong on this one.... what i did was …

Software Development java
Member Avatar for DeepZ
0
122
Member Avatar for nabil1983

Hello Everytime i compile this i keep getting an error on non-static method can not bu passed to static method, i understand that. But how can i get around this, without making the non-static method static , because it has variable relating to otha methods ... i also keep getting …

Software Development java
Member Avatar for DeepZ
0
225
Member Avatar for purplegerbil

Hi, I have a toolbar on an MDI form, this works fine. I am trying to add a Buttonmenu to one of the buttons on the toolbar to add extra options. This is the problem, I cannot get it to work. Any ideas? pG

Software Development visual-basic
Member Avatar for purplegerbil
0
168
Member Avatar for TERRORISTsam

hi probably a noob qustion but this is my first attempt at shell scripting. im trying to open a file in a new window that the user types the name of during the run time of the script. i have tryed several different ways of doing this including. read >> …

Software Development shell-scripting
Member Avatar for masijade
0
95
Member Avatar for swapnamishra

How can we execute the commands on one file in a such a way that the results will get saved in another file? Do we have any such built in method which we can use?

Software Development file-system python
Member Avatar for pythonguy
0
122
Member Avatar for pythonguy

I am using automnation desk to run my python scripts. It supports interpreter ver 2.2 I have some script common for almost all other script files of my application. this common script is saved as CommonCalls.py and is on python search path. I am using some ref. to a file …

Software Development python
Member Avatar for pythonguy
0
139
Member Avatar for amarie

For the descending sort, it only moves the highest number to the correct spot and leaves the other numbers in ascending order. Can anyone tell me what I am doing wrong? [code]#include<iostream.h> #include<cmath> void sortit(int x[], int n) { int temp,i,j; for ( i=0;i<n;i++ ) for ( j=i;j<n;j++ ) if …

Software Development c++
Member Avatar for Ancient Dragon
0
175
Member Avatar for janeane_tho12n

can anyone help me w/ this one? code: [CODE] dim msg as boolean msg = msgbox ("Save this one?", vbyesno) if msg = true then 'code goes here else 'code goes here end if [/CODE] when i run this one my code jumps to [U]else[/U] though i choose yes to …

Software Development visual-basic
Member Avatar for janeane_tho12n
0
634
Member Avatar for iamthwee

Ok, I've been looking through some of the older threads and noticed some bad things regarding vectors. So what's the deal. Are they worth using in java or should I avoid them like the plague? And if I should, what should I be using instead? The same questions applies to …

Software Development java
Member Avatar for aniseed
0
249
Member Avatar for tyczj

im trying to make a blackjack game using stacks and lists and i am having a problem with my lists, its not being created and i dont know y? the list is a list of cards for the players and the stack is the deck of cards. [CODE]#include <stack> #include …

Software Development c++
Member Avatar for tyczj
0
172
Member Avatar for Acidburn

Hello guys i keep getting a [quote] Unhandled exception at 0x7c177ac0 (mfc71d.dll) in LSMUtility.exe: 0xC0000005: Access violation reading location 0xcdcdcdbd. [/quote] However according to MSDN the code is right: [code] void CTemp::OnDelete() { // TODO: Add your control notification handler code here CLSMUtilityDlg *main_dlg = (CLSMUtilityDlg *) GetParent(); if(pos != …

Software Development c
Member Avatar for Acidburn
0
561
Member Avatar for Texpert

Hi, can someone help me to code this ? I have a dynamic datagrid and I want to insert only one column from selected [checkbox] rows in the datagrid into a SQL-Server table. I've a working code where I call Add_to_DB function within the loop of Datagrid items, which works, …

Software Development sql vb.net
0
295
Member Avatar for Avner .H.

hello everybody, I've started to learn pyGTK and glade for a program i'm doing, and i've run into some problems: 1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc. 2. In the Gnome widgets, …

Software Development python
Member Avatar for JoeM
0
180
Member Avatar for schmintan

i want to begin to write apps for a PDA. it would give me an incentive to learn C. i have expirience in C# and visual basic, but i want to get to know C. would i be better to write programs for a windows based pda, or for a …

Software Development c visual-basic
Member Avatar for Salem
0
177
Member Avatar for jlouang

can someone help me i can't seem to find my temperature problem [CODE] /**************************** * functions *****************************/ float c2F(float); float f2C(float); /**************************** * gloabal variables *****************************/ int main () { float inTemp; float newTemp; char inCode; cout << "please enter the code (a 'C' of 'F'): "; cin >> inCode; …

Software Development c++
Member Avatar for jlouang
0
112
Member Avatar for Lomas

hi everybody, this is the small c++ program for selection sort using functions. [CODE] #include <iostream> using namespace std; void selectionSort(int numbers[], int array_size); int main () { int number[4]= {20, 10, 40, 30}; selectionSort(number,4); for (int i=0;i<4;i++){ cout<<number[i]<<endl; } system("Pause"); return 0; } void selectionSort(int numbers[], int array_size) { …

Software Development c++
Member Avatar for Lerner
0
161
Member Avatar for jack11b

hi im having problems with a doubly linked list. im trying to initialise three names into the list and print them straight off using the list and pointers but cant figure out how. heres what i have already if it could be modified i would greatly appreciate. also please keep …

Software Development c++ linked-list
Member Avatar for Bench
0
177
Member Avatar for abee

hi all ,... iam making a simple disk editor , and i need a methode that convert from ascii to Hex representation thank u all

Software Development assembly
Member Avatar for abee
0
191
Member Avatar for Smooth_411_2000

How do i use a preset password on my visual basic program that will check first the username and and then the password and make sure that if username is this then the password should be that...

Software Development visual-basic
Member Avatar for Sinha's
0
109
Member Avatar for Mishac

can any one help me with the code for the pop & push methods in the class that implement a Stack with two Queues

Software Development java
Member Avatar for aniseed
0
115

The End.