132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ogsirus

Hey guys. Im try to write a program with 3 major things which are two lists and a random. what i want to do is say whatever values are in those lists then produce so many random value if you get what i mean. so say list one value is …

Software Development programming-construct
Member Avatar for thines01
0
182
Member Avatar for daviddoria

I have a feeling that I can come up with a much better title for this thread once I know the answer to this question :). Say I have a function template template <typename T> void MyFunction(). Now I want to specialize MyFunction for a templated type. That is, say …

Software Development c++
Member Avatar for daviddoria
0
171
Member Avatar for JohnPool

Can somebody give me advice on how to create a recursive version of GetEnumerator()? The well-known Towers of Hanoi problem (see e.g. [url]http://en.wikipedia.org/wiki/Tower_of_Hanoi[/url]) may serve as an example that is comparable to the actual problem I have. A simple algorithm to show all moves for a stacjk of disks of …

Software Development algorithm
Member Avatar for darkagn
0
260
Member Avatar for agniputra

Hi can u pls tel me how to tackle a problem like this: 1234567890123456 is the number to be loaded in db... i need to convert it to double without using atof()... if i use atof() function the number is rounded off to 1234567890123460... ??? can anyone suggest for a …

Software Development c
Member Avatar for dannyniu
0
755
Member Avatar for Mr.BunyRabit

Im reaaly starting to hate netbeans... its like it changes my code for me!!! I use java mail to send emails. Now i got it to work a few days ago. already imported the api, and what have you (images attached). And i was able to send emails, and today …

Software Development api java java-netbeans
Member Avatar for Mr.BunyRabit
0
1K
Member Avatar for roottybrian

Am trying to restore a MySQL database using the 'mysql -u root db < my_db' command. In vb's process.start. it gives me the default output you get when you type MySQL - help. Can someone tell me what's up. I guess it cannot see the < symbol. Regards.

Software Development mysql vb.net visual-basic
Member Avatar for roottybrian
0
116
Member Avatar for Morley93

Hi again all. Having continued with my project I have managed to finish my [I]Board()[/I] which is where my main game occurs. I have also created a main menu which is instantiated from my [I]main()[/I] method and appears as soon as the program is run. My current problem is invoking …

Software Development java
Member Avatar for Morley93
0
113
Member Avatar for stereomatching

I don't know should I post this article at here or not, if you think this should belongs to other area, please move it to there. I need to design some domain specific language to generate some C++ source codes. I have considered about using xml directly instead of designing …

Software Development c++
Member Avatar for stereomatching
0
148
Member Avatar for PoovenM

Greetings! I have a C# dll generated from a .resx file (I believe it's called a satellite dll). This stores simple key to string mappings (used for language localization). I was wondering if it's possible and feasible to access the information stored in the C# dll from a C++ unmanaged …

Software Development c# c++
Member Avatar for PoovenM
0
952
Member Avatar for PoovenM

Hi there, I'm trying to access a resource only dll (compiled with the [i]/NOENTRY[/i] linker option) within C#. The dll file was created using a rc file that contains a [b]STRINGTABLE[/b]. I used [b]CComBSTR[/b] to load the string resource from the dll in C++; I'm not sure how to do …

Software Development c# c++
Member Avatar for thines01
0
190
Member Avatar for ahoysailor

Hi all, I've been trying to find part of a string in a vector. The problem being that I can only get it to work if I enter the entire string, but I need it so that I only search for the first part of the string in the vector. …

Software Development c++
Member Avatar for Clinton Portis
0
181
Member Avatar for srinivas88

I am trying to implement process pairs redundancy (process level redundancy) in c/c++. basically there is a active core process 1 running on one system and its standby copy, process 2, is running on other system. When ever the active one goes down the standby becomes active and executes the …

Software Development c++
Member Avatar for L7Sqr
0
671
Member Avatar for aiwasen

well,the title says it all. What are the disadvantages and advantages? Is it better to compile java in ms-dos or in IDE such as eclipse(which is popular as they say). Which do you prefer?

Software Development ide java
Member Avatar for stultuske
0
254
Member Avatar for surferxo3

Let me be specific: I have the following components in my project: 1) Form 2) Textbox 3) Button 4) DataGridView 5) A class named Database - It has all the code stuff to interact with the database means it can insert,update,delete etc I type the desired name in the textbox …

