132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for register86

Hi everybody! I am implementing my undergraduate thesis with subject "object extraction in a video shot". I haven't studying signal processing topic when i majored in computer science, so this subject is very strange to me. I knew this problem associates with image segmentation issue,thats all, maybe having else one …

Software Development algorithm java video
Member Avatar for stultuske
0
85
Member Avatar for MoZo1

Original question:[url]http://forums.sun.com/thread.jspa?threadID=5323307[/url] [quote]So I would like to include a bean into the same project (as a separated library of course) that uses it, so the project would be self containing, and the bean's code would stay in syncron with the program's one, even if I move it to another computer. …

Software Development ide java java-netbeans
Member Avatar for MoZo1
0
181
Member Avatar for Majestics

When we define a new variable for frame it hold "null" value, but what it contain when we close that frame?

Software Development java
Member Avatar for Majestics
0
300
Member Avatar for tubby123

Hey, this one is agaain from File-handling How do you replace a word in a file with another word. The algorithm should be somewhat like this 1)Read (fgets) the entire line into a buffer. Locate the word/ position of the word. 2)From that point onwards, OVERWRITE the contents in the …

Software Development algorithm c file-system
Member Avatar for Adak
0
179
Member Avatar for khocmedemmua

Hi all! I have a datatable with 3 columns : A, B, C and 5 rows. I want to delete value of the A column. How can I do that, please help me!!!! Thanks a lot

Software Development
Member Avatar for shiva07
0
159
Member Avatar for vedro-compota

Guys hi there)) pleace tell me - Is this default attribute correct (it doesn't work in my costom control) - [CODE][Bindable(true), Category("BrushOptions"), Description("end color"), DefaultValue(typeof(Color), "White")] public Color EndColor { get { return endColor; } set { endColor = value; OnChangeProperties(); } }[/CODE] thanks in advance))

Software Development
Member Avatar for shiva07
0
154
Member Avatar for bhagawatshinde

Hi I am developing an application that has two parts 1) client machine 2) server i.e. (internet web data). i want to access the table on the server (internet) how i can use the connection string. how i can connect to client to server can anybody help me.

Software Development client-server sql
Member Avatar for shiva07
0
279
Member Avatar for slawson01

This is code generated for my Algorithm Implementation's class. I was to create my own RSA public and private keys using modPow and modInverse and use that to implement a digital signature. That works great, not the problem here. For extra credit I am implementing a digital envelope that will …

Software Development algorithm java
Member Avatar for slawson01
0
239
Member Avatar for majorawsome

Um, How do these work? I know you do something like [CODE]Blah Blah {Get; Set;}[/CODE] but how does that work? how does it know what to get and set?

Software Development
Member Avatar for shiva07
0
174
Member Avatar for Voidz

Hi, I know how to do it in the console, but when it comes to Win32, I can't I've tried all those #includes(with Windows.h), and it doesn't let me. Anyways, if you guys know how, please share, I'd like to know.

Software Development audio c++ windows-api
Member Avatar for 1ML
0
547
Member Avatar for milan2011

Hi everyone, I want to implement an ADT Queue class (pointer base) use Template with following public interfaces: enqueue,dequeue,dequeueAll,peek,and size. I have 2 problems: 1.not sure how to dequeueAll which is removes all elements from the queue with Postcondition: size( ) returns 0 2.for dequeue and peek I need to …

Software Development c++ linked-list queue
Member Avatar for milan2011
0
982
Member Avatar for xhalcyon

I'm new to java and having trouble. I need to take a class I wrote and write a test applet for it to see if it works. The applet is supposed to have a length label, an input for it, an width label, an input for it, a button to …

Software Development java
Member Avatar for sirlink99
0
107
Member Avatar for viziroth

I'm a first timer with RPG-IV and am trying to write a D-spec. I don't know what the source type should be... tried PF, DSPF, D, DS.... I try to compile the file and it gives me an error involving DDS. Any advice would be great... if I knew what …

Software Development
Member Avatar for jwmollman
0
197
Member Avatar for rEhSi_123

Hi Guys, After trying to port a C++ program which was a console application where it crawled the forums with the url provided and in the end stored the result inside a database for further analysis. Now, with very limited time I have decided to replicate this in vb.net as …

