132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jmcorpse

I need some assistance with my code. I figured it out and have it working for the most part. I just need some help in the carrying function where all the numbers that where added we carried over with paper and pencil type arithmetic. My biggest problem now is trying …

Software Development c++
Member Avatar for daviddoria
0
100
Member Avatar for b_bayaraa_d

hi everbody! How do i get pygtk to work with eclipse?

Software Development python
Member Avatar for nikosokin
0
300
Member Avatar for MaryAnne19

Hi! Thanks for trying to help me! I'm building a program that will allow me to have a different form for each person in my database. When the program first starts, I want it to cycle through the database and open a form for each row (each person). I'm generally …

Software Development open-source
Member Avatar for MaryAnne19
0
171
Member Avatar for poorchap

(MOUSE CURSOR) Hello I'm wondering is it possible to set a condition if the mouse cursor's position changes or moves to a certain point , then it will execute a code like drag drop. Doing it on a windows form application

Software Development
Member Avatar for poorchap
0
109
Member Avatar for ceyesuma

Hello. I have been reading some stuff on the action command pattern. ever heard of it? More inportantly, Do you understand it? Because I do not. although I would like to ask if the following class could use the command pattern as aposed to 'if" or "switch" statements. I understand …

Software Development java java-swing
Member Avatar for ceyesuma
0
120
Member Avatar for Judas543

To code pretty much makes a grid of a check board. However I want to modify it so if I click on any cell of the grid of the checkerboard it will display a red circle. If I click on a cell that already has a circle, it will remove …

Software Development java java-swing
Member Avatar for hanvyj
0
138
Member Avatar for LuaMan

*sigh* I'm back again. Same program. Different problem. [CODE]private void executeToolStripMenuItem_Click(object sender, EventArgs e) { string aaa = String.Format(richTextBoxEditor.ToString()); /*<-- Guessing that this is redundant */ lua.DoString(aaa); //<-- problem code }[/CODE] When I attempt to execute the Lua code in the textbox, it crashes the program. Wat do?

Software Development
Member Avatar for LuaMan
0
223
Member Avatar for clayton69692000

hi guys i really need some help. Im trying to turn my index array into a multidimensional array and cant get it to compile. thanx for the help. [CODE]include <iostream> using namespace std; #include <cstdlib> #include <cstring> #include <iomanip> const int LIMIT = 10; const int MAX = 10; class …

Software Development c++
Member Avatar for jonsca
0
98
Member Avatar for LuaMan

I am trying to make a macro engine for a personal project, and it would work fine, except that the form won't show when I debug it. Take it for granted that I am using the LuaInterface DLL please. Code: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; …

Software Development
Member Avatar for LuaMan
0
349
Member Avatar for a_salted_peanut

Hi all, I am stuck on what 'should' be a fairly simple thing to solve, however after a good search i haven't got very far. Basically i am pulling data from a database which might have multiple lines of data, however for one particular task i only want to grab …

Software Development vb.net
Member Avatar for a_salted_peanut
0
155
Member Avatar for Nathaniel10

