132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for silvercats

IronPython (Python running on .NET) Jython (Python running on the Java Virtual Machine) PyPy (A fast python implementation with a JIT compiler) Stackless Python (Branch of CPython supporting microthreads) Do we have to write different codes for those different python implementations (aka compilers ,right?) http://python.org/download/ << If I download windows …

Software Development python
Member Avatar for Gribouillis
0
158
Member Avatar for singh.ranjeet

I want to develop an area converter program. In this program i used two combobox in which user can select value From and to Converting Area And two TextBox In one textbox user enter the value to convert and other textbox give the converting output. pls provide me the Coding …

Software Development c#
Member Avatar for TnTinMN
0
146
Member Avatar for linabeb

ermm...i want to make a dll using dev c++ can i simply make a dll files and call the dll using the windows application..normally(which i have been seen a lot in google).they make a dll files and make a console application.. so can i change the console application to windows …

Software Development c++
Member Avatar for linabeb
0
161
Member Avatar for silvercats
Member Avatar for silvercats
0
76
Member Avatar for HelloJarvis

Hey guys, I'm loading from a dictionary with a variable called "buffer". I'm trying to copy "buffer" in to another array word for word. For some reason, when I try using `strncpy()`, it yields a segfault. Here is my code (assuming "LETTERS" is 29: bool load(string filename) { // open …

Software Development c
Member Avatar for dx9_programmer
0
248
Member Avatar for squizzel

Ok so for extra credit in my software/hardware design class I have to locate duplicate entries in a defined string matrix. I am really close but having trouble. Case 3 is where I am trying to acomplish the goal. Any tips? My problem is that while it will print duplicates, …

Software Development c hardware-swap
Member Avatar for squizzel
0
171
Member Avatar for klharding2

Hello, this is a homework problem, but I can't find the problem with my program. My TA who is supposed to help me couldn't figure it out either. -.- First of all, I know there is a problem with the factorials. It only outputs the right answer up to n=6 …

Software Development c++
Member Avatar for klharding2
0
144
Member Avatar for bigredaltoid

Hi all - this is the code: package sodukupackage; import java.util.Scanner; import java.io.File; import java.io.FileNotFoundException; public class ReadSudokuValuesIntoArray { public static void main(String[] args){ int[][] sudoku = new int[9][9]; Scanner sc = null; try{ int i = 0, j = 0, count = 1; sc = new Scanner(new File("validsudoku.txt")); while …

Software Development java puzzle
Member Avatar for Taywin
0
379
Member Avatar for jontennyeah

i just add a form but when i try to run my project it is an error and saying "A startup form has not been specified" what will i do? thank you

Software Development vb.net
Member Avatar for jontennyeah
0
182
Member Avatar for mbh1992

#import libraries import random # #create empty list places = [] i = 0 # open file handle myfile = open ('places.csv') # Subsquentially read lines for line in myfile: row = line.strip().split(',') # first line of test if if i == 0: fields = row i = 1 else …

Software Development python
Member Avatar for mbh1992
0
851
Member Avatar for ShEeRMiLiTaNt

Hello, I need to write a program that simulates a copmuter lab (ie Login, Logout, etc). So the problem I am having a in the IsValidLab function. This functin is designed to go through the rows that I've allocated in my dynamic array and see if it the user inputed …

Software Development c++
Member Avatar for WaltP
0
157
Member Avatar for razekc

Hello: Using this post http://www.daniweb.com/software-development/vbnet/threads/358691/textbox-autocomplete-from-database (thks andeepparekh9) build a autocomplete. Now i need show the id of my seleccion on the autocomplete on another textbox. Some idea? Thanks Regards

Software Development vb.net
Member Avatar for razekc
0
181
Member Avatar for hotblink

Hi, newbie to python here, I just wanted to ask how I can compute the after tax price and displaying only up to 2 decimal places. Like 4.1895030939393 will display only 4.18 without it rounding. Here's what I've done so far Original_Price = float(input('Please input the before-tax price : ')) …

Software Development python
Member Avatar for TrustyTony
0
201
Member Avatar for Majestics

I have created a project in c#.net. At the time of implemenation it require framework and updations which become a headace, i want to remove this .net nature from my application. I mean to say i want to embed the dll libraries with the application so they become independent of …

Software Development asp.net
Member Avatar for jinus
0
132
Member Avatar for Bubbles26

Problem: Write a program that prompts the user to enter some number of 1, 2, 5, 10, 20, 50 and 100 dollar bills. Query the user separately for the number of each size dollar. I think I've completed the code pretty well but the last part of the question states: …

Software Development c++ visual-studio
Member Avatar for Bubbles26
0
196
Member Avatar for myliene

i have data in excel file from which i want to generate report card for students based on their performances in test held on certain dates.for it i need to write a vba program to depict it in a chart and the dates on which students did not aapear for …

Software Development visual-basic
Member Avatar for BitBlt
0
90
Member Avatar for angel06

Guys kindly check this code of mine. Supposed to be Text3.text once inserted into Table1 should give the total work hours but instead, it gives a date, not time. Private Sub Command1_Click() Dim Str1$, Str2$, Str3$, Str4$ Text2.Text = DateTime.DateDiff("n", Text1.Text, Label1.Text) Str1 = Text2.Text \ 60 Str2 = Text2.Text …

Software Development visual-basic
Member Avatar for BitBlt
0
123
Member Avatar for paoi00

I wish to save and retrieve image in access 2007. in our search module , if employee number typed, it could retrieve all information of the employee including the image saved in database(?) if this can be happen?

Software Development image vb.net
Member Avatar for Begginnerdev
0
207
Member Avatar for prem2

Hi team, Can any one say what is instance Method in java ? *Method Overriding Concept? Thank you, with Regards, Prem

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for minimee120

Here's what I have so far, I'm just having trouble writing the second part that will say that the string in the text file isn't there if the user enters a number thats not saved in the text file (data3.txt). Also how would I make it so that the program …

Software Development file-system java
Member Avatar for NormR1
0
2K
Member Avatar for ToneZ

Anyways, I'm having trouble with this Cash Register code. I've been working on it for a day now, and it still won't work. Any ideas? import java.util.*; import java.io.*; public class Cash { public static void main(String[] args) { Scanner console = new Scanner(System.in); int amountDue,amountPaid; double pennies,dollars,nickels,dimes,quarters; System.out.print("The amount …

Software Development java
Member Avatar for Taywin
0
318
Member Avatar for paoi00

how can i upload an image with the same size of the picturebox? can someone help me ? :)

Software Development image vb.net
Member Avatar for nmaillet
0
137
Member Avatar for timetraveller1992

I'm new to network programming. And I skimmed a few pages of beej programming guide and found some useful info but couldn't clear one doubt. We use bind to associate a sockaddr_in structure with the socket descriptor so that the kernel can send data to the network adapter and thereby …

Software Development c data-structure socket-programming
Member Avatar for timetraveller1992
0
148
Member Avatar for minimee120

My assignment was to create a Directory Lookup, that prompts the user for an input (inputting a number i.e. 5) and the program returns whether the input number is in the .txt file or not. Having some trouble, have re-edited my code numerous times already, but here's what I've amounted …

Software Development java
Member Avatar for Taywin
0
140
Member Avatar for paoi00

i have one table containing 2 columns namely Designation and Department. i want from choosing on DeptnameCB the DesEmpCB will display the corressponding designation to the department chosen. i have this code as of now. Dim strsql = "select * from DesignationEveryDepartment where Department = '" & DeptNameCB.Text & "'" …

Software Development vb.net
Member Avatar for paoi00
0
158
Member Avatar for sean.downes.96

Hello again, How do i do the code where i have a list box with certain names in. Also a textbox called Username. When someone enters the name into the textbox to get access to a form, how do i make it so it only allows the names from that …

Software Development vb.net
Member Avatar for sean.downes.96
0
140
Member Avatar for ali11

import java.util.Arrays; import java.util.List; import java.util.Random; class DynamicArrayOfInts { private int[] storage; private int size; private final int INITIAL_CAPACITY = 8; private final int GROW_FACTOR = 2; public DynamicArrayOfInts() { storage = new int[INITIAL_CAPACITY]; size = 0; } private void rangeCheck(int index){ if (index < 0 || index >= size) …

Software Development java storage
Member Avatar for Taywin
0
245
Member Avatar for Hemanth.Satkuri

Hi, I have a file uploaded in DB. Can i download it from Swing application. By Download I mean with options like Open,Save,Cancel and set the response type based on the file's extension. Thanks in Adv. :)

Software Development java java-swing
Member Avatar for NormR1
0
253
Member Avatar for kiwi101

In this assignment the user has to input a matrix and then the program has to show that matrix and the transpose of it. I've got that part running. My teacher added a tweak. Basically when the user inputs the matrix the program has to only ask the number of …

Software Development c
Member Avatar for deceptikon
0
170
Member Avatar for wanderevil

so i have to make a "Space invaders" like game (just a simple one though) but i dont know what codes should i use this is the code : void movingX() { int xcol = 1, xrow = 1; int ycol = 40, yrow = 24; int xbombcol = xcol, …

Software Development c
Member Avatar for deceptikon
0
164
Member Avatar for lulu79

Hi, How can i convert my column with timespan dataType (Eg: 04:04:45 ) to DateTime in HH:mm:ss format (Eg: 04:04:45)? Currently I can convert the column to datetime (Eg: 10/2/2012 4:04:45 AM) but I only want the time (Eg: 04:04:45 ). Can someone help me please...

Software Development vb.net
Member Avatar for brylle
0
9K
Member Avatar for hwoarang69

is there a compiler(software) for MIPS (Assembly Language) that let me write and run programs? for ex Java -> eclipse.

Software Development assembly
Member Avatar for nmaillet
0
105
Member Avatar for sapure

I admit it's a part of an assignment but I don't understand what the assignment require in this part. This program is supposed to read 10 numbers from the keyboard and then the application findMax will take one single command line argument. If you invoke findMax 1, it will print …

Software Development java
Member Avatar for sapure
0
316
Member Avatar for RickCJ7

I am working on a VS2010 Winform (not ASP web form). I have a copy of the local database on my computer. In this application, I have 3 forms in my application that need to connect to the same database, but different tables. Right now I am defining my connection …

Software Development sql
Member Avatar for ChrisHunter
0
166
Member Avatar for linabeb

ermm...this code i took from here >> http://tutplusplus.blogspot.com/2011/04/c-tutorial-create-dll-in-vc-20102008.html below is the code for the header file.. namespace nmspace { class myclass { public: static __declspec(dllexport) void Crap(); }; } my ques is.....if i have a more than one function that need to be call...soo i can i put it like …

Software Development c++
Member Avatar for linabeb
0
167
Member Avatar for RAPTOR88

Hey guys im in drastic need of help. Please fine below my code for the conversion of change in dollars and cents. The program has to convert the real number into 2 ints then output how much of each denomination to give. As is the code works fine for the …

Software Development c++
Member Avatar for WaltP
0
350
Member Avatar for on93

As a student of computing you have been talking to the owner of your local corner shop. Having found out you are a student of computing, the owner of the shop has been talking to you about how she manages the stock / inventory control in the shop. She believes …

Software Development
Member Avatar for happygeek
0
120
Member Avatar for compulove

I am writing a program that is a multi-form inventory program for a bookstore with data saved in a textbox. Here is what I need to do: * Write a menu-driven multiform inventory program for a bookstore with data saved in a text file. 1. Each record of the text …

Software Development visual-basic
Member Avatar for AndreRet
0
208
Member Avatar for Geowil

I decided that before I would actually write the code for my planned inventory system in a game I am writing I would test it out in a small project first to make sure I know what needs to be done and if I needed to change anything. So I …

Software Development c++ matrix-multiplication
0
110
Member Avatar for giancan

Dear friends, I create a script to extract coordinate from the exif of a number of images and create an excel file with thumbnail, latitude, longitude and other columns. I was wondering if there was an (easy) way to find the closest placename from geonames given lat and long. Thanks, …

Software Development python
Member Avatar for M.S.
0
221
Member Avatar for agentc0re

I am currently in an introductory c++ class and am working assignment that sorts data. We recently covered structs and I decided to use structs to approach the problem rather than create 3 arrays to hold the information from our data file. The trouble i'm having is when i'm trying …

Software Development c c++
Member Avatar for agentc0re
0
278
Member Avatar for binaryjc

Given 3 arrays,one accepting Strings the rest integers,lets say:A1[ ],A2[ ],A3[ ]. We get the difference of each element of A2[ ] and A3[ ] to a previously define values. take for example this code: //preference.c #include<stdio.h> #include<string.h> typedef char * string; //for STRINGS char name; int test; // number …

Software Development c
Member Avatar for WaltP
0
262
Member Avatar for kiwi101

Could someone PLEASE HELP ME!!! :( I need to write a program that reads an integer matrix A from standard input and outputs the input matrix and the transpose. The input matrix A is limited to have at most 10 rows and 10 columns. Given a matrix A has m …

Software Development c
Member Avatar for WaltP
0
156
Member Avatar for BoulderMen

I am trying to write a program to copy the contents of one stack to another. The following is the code that I came up with. It give me some syntax errors but I cannot seems to see any. Can anyone help ? //Defining what libraries should be included. #include …

Software Development c
Member Avatar for np complete
0
914
Member Avatar for Tanyael

Write a C program that models a phone recharging system in Guyana. There are two providers: GT&T and Digicel. Please ask the user to enter their telephone number and the amout of credits needed. The program should then determine whether the customer is Digicel or GT&T based on their telephone …

Software Development c++
Member Avatar for np complete
0
569
Member Avatar for jorgmen

Hello everybody... I have been using c++ for a while for console applications, but now I need to make a simulation of a soda factory, implementing multi-threading and GUI. I was using Dev c++ for console apps, and I tried to install some dev-packs for multi-threading and GUI development as …

Software Development c++ gui qt visual-studio
Member Avatar for np complete
0
153
Member Avatar for silvercats

I mean,let's say we write a console (windows) application to display a text. it woruld be console.write("whatever"); 1. do we have to use different compilers for both windows and linux?what are the names of them 2.is console.write a windows only code? even if we compiled for Linux, will it run …

Software Development c++ operating-system
Member Avatar for Ancient Dragon
0
279
Member Avatar for k22mac

I am taking an intro level java programming class and i am a little stuck at the moment. I'm trying to use a the replace method. My objecti with this program is to gather a phrase from the user and then have it print the same phrase with some characters …

Software Development java
Member Avatar for dimasalang
0
116
Member Avatar for anonymous213

code is at bottom i have to make the program below display lettergrade next to average and ask for the grades in a loop can anyuone help me please btw this is how im getting graded i will get a 70 if program ask the user for the number of …

Software Development c++
Member Avatar for triumphost
0
308
Member Avatar for HelloJarvis

Hey guys, I'm working with `strchr` and, for some reason, am getting a segfault. My program takes a string, iterates through the characters of that string, and adds a score to the "game" based on what letter the current character is. That sounds complicated, but my code will explain it: …

Software Development c
Member Avatar for HelloJarvis
0
1K

The End.