Software Development dataset open-source
Member Avatar for surferxo3
0
3K
Member Avatar for hapag

Hello! I am currently working on a text adventure in C++ and could use some help. What I'm trying to do is let the user input a command like the following: 'go kitchen' 'open door with key' and make the game react accordingly. I have a text parser which splits …

Software Development c++
Member Avatar for L7Sqr
0
312
Member Avatar for rcbandit

Hi, Is it possible to call OSGI service implemented in external bundle from EAR package? Is there a tutorial how this is implemented? Regards

Software Development java
Member Avatar for StephNicolaou
0
163
Member Avatar for Lillylionhert

I am working on a Priority Based Scheduler which reads the process in from a file. I have it reading from file and printing to the screen. I'm trying to use strtok to tokenize a line from the process test file and store it in three different arrays. The layout …

Software Development c
Member Avatar for Lillylionhert
0
5K
Member Avatar for gourav1

hey!tell me that what is difference between info contained in cookies and session(made in web container) ? let i have opened a website and done something in it and then i opened another site and do something on it. then tell me what is the info cookie is containing and …

Software Development java session
Member Avatar for gourav1
0
159
Member Avatar for kyriacos1986

I am trying to create a countdown timer using the javax.swing.Timer class. In order to display it I am only allowed to use javax.swing.JFrame and javax.swing.TextField classes. Well my Timer works as I expected. But I have trouble when I am trying to display it in the JFrame. It appears …

Software Development display java java-swing
Member Avatar for JamesCherrill
0
839
Member Avatar for devilking

i use vb.net i trying to do a file upload, i want to image to save to image folder, however, the image don't know appear in the directory that i indicate if i click on "show all file", the image appear, but the image icon is blank or white like …

Software Development file-system image vb.net
Member Avatar for devilking
0
317
Member Avatar for mk.hashmie

I have just started learning C language. I am finding problems in nested loops and arrays. how can i learn them?? i am really getting problem

Software Development c
Member Avatar for mk.hashmie
0
78
Member Avatar for autorunman22

hello guys, ive been searching for ages on how to disconnect a client whether the request is from client or server but i cant find one. I thought the Naming.unbind() would do the trick but its not. anyway, this is my server code since I want to have my server …

Software Development client-server java
Member Avatar for autorunman22
0
1K
Member Avatar for mardTanha