Software Development database-design html-css vb.net
Member Avatar for rEhSi_123
0
119
Member Avatar for debasishgang7

Hi all, Here is mu scenario.I am trying to open multiple port on a compute. I am trying to make the code multi threaded.So here is my code: [CODE]import socket import thread from threading import * s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) def handler(clientsock,addr): while 1: data = clientsock.recv(BUFSIZ) if not data: …

Software Development python socket-programming
Member Avatar for debasishgang7
0
905
Member Avatar for masterofpuppets

Hi all, I searched this topic and found a couple of posts but I couldn't find what I am looking for. Here's the problem - I am trying to send an image to a client (browser in this case) over a socket. After the image is received I am trying …

Software Development image java socket-programming web-browser
Member Avatar for masterofpuppets
0
9K
Member Avatar for cesione

I just started leaning c programming, and i have been doing alright, but now am stuck with a problem, I do not know how to read information from a file in c. the file contains info like; 123456789123456789123456789123456789...and so on. i have to read the file in, and then group …

Software Development c file-system
Member Avatar for Ancient Dragon
0
173
Member Avatar for ana_1234

Hey, Does anyone know how to cpy from one file and redirect to another. I know I have to use the ofstream but I'm stuck. [CODE] while (!in1.eof()) // while not end of input file { in1.getline(current, 100); // read a character from input file out1.in }[/CODE] I'm stuck. I …

Software Development c++ file-system
Member Avatar for Narue
0
346
Member Avatar for pissman

Hello, I was working on my Server - Client comunicating programm for moonth or more, when a tricky issue had met me. I works so: Server does certain commands if client types certain commnads, and I need need the Client to do certain commands if Server types certain commands. I …

Software Development c++ client-server socket-programming
Member Avatar for pissman
0
308
Member Avatar for sirlink99

I have this key listener in my application, and it wont work. This is my first key listener in an application, however I have done a mouse listener in one before. Anyway here is my code: [CODE] import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; public class DropGame extends JPanel …

Software Development java java-swing
Member Avatar for sirlink99
0
521
Member Avatar for georges-louis

dear all, I'm trying to find out how to pass a parameter to a predefined parameter in a dataset. I've found everywhere a solution if you build the sqldata adapter and the dataset in the code. Then you can pass the parameter like: da.SelectCommand.Parameters.Add("@param1", SqlDbType.Char).Value = param1_variable (as example) But …

Software Development dataset vb.net
Member Avatar for georges-louis
0
190
Member Avatar for Fatooma

Me too I have a problem with deep copy help me.. this is my code i am using visual studio 2008 [CODE]#include<iostream> #include<string> using namespace std; class Street { private: int stretNumber; string name; int numberHouses ; int *ListHouses ; public : Street(); Street(int, string, int); //Street(const Street & otherStreet); …

Software Development c++ visual-studio
Member Avatar for mike_2000_17
0
151
Member Avatar for airerdem

Hi, I have following code but it is very slow during sorting. [CODE]list<double> fitness; for(i=0;i<250;i++) { fitness.push_back(Random Number); } fitness.sort();[/CODE] Is there any other method about list sorting ? Thanks in advance ico

Software Development c++
Member Avatar for mike_2000_17
0
139
Member Avatar for AndreRet

I have followed every step in the My Sql forum posted - [URL="http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html."]http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html.[/URL] I have no problem in saving the picture file to MySql. The problem arises in retrieving the picture. I am using code as follow: - [CODE]Private Sub DataLoadPicture() On Error GoTo ErrFailed Dim cnPhoto As New ADODB.Connection …

Software Development file-stream visual-basic
Member Avatar for GTA_doum
0
322
Member Avatar for digital_ice7

i want to return a string array so i can use it in my main function. how do i do this? [CODE]#include <iostream> #include <string> using namespace std; string test() { string a[5] = {"Hello","World","How","Are","You"}; return a; } int main() { string b[5]; b=test(); for(int i=0;i<5;i++) cout << b[i] << …

Software Development c++
Member Avatar for digital_ice7
0
601
Member Avatar for wizzwig

