132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for s_jmp

hi all, i have loaded a dll with ctypes.cdll and i want to get thta dll's parameters and method like when you write: <'the dll handle'>. and just after you put the dot a list appears to show you the methods or like when you get a dir() from a …

Software Development python
Member Avatar for bunkus
0
531
Member Avatar for bleedi

Hiya, I've got a small problem. I have an interface called "event", which represents a networking event. I have classes implementing this interface. Now, when my server app receives a new event, it checks the class of the event and acts accordingly. This works nicely when the implementing classes are …

Software Development oop user-interface
Member Avatar for bleedi
0
161
Member Avatar for zifina

I am new to using xml in c sharp. I am able to enter details to the xml file (name of file "Data1.xml") through text boxes.But before entering details to the xml file,i need to first verify if any other 'well' have the same 'name'. 'name' has to be unique. …

Software Development xml
Member Avatar for xml_looser
0
221
Member Avatar for programing

plz how i can write a program to pop from one stack and save the value deleted to onther stack .. means .. pop the top from one stack and push the delete value to other stack ... :(

Software Development c++
Member Avatar for TrustyTony
0
136
Member Avatar for stranger_on_way

The software developer of an object-oriented programming API wishes to design a Stackdata type by ‘adapting’ an underlying Listdata structure. Describe how the Adapter Design Patterncould achieve this via:- i.Inheritance ii.Composition Please reply as soon as possible. I have my exam.

Software Development api java
Member Avatar for mKorbel
0
92
Member Avatar for wenbnet

HELLO. i want to put logo in my crystal report, i couldn't find image property in crystal report plz help. Thanks in advance.

Software Development image vb.net
Member Avatar for wenbnet
0
211
Member Avatar for programing

plz i cant't correct the errors .. can any one correct this [CODE] #include<iostream.h> #define size 100 struct stack { int item [size]; int top=0 ; }; class m{ bool isempty(stack s) { if (s.top==-1) return true ; else return false ;} bool isfull(stack s); } return (s.top==size-1);} int count …

Software Development c++
Member Avatar for programing
0
137
Member Avatar for girishsp

i have designed a windows forms which has a textbox in it,in that textbox i will enter path and on click of button i will bind that data to database(mysql) and i am done with it.but if the entered path contains ''(escape character) it will be ignored while binding for …

Software Development mysql
Member Avatar for girishsp
0
133
Member Avatar for kirtee2209

Hi. I am doing a C# windows form application and I am retrieving data from a database and saving in a datatable temporarily. I have to access each cell and update them. [CODE] try { string TaskStatus = "Assigned"; SqlCommand cmd1 = new SqlCommand("SELECT Day_Date FROM tblDaily_Task_Schedule WHERE Task_Status='" + …

Software Development dataset
Member Avatar for kirtee2209
0
141
Member Avatar for ekailan

1. I Need to search in a file by reading it character by character, the problem is that each line ends with spaces before the next line begins......... how to remove spaces between lines and make the search contiue automatically. 2. In another case I need to read a file …

Software Development
Member Avatar for abelLazm
0
128
Member Avatar for tultul

i have a problem. i don't know where i am making the mistake.... i need to refreshed my JPanels automatically with time..... i have used timers for this. i used in the constructor of the class... public class HoursPanel{ //.... //..... public HoursPanel(){ int delay = 60000; Timer timer = …

Software Development java
Member Avatar for tultul
0
130
Member Avatar for Loki55

Starting to do arrays and my first question is... Wrtie a loop to print the elements of an array of int called numbers. You only know that the array has 5 elements. i My 1st attempt is going like this.... [CODE]#include <iostream> using namespace std; int main() { int number[5]; …

Software Development c++
Member Avatar for ragedsparrow
0
104
Member Avatar for Mr. K

I am trying to move a ball using time. The ball must move 5 pixel per second. In my code the ball is moving faster. Why is it moving faster? What is wrong with my code? [CODE]#include <allegro.h> #include <cstdlib> #include <time.h> int ball_x = 320; int ball_y = 240; …

Software Development c++
Member Avatar for Mr. K
0
117
Member Avatar for Iamthecheese

I have a program that runs a binary search tree and lists a menu of options. Two of the options are the only ones I can't seem to get to work which are saveToFile and buildFromFile. These methods include asking for a name to save as an output file (save) …

Software Development java
0
186
Member Avatar for paidinfull

I have an assignment below: 1. Create a class called Furniture with the following attributes: furnitureType – a String modelNumber – a String price – double quantitySold – int totalCharge - double. Provide the following: 1. A non-default constructor for Furniture 2. Settors and gettors for price and furnitureType (don’t …

Software Development java
Member Avatar for bibiki
0
1K
Member Avatar for SCass2010

Hi everyone, As part of an assignment we have to develop a recursive backtracking solution in java to a sort of knapsack problem - you have a 150mm bar, a set of orders you have to cut and you need to come up with the best solution that gets the …

Software Development java
Member Avatar for bibiki
0
688
Member Avatar for dnk

Hi All, I try to make my caption text scrolling. Actually, i already make it scrolling but after the last letter it would appear all of text and scrolling again. I want the text scrolling one by one, after the last letter it following by the first letter. How i …

Software Development visual-basic
Member Avatar for dnk
0
231
Member Avatar for toferdagofer

Im trying to get this game to play again once the user gets the right answer or the guesses exceede 8. The problem comes in when i type in Y or N. It doesnt loop back up to the top of Do loop like i would like it too. Please …

Software Development c++
Member Avatar for toferdagofer
0
176
Member Avatar for IwalkAlone

Q.Create an equivalent of four function calculator. The program should request the user to enter two numbers and an operator. It should carry out specified arithmetic operation on the two numbers( using switch case).After displaying the result, the program should ask the user if he/she wants to do another calculation.If …

Software Development c
Member Avatar for lokeshg
0
2K
Member Avatar for wdearth

I have a program assignment where one part requires a user-defined function where you enter a string with a minimum length of 2 characters and a maximum length of 20 characters. How would I get it to find the length (I believe should be stored into index) of the entered …

Software Development c
Member Avatar for TrustyTony
0
170
Member Avatar for ronnieaka

here's the infix expression: [B]EXAMPLE 1[/B] a/(b+c)*d according to me, if [B]*[/B] is given higher precedence then [B]/[/B] , then this should be the postfix expression: [B]1) abc+d*/ [/B] if / has higher priority then * , then: [B]2) abc+/d*[/B] [B]question 1: [/B]which is correct?? 1 or 2 ? according …

Software Development c++
Member Avatar for TrustyTony
0
243
Member Avatar for wildplace

so.. my professor ask us to read map(x,y) into a graph data structure and traverse using Breadth First Search. although i asked him for help, i still so lost..can someone please explain how should i start, such as what are some functions the graph class should has..and what they should …

Software Development c++ data-structure
Member Avatar for wildplace
0
108
Member Avatar for Stefano Mtangoo

Hi All, Its long have not been here. Python have been a language that have refused to get off my shoulders. After more than a year or two I'm back. And to cut story shot is, though I love Rhythmbox, It have the poorest Podcasting module I have ever encountered. …

Software Development gui python
Member Avatar for Stefano Mtangoo
0
297
Member Avatar for pravej

Hi All, I just wrote a program of string. In the below program every blank space will be replace by char 'x'. The program compiled successfully but it dint not run, give error. What I am doing wrong plz suggest me. [CODE]#include<iostream.h> using namespace std; int f1( char *st); int …

Software Development c++
Member Avatar for pravej
0
146
Member Avatar for klangston92

Instructions: --For each day, tell which balloon (identify it by time released) traveled the greatest distance on that day (7 values printed). Identify the day by name rather than by number. --For each day, calculate and print the average distance (print one decimal position) traveled by all balloons released on …

Software Development c++
Member Avatar for pseudorandom21
0
165
Member Avatar for barttoo

Hi, I am new here. I need some help on inter-process communication. I am developing a high performance console app in C# 4.0. The reason i chose console to winform because to minimize the GUI thread overheads. But i need to view the processing statistics from time to time (occasionally …

Software Development gui
Member Avatar for Momerath
0
128
Member Avatar for Buffalo101

Hello, let's say I have these classes: [code=java] public class ClassA extends JFrame{ private JButton btn1; private JPanel panel; public JPanel getPanel(){ return this.panel; } ClassA(){ this.setSize(500,500); this.setVisible(true); panel=new JPanel(new FlowLayout()); btn1=new JButton("LALALA"); this.add(panel); panel.add(btn1); } } public class ClassB { ClassA a; ClassB(ClassA a){ this.a = a; JButton button2 …

Software Development java
Member Avatar for mKorbel
0
2K
Member Avatar for pcgamer2008

Hello World ! How to load a Bitmap image or any other format in openGL ? I am so much confused where I need to begin my innings ? confused while studying lot of theories and concepts...plz can anyone tell me the steps from starting altough i have read some …

Software Development c++ opengl
Member Avatar for mrnutty
0
117
Member Avatar for anitaNg

what is wrong with my code?i cant figure it out. [CODE] #include<iostream.h> #include<stdlib.h> #include<stdio.h> #define MAX 50 struct Node { char judul[MAX]; char pengarang[MAX]; int harga; Node* nextPtr; }; Node* makeNode(char judul[], char pengarang[], int harga) { Node* newNodePtr = (Node*)malloc(sizeof(Node)); if(newNodePtr == NULL) { cout << "Out of Memory" …

Software Development c++ linked-list visual-studio
Member Avatar for jonsca
0
144
Member Avatar for porschedream

i am using the following code to tokenize a character array [CODE]for(int i = 1; i <= count+1; i++) { name[i] = strtok(NULL, "("); type[i] = strtok(NULL, ")"); b << type[i] << " " << name[i]; b << ";"<<endl; cout << type[i] << name[i] << endl; }[[/CODE] however in the …

Software Development c++
Member Avatar for TrustyTony
0
874
Member Avatar for Iamthecheese

I'm having trouble formatting a binary tree. In my program, the tree format should print every output as such: 35 30 29 25 24 20 15 This is the code that I have thus far. [CODE]public void treeFormatTraversal(){//begin int level = 0; if(root !=null) treeFormatHelper(root, level); else System.out.println("\nTree is Empty\n"); …

Member Avatar for Iamthecheese
0
155
Member Avatar for bfprii

I want to merge 2 or more hashtables together..It doesn't matter what the final form is, as long as I can iterate through it. Here the final form is an array. So I have an unsigned long long as the key, the value is a string,int pair. Each key maps …

Software Development algorithm c++
Member Avatar for bfprii
0
209
Member Avatar for jemz

hello... Can you help me please, how can i use the checkbox if i want to display on my listiew Active or not Active After clicking the addbutton. Example Jemz Gimz 123 then i will check the checkbox and click the Add button it should display on my listview Jemz …

Software Development listview visual-basic
Member Avatar for jemz
0
116
Member Avatar for kris0r

Hi all, I recently made a web crawler as part of a Uni team project building a small search engine. I've managed to incorporate it into our GUI, there is a button which starts the crawling process by creating the crawler in a thread. (I did this because otherwise the …

Software Development algorithm gui java java-swing queue
Member Avatar for JamesCherrill
0
160
Member Avatar for Buffalo101

Hello, I'm making an application that supports sending text/files. It will use a server and 2+ clients. The clients won't communicate directly with each other, their messages will be forwarded by the server. My problem is this: in C++, after starting a client, I'd have 1 thread stuck on RECEIVE …

Software Development client-server java
Member Avatar for JamesCherrill
0
240
Member Avatar for david59

This is my Program: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Myclass { static void Main(string[] args) { Myclass d = new Myclass(); d.Myprog("ahasda"); } void Myprog(params string[] s) { int num=0; foreach (string r in s) { if (r.Contains('a')) { num++; } } Console.WriteLine(num); …

Software Development
Member Avatar for Mitja Bonca
0
146
Member Avatar for cwarn23

Hi everybody, I have a question about purchasing a product which I do not know the name of or where to buy from. I have the following requirements for a PDA but can somebody point me to a few links of where I can buy such a device. My requirements …

Software Development api java video-card
Member Avatar for cwarn23
0
227
Member Avatar for sirlink99

I am working if application and I cannot figure out how to make a box move forward one at a time when the spacebar is pressed. Here are my codes: [CODE] package DrawingInApplications; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; import javax.swing.JFrame; public class Program extends Drawing implements KeyListener{ Drawing d; …

Software Development java java-swing
Member Avatar for JamesCherrill
0
994
Member Avatar for johnt68

Hello:-/ I have a form that generates a multidimensional button array that represents theatre seating when I select an event in a list box ... so far so good. I also have a database that I can get to return a list of tickets which relate to the buttons/seats ... …

Software Development
Member Avatar for johnt68
0
82
Member Avatar for toferdagofer

i am having a lot of problems trying to create a Mastermind game. The goal is to implement it and have it print out a game board on the screen that has the previous answer move up as new ones are entered. Also its supposed to keep track of whether …

Software Development c++
Member Avatar for TrustyTony
0
330
Member Avatar for ztdep

i write a point class, when i compile , vs2008 give me the warning about" not all control parth return a value" could you please tell how to avoid that? [CODE] double& operator [](int i) //[] which can used as the left value { if(i==0) return x; else if(i==1) return …

Software Development c++
Member Avatar for ztdep
0
590
Member Avatar for shayankhan

Hello again guys, I am little bit stuck in this situation and searched everywhere in google but i did'nt find what actually i want.. a problem with autonumber in access database. i have created a database with 4 columns .. deleted primary key slip, cname, nic... the slip column is …

Software Development microsoft-access open-source
Member Avatar for shayankhan
0
95
Member Avatar for MWE_QUE

Any help would be appreciated. I have a working command line program (trivia question) and decided to try to put it in a Gui. I got the user menu to print, but it gets to line 162 and blows up (going line by line) where I'm thinking it should do …

Software Development gui java java-swing
Member Avatar for MWE_QUE
0
320
Member Avatar for mwmnj

Hi, I am working on an exercise in operator overloading. I've created a matrix class and I am supposed to overload operators so I can do arithmetic on matrices efficiently. My directions say that I am supposed to make two matrix arrays using the class constructor that has 2 parameters …

Software Development c++
Member Avatar for Saith
0
263
Member Avatar for virusisfound

Hello, I want to save multiple record in database from DataGridView. I have some code but their is an error i.e [B] Column named id cannot be found. Paramater name:columnName[/B] [CODE]SqlConnection cn = new SqlConnection(); cn.ConnectionString = "path of connection"; cn.Open(); string q = "select * from abc"; SqlDataAdapter da …

Software Development dataset
Member Avatar for virusisfound
0
464
Member Avatar for n1csaf3

I am having trouble correctly allocating memory for a parent function that will remain upon the child functions exit. the call to the child function is [code=c]HTTP_packToGen((char*)http_headerContent.HTTP ..[/code] the HTTP variable within http_headerContent is a char pointer that isn't allocated until the child function is called, http_headerContent is a static …

Software Development c http-protocol
Member Avatar for n1csaf3
0
321
Member Avatar for murnesty

i searched about this error. they said is mostly caused by forgot putting semicolon... but i find for 1hours+ still cant find out >.< anyone can help me? the error is pointing test.h lines 9: multiple types in one declaration test.h: [CODE]#ifndef TEST_H_ #define TEST_H_ class TEST { public: //call …

Software Development c++
Member Avatar for Kanoisa
0
1K
Member Avatar for Vega_Knight

Hi all, I am writing a program in VB6 where I need to determine the path for the system32 folder. I know the default path is c:\WINDOWS\Sytem32, but some people installed they windows in another drive. How i can get the path of system32 folder? Best Regards Vega

Software Development visual-basic
Member Avatar for Jx_Man
0
183
Member Avatar for iamthesgt

In my current project (homework), I am storing a pair of values in a map. The ID is an integer, and the value is a string (name of a movie) and an integer (rating of the movie on a 1-5 scale). I need to get the elements into the map …

Software Development c++
Member Avatar for drkybelk
0
219
Member Avatar for stereomatching

compiler vc2010 and gcc4.5.2(minGW) os : windows xp sp3 I am trying to implement a generic find_if function as std::find_if Below is my code [code] //code for estimating expanding time template<typename unaryOP> double timeCount(unaryOP op, size_t const LOOP = 1, char const* NAME = "function") { std::clock_t begin, end; begin …

Software Development c++
Member Avatar for stereomatching
0
132

The End.