hi i have a listview that keep time(Second) and text. i want when player time was equal to my listview item times label1 show its text(RealTime). it is very similar to subtitle. i tried this: [code=c] private void axWindowsMediaPlayer1_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { while (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying) foreach (ListViewItem item …

Software Development listview
Member Avatar for mardTanha
0
93
Member Avatar for Mr.BunyRabit

This must be the Most Irritating Bug or what ever it is, EVER!!!! Im using Netbeans 6.9.1 and i have a main form, with a JMenuBar (dropdown bar) in that form. Now i have allot of items in that bar. But netbeans chooses some random time to remove 1 to …

Software Development java
Member Avatar for Mr.BunyRabit
0
135
Member Avatar for aminit

Hello ALL: In my form there is a textbox and label ,I want when I input a text when I'm inputting the first letter in the label value must be 1 if I input 2 letters in the label value it must be 2 ...etc... Any idea????

Software Development
Member Avatar for niru21
0
222
Member Avatar for MarkWalker84

Hi, got a quick quickie... Im trying to send commands to a micrcontroller via a USB->serial converter. Im writing with wxPython on an XP machine it thats important. I have been using the win32 module along with USPP and so far so good, apart from one thing. As far as …

Software Development python
Member Avatar for mr_snarf
0
2K
Member Avatar for abhit_kumar

Dear All, following is the code at button event which copy data from one DGV (dgvAccesList) to another DGV (dgvProbReport) and its working properly. Its paste data to 3rd and 4th column of destination DGV. But the problem is that, if at source DGV first column and second column have …

Software Development vb.net
Member Avatar for abhit_kumar
0
81
Member Avatar for pwolf

i have been working on this course work i got my hands on to learn python, and i have just been working on an exercise, i was wondering if i perhaps cheated though? The exercise says the following; write a function that takes a list of real numbers and returns …

Software Development python
Member Avatar for pwolf
0
293
Member Avatar for srm2010

I am working with an MDI application. I have three forms where in Form1 is MDIParent form.From this MDIParent form another form FOrm2 is getting open which remains within the bounds if mdiparent window.Form2 has a button, when clicked opens Form3 which I want it to get open as child …

Software Development
Member Avatar for bhagawatshinde
0
120
Member Avatar for communism

I recently have been working on a GLUT project in Code:Blocks. Everything in the code compiles correctly, yet every build seems to return the same result. I narrowed it down to an OpenGL, non-GLUT function : glFrustum. I change the parameters yet the runs are all the same. It could …

Software Development c++ opengl
Member Avatar for communism
0
297
Member Avatar for bilal_fazlani

I saw the adobe pdf viewer control in vs2010 toolbox somewhere. and I thought it can be very useful. So I tried to add it. [url]http://img155.imageshack.us/img155/3349/choosetoolboxitems.jpg[/url] as I expected things are never simple for me, when I try to drag it to the form. there'a an error. [url]http://img214.imageshack.us/img214/8042/errorrp.jpg[/url] any idea …

Software Development adobe pdf vb.net visual-studio
Member Avatar for bilal_fazlani
0
2K
Member Avatar for kikic

Matrix given in memory; the objective is to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until you get to the environment). This works just for dimension 3x3. It should works for MxN dimension, …

Software Development c++ matrix-multiplication objective-c
Member Avatar for zeroliken
0
313
Member Avatar for stupidenator

Hey Everyone, I just have a quick question... does anyone know how to test 2 integers (int a, int b) to see if int a is evenly divisible by int b? I tried it like this but it doesn't really seem to work: [CODE]public boolean isDivisible(int a, int b) { …

Software Development java
Member Avatar for zeroliken
0
203
Member Avatar for Blahthing

I was making an item for a game im modding, but it cant seem to read the variable and perform its function. Yeah, it recompiles fine, but dosent work ingame The functions that dont work ingame, are -Printing A Chat Message To An Entity -Setting Variable Timesshot to 0 -Damaging …

Software Development java
Member Avatar for Blahthing
0
147
Member Avatar for coxxie

having issues with my program running propperly. I think i have it right but i need a more skilled eye to take a look at it for me and set me in right direction. the code will complie, but everything i enter comes up invalid when some of it should …

Software Development c++ ios
Member Avatar for coxxie
0
457
Member Avatar for ng5

I'm writing a program in visual basic 2010 express and i have a combo box. in that combo box there are 3 selections 20 25 and 30. at first i had a percent sign in front of each but i wanted to take it out... so i took out the …

Software Development vb.net visual-basic
Member Avatar for ng5
0
347
Member Avatar for 03hasnam

please consider the following file of given staff. [CODE]Bob 100100653 5860 London H3ll0 1[/CODE] How do i extract the 6th line for multiple files and generate a report in java for each files under same directory? the above is just one file data. i want to read multiple files and …

Software Development java
Member Avatar for NormR1
0
381
Member Avatar for nfowomola2

I developed a [B]pay roll[/B] [/B]application for my organization, I want to create a [B]monthly report for the employees but I want it inform of querying the database[/B](data file) to generate a report for two different months(like January and December)[COLOR="Red"]on a single report sheet[/COLOR], PLEASE HOW CAN I ACHIEVED THIS?

Software Development visual-basic
Member Avatar for ChrisPadgham
0
123
Member Avatar for supereng

I need a code to look in my C drive for specific folders. I want it to go through the first folder and keep drilling in all the subfolders until it hits a dead end, and then go back to second folder and do the same etc..., looking for any …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
614
Member Avatar for skiabox

I am reading the book Head First Java. Reading the chapter 'networking and threads' I tried to run a project in my Eclipse IDE that consists of a chat server and chat clients. The problem is that I am getting no feedback in the clients text area and debugging seems …

Software Development client-server ide java java-swing
Member Avatar for skiabox
0
354
Member Avatar for madhan

Hi - How do I open the xml file and xsl files in visual studio and run from there? I tried File - open file and opened both xml and xsl. but the play toolbar is disabled and have no idea how to run it. If I can add the …

Software Development visual-studio xml
Member Avatar for thines01
0
96
Member Avatar for Nordijac

Hi, I'm a beginner with Java and I've encountered some trouble with simple I/O. Thing is, I have to enable the command line and write a file name of a textfile which holds a simple number. That number I have to get from the file and into JGrasp and print …

Software Development java
Member Avatar for JamesCherrill
0
170
Member Avatar for mehnihma

Can someone help me with this? I have proble with Array Lists , As you can see in the ouput I get same values but I need to put in different values , what am I doing wrong? Thanks in advance and Happy New Year! [CODE] import java.util.*; public class …

Software Development java
Member Avatar for mehnihma
0
643
Member Avatar for smurfy

Hii , Data reader reads table rows into the 2d array. The array fills with the last row of the table. How many loops are there?. Why :?: [CODE] Input Table : ----------------------- id red green blue 1101 12 11 13 1102 12 12 14 1103 13 14 13 ------------------------ …

Software Development c++
Member Avatar for smurfy
0
116
Member Avatar for chris99

I'm having trouble with an application in Tkinter. The program displays a button that has a picture on it and that button takes you to a website about that picture, but that is not where the issue lies. There is another module that I have found on an internet tutorial …

Software Development python tkinter
Member Avatar for chris99
0
2K
Member Avatar for Karlwakim

Hi everybody, I am new c++ and a few days ago I downloaded Qt for gui developing, I found some videos about it but I need something more advanced. Videos from basic to advanced ?? If i watch all of [URL="http://www.youtube.com/playlist?list=PL2D1942A4688E9D63&feature=plcp"]these[/URL] , will it be enough to make professional apps …

Software Development c++ gui qt visual-basic
Member Avatar for Karlwakim
0
229
Member Avatar for BnayaArbel

Hii im Python Programmer , and i want to start write application to android operating system. i can to develop with python? and i want that the Client will be run the application without something installed before (Like Python interepter and etc) How i can ? Thnaks!

Member Avatar for Tech B
0
138
Member Avatar for devindamenuka

hi all, I am new to c++. I want to return array. I found that I have to use pointers but doesnt have idea. here is my code [code] // test2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; const int …

Software Development c++
Member Avatar for cool_zephyr
0
402
Member Avatar for smurfy

Hi all, I just try to input integer typed table rows into 2D integer array. I've tried the code below but it outputs me only last row :( [CODE] Input Table : ----------------------- id red green blue 1101 12 11 13 1102 12 12 14 1103 13 14 13 ------------------------ …

Software Development c++
Member Avatar for thines01
0
157
Member Avatar for manhthaodn

Below is my code to convert from decimal to binary: [CODE]#include "stdafx.h" typedef struct tamNode { int Into; struct tamNode *Next; }Node; typedef struct { Node *Head; Node *Tail; }List; void createList(List &l) { l.Head = NULL; l.Tail = NULL; } Node* createNode(int x) { Node *p; p = new …

Software Development c++
Member Avatar for WaltP
0
394

The End.