hello, i have an educational compiler construction project that does not have to be hectic but a simple one using java to construct the compiler. It has to compile some of the set of java language, libraries, objects, and controls. it also requires all facets of a standalone compiler (parser …

Software Development java
Member Avatar for JamesCherrill
0
209
Member Avatar for simply_viks

hello, i am having an array having 16 values char index[16]={1,2,3,4,5,6,7,8,9,10,12,13,14,15,16}. my question is i want to store the first,4th,8th and 12th value in arrar A (ie A[0]=1,A[2]=5,A[3]=9,A[4]=13). the 2nd,6th,10th and 14th in array B. the 3rd,7th,11th,15 in array C. the 4th 8th, 12th 16th in array D please help. …

Software Development c
Member Avatar for simply_viks
0
96
Member Avatar for gaurav_13191

Hi all, I have a minor confusion regarding the variable accessed Consider: [CODE] int a=5; //global variable void increment(int a) { ++a; } [/CODE] If I call increment() in main(), which a will be incremented (a passed as a parameter to the function or the global a ?) Also specify …

Software Development c
Member Avatar for gaurav_13191
0
79
Member Avatar for lianpiau

I'm making a datagridview, inside datagridview got many columns. 1 of column name is Finished(checkbox). When load form, the system will detect Finished is Checked and display color. But when I click column header to sort, it will not display color. So how I set color command in column header …

Software Development display
Member Avatar for lianpiau
0
163
Member Avatar for PHIPH

what is the best Java IDE for beginners?

Software Development ide java
Member Avatar for jwenting
0
182
Member Avatar for Ssnowlin

I am not sure I am under the write forum but here is my problem: I have a pretty simple program written that works just have a lot of repeated code and am not sure how to condense it in this situation. The program reads in table names from the …

Software Development c# sql
Member Avatar for Ssnowlin
0
173
Member Avatar for newcuser

Hello. I am working on a little Java project and have gotten a little stuck. May I have a little help please? First the original class and then the test class code here. Thanks!! [CODE]public class PhoneBookEntry { private String name; private String number; PhoneBookEntry(String string, String string2 ){ } …

Software Development java
Member Avatar for stultuske
0
440
Member Avatar for manish250

hi all i have start working on java rmi currently.i using this tutorial to write my first java rmi program. [url]http://www.javacoffeebreak.com/articles/javarmi/javarmi.html[/url] i started the rmiregistry.then i compile server file and generate the stub file using rmic.Now when i am running the server using java command it is giving following exception …

Software Development client-server java
Member Avatar for ~s.o.s~
0
262
Member Avatar for mirkuh

Hi, instead of writing this [CODE] SomeFunction<Class>::Bind<&Class::MemberFunction>(this); [/CODE] I want to provide an easier way to call "SomeFunction". I have one solution using a macro like this: [CODE] GET_EXAMPLE(Class, &Class::MemberFunction, this); //... #define GET_EXAMPLE(ClassName, MemberFunctionPointer, InstancePointer) \ (SomeFunction<ClassName>::Bind<MemberFunctionPointer>(InstancePointer)) [/CODE] But in order to avoid the use of this macro I'd …

Software Development c++
Member Avatar for mirkuh
0
441
Member Avatar for akhal

Hej I got this problem while trying to build project in VS2010: [b][b][code] fft_test.obj : error LNK2005: "void __cdecl fft(int,double (*)[2],double (*)[2])" (?fft@@YAXHPAY01N0@Z) already defined [b]1>in fft.obj 1>fft_test.obj : error LNK2005: "void __cdecl fft_rec(int,int,int,double (*)[2],double (*)[2],double (*)[2])" (?fft_rec@@YAXHHHPAY01N00@Z) already defined in fft.obj 1>fft_test.obj : error LNK2005: "void __cdecl ifft(int,double (*)[2],double …

Software Development c++ visual-studio
Member Avatar for akhal
0
298
Member Avatar for tlox

I would like to know which software/technologies can be used to develop an electronic telephone directory. What database software and application software would you suggest? I just want to create a simple application which could be opened with HTML Help Workshop 1.4. It should not be an online application, however …

Software Development
Member Avatar for Adak
0
383
Member Avatar for kerek2

Hi Alls, Really need your help. I'm trying to list all text file in Application Startup path folder in combobox but cannot...can anyone help?.....In Application Startup Path folder i got more than 3 .txt file. So i want to list out in combobox...please help me..thank you

Software Development vb.net
Member Avatar for codeorder
0
2K
Member Avatar for CeeGee

Create a class named Game that contains a string with the name of the Game and an integer that holds the maximum number of players. Include properties with get and set accessors for each field. Also, include a ToString () Game method that overrides the Object class’s ToString () method …

Software Development
Member Avatar for kvprajapati
0
182
Member Avatar for moshe12007

hello all i have problem : [CODE] string sssql = "SELECT *FROM BooksCatalog WHERE BookID = '" + TB[2].Text + "'"; ds =DBC.Read(sssql); // class that read from sql foreach (DataRow row in ds.Tables[0].Rows) { row["BorrowState"] = "good"; // that not write that in my database here its the problem …

Software Development sql
Member Avatar for kvprajapati
0
112
Member Avatar for sid78669

Hi All, This is the first time I'm using Java to connect to my online MySQL database that is hosted by a separate web host. Following is the code in use: (I've removed the server url, username and pass for obvious reasons. They all work when I use them in …

Software Development java mysql sql
Member Avatar for sid78669
0
641
Member Avatar for sirlink99

Hello. I am trying to make a program that has a menu. When you click play , it should (for now) output the text "In Game". It does that. However, it prints the text on a new JFrame. I would like it to print it on the same frame. How …

Software Development java java-swing
Member Avatar for sirlink99
0
132
Member Avatar for uchendu korie

I am a final year computer science student and i was confronted with this topic: Design, development and implementation of an efficient Bandwidth management system. i code with Vb.net and microsoft SQL 2008 as my database engine. honestly i've not written such application before, so i need a guide how …

Software Development database-design vb.net
Member Avatar for codeorder
0
171
Member Avatar for David_Omid

Hey everyone, I have a problem in a project of mine and was wondering if anyone could offer any suggestions. I'll try to explain as best I can what the problem is and if anyone feels they can offer some assistance, I'll send them the source code over a private …

Software Development c++
Member Avatar for David_Omid
0
168
Member Avatar for portege

I'm interested in creating a bruteforce program. What is the most computer resource efficient method to count in base 62? (1,2,3...a,b,c...A,B,C)

Software Development c++
Member Avatar for raptr_dflo
0
3K
Member Avatar for skiabox

I have seen in many servlets that doPost and doGet are declared public or protected. What is the purpose of declaring a doPost or doGet as protected? Thank you.

Software Development java
Member Avatar for stultuske
0
77
Member Avatar for zahidmaqbool

Hi, I have got a problem which has left me banging my head against the wall. Anyways, here is my situation. I've got to scan for a directory continuously and as soon as I've got a CSV file in it. I need to process that CSV file and pass on …

Software Development data-structure database-design java
Member Avatar for stultuske
0
126
Member Avatar for xThrash

Hello, For some work I have to implement the selection sort algorithm on an array list, I dont really know how to do this. I have started off the code but I just need to actually implement the selection sort! This is proving to be the stumbling block. Here is …

Software Development algorithm java
Member Avatar for NormR1
0
2K
Member Avatar for dark_sider_1

I've been trying to create a Hangman game in Java, and I have a string that looks like "_____" for a certain number of letters that they are supposed to represent. How would I replace just one of those, rather than all? I've heard that you can't replace an underscore …

Software Development java
Member Avatar for hfx642
0
260
Member Avatar for nocloud

I have a the following snippet of code [CODE]string const& symbol::at(int index) const { assert(index<symbol_data.vector::size()); return symbol_data.vector::at(index); }[/CODE] This does not compile successfully, instead, I get complaints about [CODE]error: ‘template<class _Tp, class _Alloc> class std::vector’ used without template parameters[/CODE] Now, I think this has something to do with the fact …

Software Development c++
Member Avatar for mrnutty
0
327
Member Avatar for baby_c

hello friends, I got a problem with an object array.I'll write a sample code for understand the problem.I declared an array of objects named item. [CODE]item[] itemAr = new item[100];[/CODE] And then I initialized some of them [CODE]itemAr[0]=****; itemAr[1]=****; itemAr[2]=****;[/CODE] I want to know that is there a way to …

Software Development java
Member Avatar for baby_c
0
187

The End.