I have a difficulty I need help to overcome. I am developing a program that uses more than 1 class. Variables defined in one class are used in other classes. For example: [code] class X1 { private: int a; int b; public; X1() { a = 10; b = 20; …

Software Development c++
Member Avatar for Nathaniel10
0
153
Member Avatar for a-humam

[COLOR="Red"]Hello All Would you plz tell me how I can force a process to sleep for a specific period? i.e. I need an instruction similar to (Thread.sleep) Regards.[/COLOR]

Software Development c
Member Avatar for a-humam
0
91
Member Avatar for xcarbonx

Hi, im having trouble reading in lines of data using arrays and a structure. I believe my main problem is figuring out how to keep track of the lines read in, even if the whole array size isnt used up. Also, To break up each line I am trying to …

Software Development data-structure vb.net
Member Avatar for alc6379
0
182
Member Avatar for triumphost

This is a program that is supposed to run on startup when the computer turns on... What I did was I put the name of the program in the RunOnce Registry key attached below... when u double click the key, it puts the program name in the registry telling it …

Software Development c++
Member Avatar for triumphost
0
153
Member Avatar for markdean.expres

Does anyone know where I can find an absolutely free online tutorial on vb 2008 asp programming? I'd like to start learning web-based applications. Thanks!

Software Development asp vb.net
Member Avatar for alc6379
0
91
Member Avatar for ironclads

I'm trying to get a VB.Net application to type into a file upload control field. The application currently navigates to the correct page, and clicks the "BROWSE" button so the "Choose File" window opens, but when I use SendKeys.Send( "Testing" ), nothing types into the field, even though the cursor …

Software Development vb.net
Member Avatar for alc6379
0
184
Member Avatar for hacks14

heres the script basically it sets (supposed to) Local area connection ipv4 static ip address to 10.XX.XX.2 but it dosent work it works fine if you run cmd as addy and put the script in netsh interface ip set address "Local Area Connection" static 10.XX.XX.2 [code] Dim txtlen As Integer …

Software Development vb.net
Member Avatar for alc6379
0
295
Member Avatar for programmer321

[code] Can any one guie me how to find yesterday's date (taking care of the leap years as well)in the format yymmdd using a shell script. Regards. [/code]

Software Development shell-scripting
Member Avatar for cfajohnson
0
3K
Member Avatar for modesto916

Hi everybody, here i am again ¬¬, I am doing an exercise that ask me to write a program to calculate this constant: e = 1 + 1/1! + 1/2! + 1/3! ... The user need to input how much the program must calculate. I wrote this code, but i …

Software Development c++
Member Avatar for modesto916
0
175
Member Avatar for jharter

Hi, In an old thread, it was explained how to replace a value in an array element. However, it does not work for me. Running my VS 2008 debugger, I can see that all variables are set and accurate, but the Array.Replace does not work. Any ideas? Here's my code: …

Software Development
Member Avatar for alc6379
0
174
Member Avatar for aloha91

Hey guys, I am working on a program which allows me to create dance steps for a robot. I have 3 forms,namely movecategory.cs,arm.cs and head.cs. The movecategory.cs will have 2 buttons to access the other 2 forms arm.cs and head.cs. When I have chosen the direction of my head(e.g: 1), …

Software Development
Member Avatar for alc6379
0
127
Member Avatar for CLina

Hello everybody! I have to Questions to ask please: 1) How can I find the maximum value in a single linked-list recursively? this is what I tried to do: int findMax(int key){ Node max=head; while (max != null){ if (max < max.getKey()) return(max.getNext()); } } it ends up to an …

Software Development java linked-list mathematics
Member Avatar for CLina
0
5K
Member Avatar for sravi.pearl

Hai, can any one please help me to converts array elements to a single string For Example : Myarray = ['Mac','Windows','vista'] Ouput should be like id='Mac,Windows,vista' Pleaseeeeeeeee help me............

Software Development python windows-vista
Member Avatar for TrustyTony
0
103
Member Avatar for Austinstig

I'm stuck. I currently have the following example file structure: X, Y, Z 0.000234E+04, 0.000244E+03, 0.000234E+04 0.000244E+03, 0.000234E+04, 0.000238E+05 0.000238E+05, 0.000244E+03, 0.000234E+04 I would like for the Scientific Notation to be converted to float or integer values: X, Y, Z 2.34, 0.244, 2.34 0.244, 2.34, 23.8 23.8, 0.244, 2.34 I …

Software Development dataset python
Member Avatar for Austinstig
0
178
Member Avatar for auburner

I'm a newbie to Python and after much googling to no avail I wanted to see if I could get some help here. I'm trying to come up with a script to take lines from a textfile and insert them into specific places in another file. Here's a simple example: …

Software Development python
Member Avatar for TrustyTony
0
89
Member Avatar for Cort3z

Hi! I am working on an program that basicly needs a large list. The program works fine untill i comletely fill up the "List<Object>" type. And no, it is not due to lack of ram. The program tries to add more than System.Int32.MaxValue ammount of objects. I have thought about …

Software Development c c# c++
Member Avatar for Cort3z
0
3K
Member Avatar for extemer

i want to known that i am starting to work on chip programming so i cant understand my first step.The programming language on which i used to work is java and still working.so my question is that can i use c# to program a chip please let me knwn.thanks in …

Software Development
Member Avatar for alc6379
0
132
Member Avatar for Smed

I'm looking for a simple way to modify a 2D list as shown below. Starting with a list such as this: 1,2,3 4,5,6 7,8,9 I want to create a list that looks like this: 1,2 4,5 7,8 1,3 4,6 7,9 Which is just the first and second column with the …

Software Development python
Member Avatar for Gribouillis
0
113
Member Avatar for arun_gan

I have this question that I've been trying to solve for the past hour but i've been getting it wrong, can someone help me? Question: Create a list of the odd numbers between 1 and n (include 1 as well as n -- if it's odd-- in the list). Associate …

Software Development python
Member Avatar for TrustyTony
0
2K
Member Avatar for coco24

The task is to be able to move the alien right, down, and left. So far all i can get the alien to do is move right and down. I need to get it to be able to move left. Can you help me please? import java.awt.Graphics; import java.awt.Image; /** …

Software Development java
Member Avatar for lee.j.baxter
0
410
Member Avatar for NathanMc

Hello. I'm running into a problem on an assignment I have for my C++ class. I've done similar things before with reading a file, but normally used a counter to know when to stop reading from a line and go on to the next, or code like this: [code] ifstream …

Software Development c++
Member Avatar for hag++
0
177
Member Avatar for burcin erek

test program, dont understand after calling function it goes two times destructor "-5" is it wrong ? [CODE]#include <cstdlib> #include <iostream> using namespace std; class calculation { public: calculation(); // constructor ~calculation(); // destructor. }; calculation::calculation() { cout << "5"<<endl; } calculation::~calculation() { cout <<"-5"<<endl; } calculation function_one(calculation addition); int …

Software Development c++
Member Avatar for burcin erek
0
100
Member Avatar for taylby

Hi; In need of some guidance. I have a form which has a list box upon it. with items in it. These items are dragged out of this and a custom control is added to the form. All this works fine. However a new requirement is that there should be …

Software Development
Member Avatar for Diamonddrake
0
290
Member Avatar for sciprog1

Hello Members, Can anyone recommend any easy-to-use and free Java Script IDEs? Thank you!! sciprog1

Software Development ide java
Member Avatar for apines
0
98
Member Avatar for dophine

Hi all, I don't quite understand the program print the following output. [CODE] class D { public: D(int j):i(j){printf("default %d\n", i);}; D(const D& d):i(d.i){printf("copy %d\n", i);}; private: int i; }; int main(int argc, char** argv) { D d = 2; D d1 = D(23); } [/CODE] output: default 2 default …

Software Development c++
Member Avatar for mike_2000_17
0
108
Member Avatar for henryford

Hey guys I have a study guide that I need some assistance with if possible. it is basically definitions. Classes={} Assume these statements are working with classes and objects: Attribute?property Instance Encapsulation Also I need to tell what this code does. I am not good with classes at all please …

Software Development oop python
Member Avatar for SgtMe
0
119
Member Avatar for knan

I have a list [CODE]x = ['abc','1','2','3','def','6','8','5','13','mcg','568','35469','6453'][/CODE] I want the output file in a dictionary as follows: [CODE]dict = {'abc':['1','2','3'],'def':['6','8','5','13'],'mcg':['568','35469','6453']}[/CODE] How can i do this?

Software Development python
Member Avatar for TrustyTony
0
223
Member Avatar for Nandomo

I need an explanation on how to use 2 dimensional arrays displaying names. And single dimensional arrays for displaying letter and number grades. I need to make a self input gradebook for my students and do not know how to function it. I want them to input their names and …

Software Development c++
Member Avatar for Nandomo
0
179
Member Avatar for ohsevenfiveoh

hey guys,been browsing this site for a few weeks,but this is my first post. As you might guess by my problem I'm a C++ noob. I'm tryin to make a program in which the user inputs an array of double, I then use bubble sort to to get it into …

Software Development c++ programming-construct
Member Avatar for Fbody
0
610
Member Avatar for coolkid1093

I am doing a c++ project on cows and bulls where the computer has to guess the number. I have a few questions.? I recently heard of the pigeon hole principle( i am not exactly sure about how to use it)and I am trying to use this to do my …

Software Development c++
Member Avatar for geethasree
0
121
Member Avatar for lochnessmonster

say i have a class which the user can make an object of by passing in 2 parameters. If the parameters entered are wrong how should i handle this? 1.) should i try to create the object,and then do the checking in the constructor? if the arguments are invalid then …

Software Development c++
Member Avatar for geethasree
0
117
Member Avatar for KellieD

Hi, Would be very grateful if someone could tell me how to start an array by getting the program to ask you how many values you want to enter (the maximum being 50) Thanks :)

Software Development c++
Member Avatar for KellieD
0
86
Member Avatar for hystaspes

What is the use of declarators in struct's definition? and what is a "tag declarator"? example from MSDN: [CODE] [template-spec] struct [ms-decl-spec] [tag [: base-list ]] { member-list } [declarators]; [struct] tag declarators; [/CODE]

Software Development c++
Member Avatar for hystaspes
0
283
Member Avatar for vedro-compota

Hello friends)) Prompt please analog of function (if it exists) TryStrToInt (Delphi) for C #. In advance thanks)

Software Development delphi
Member Avatar for vedro-compota
0
154
Member Avatar for selasedaniweb

I have a simple question and am hoping to gather lots of ideas. Am currently working on a project which consists of just one developer which is me, this project is supposed to be completed by January which is about 3 months from now and there aren't any budgets involved. …

Software Development
Member Avatar for Momerath
0
209
Member Avatar for kafro

I'm trying to build a Tkinter that counts how many times a letter appears in the entry box. I want it so I enter letters A,B, or C into the entry box, and when I click 'Count' it displays how many times each letter appears. I feel like I'm really …

Software Development python tkinter
Member Avatar for TrustyTony
0
1K
Member Avatar for Swedenrock

My project is to create a solitaire game with a different card deck. I have created four lists with three objecs in each off them and I would like to create 81 unique cards out off these objecs. colors = [blue, yellow, red] shapes = [triangel, circle, square] numbers = …

Software Development python
Member Avatar for Gribouillis
0
163
Member Avatar for s0ur

Hi Experts, I was wondering how to do the following: I have three strings that have five numbers assigned to them for instance, 'a' can equal 1, 2, 3; 'b' can only equal 4 and 'c' can only equal 5. some process happens and I get a result of an …

Software Development python
Member Avatar for s0ur
0
190
Member Avatar for ssubnel

Tell me if this makes sense structurally. I have a final this week and this homework will not be graded till after the final. I was just curious if I have as firm a grasp on this as I think I do. [CODE]public class account { private int id = …

Software Development java
Member Avatar for ssubnel
0
132
Member Avatar for The Road To Voi

So basically I want to login to FaceBook and check if I have any notifications. I haven't a clue how to check if I have notifications and I'm not very good at all with HTML so I'm not sure what I'm looking for in the page source to grab the …

Software Development c# social-media web-browser
Member Avatar for alc6379
0
379

The End.