132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for llemes4011

Hi, I'm on Christmas Break and am bored out of my mind so i decided that i wanted to write a program that generates a SOLVED Sudoku board, i.e., it has all the numbers filled in. I'm going to write a program later to turn it into an unsolved puzzle. …

Software Development java puzzle
Member Avatar for llemes4011
0
183
Member Avatar for jt_murphree

I am attempting to write assembly code for linux using nasm. I have an include file containing io functions that was originally written for windows using masm and I am trying to convert it. I have on procedure that I am having problems with. The procedure is supposed to recieve …

Software Development assembly
Member Avatar for jt_murphree
0
1K
Member Avatar for StarZ

This is an Assignment I have to do, I did everything but just don't know how to loop it. The part where it says "You need to pick a number from 1-3" I want it to loop even if the user entered a wrong key. Because right now, if the …

Software Development python
Member Avatar for StarZ
0
119
Member Avatar for PC_Nerd

Hi, Firstly Ill say that I'm a comlete newbie to perl, and this is more of an investigation question than a code one. I want to use perl for a CGI script- however I need the source code to be completely closed source - so that users cant decompile it …

Software Development perl
Member Avatar for PC_Nerd
0
1K
Member Avatar for randomFIRE

I am getting this error Exception in thread "main" java.lang.NoClassDefFoundError: TestApp (wrong name: Test/TestApp) which I have googled and tried suggestions, but it doesn't fix it. I have tried unsetting my CLASSPATH etc. and it doesn't work. The file TestApp.class IS in the directory that I am running the program …

Software Development java
Member Avatar for randomFIRE
0
353
Member Avatar for Dinomike1000

I'm writing an application with Directx 9. Where I start the application in full screen mode, the image fills to fullscreen and then immediately reverts into a regular window. There aren't any problems when I run the application in windowed mode from the start. I was wondering if anyone has …

Software Development c++
Member Avatar for Freaky_Chris
0
176
Member Avatar for thawk127

and I honestly have NO CLUE what I am doing. I have a hangman project that I have been working on for two weeks now. However this week, I have found myself completely outdone. I want to master this class so bad. I have maintained a 4.0 in all classed …

Software Development vb.net web-design
Member Avatar for thawk127
0
135
Member Avatar for joejo

how can i create a form with three different buttons displaying three different languages on them, so that when i click on a language button it changes the english expression "WELCOME TO THIS NEW FORM" on another form into the language button i clicked. so therefore there are two forms …

Software Development vb.net
Member Avatar for rapture
0
168
Member Avatar for peg110

Ok, Here is my issue. I have written a script that takes Weblog files that have been GZipped. Parses them outputs the required data to another file. GZipps that file and leaves the original in tact (Actually it unzips it, then rezips it). Anyway, it runs just fine on my …

Software Development open-source perl ubuntu
Member Avatar for KevinADC
0
207
Member Avatar for RabbitruN

Hi, I need some enlightenment with copying arrays in JAVA from some of ya seasoned lots. I have this 2d array , twoDarray[10][6] and another 1d array oneDarray[1,2,3,4,5,6]. I'd like to copy the 1d array into the 4th row of the 2d array.Suggestion please. Thnx in advance.

Software Development java
Member Avatar for RabbitruN
0
322
Member Avatar for ddanbe

I like to write a screen capture utility. Plan : have a master control form, let it make a second transparant form on wich a selection rect can be drawn, copy the screen under the rectangle to a Bitmap with Grapics.CopyFromScreen. Here is the essential code I have so far: …

Software Development
Member Avatar for ddanbe
0
94
Member Avatar for rajasekhar1242

hi, i wrote the following program on python IDE. but i got "no module MySQLdb" as import error. can u give me any sugg import MySQLdb # Create a connection object and create a cursor Con = MySQLdb.Connect(host="127.0.0.1", port=3306, user="rajasekhar", passwd="venkata" db="tst") Cursor = Con.cursor() # Make SQL string and …

Software Development ide mysql python
Member Avatar for nikhilvishnupv
0
457
Member Avatar for awo

Is there any class in java or a package that one can use to manage IP configuration. I mean i was planing to develop a cafe timing application that allows people to bring in there computer system and it will not allow the client system to browse when their time …

Software Development client-server java
Member Avatar for ~s.o.s~
0
364
Member Avatar for Egypt Pharaoh

Please I want to make Pascal's triangle in console application

Software Development pascal
Member Avatar for LizR
0
127
Member Avatar for Rejinacm

:( :S :sad: Help me people I need to convert strings in Python to other types such as unsigned and signed int 8 bits,unsigned and signed int 16 bits,unsigned and signed int 32 bits,unsigned and signed int 64 bits,double,float,string,unsigned and signed 8 bit,unsigned and signed 16 bit, unsigned and signed …

Software Development python
Member Avatar for sneekula
0
140
Member Avatar for thilinam

I would like to self study java programming. What would I do to successful my learnig give me an advise

Software Development java
Member Avatar for jbennet
0
149
Member Avatar for rajasekhar1242

hi everybody, i wan to develop web application by using python on mac os. i am trying to get a link between html and python code. can i give a link between them or not. if it is possible please send me your valuable suggeitions thank u

Software Development html-css python
Member Avatar for EAnder
0
201
Member Avatar for shankhs

Can anybody please tell me what are the pre-requisites to understand the suffix trees. I am learning suffix tree from this: [url]http://www.allisons.org/ll/AlgDS/Tree/Suffix/[/url] I am not very good at algorithms and I couldnt understand how suffix trees are made. Please help me!

Software Development c
Member Avatar for shankhs
0
100
Member Avatar for Agni

Hi Guys, I'm trying to create my own DBMS. For now i want to create a simple one where i can 'create' tables, 'insert' data and do a 'select' for all values(no where condition as of now). Very basic features. This is the first design/pseudo code that i have come …

Software Development c++
Member Avatar for ddanbe
0
125
Member Avatar for raija09

public class solve{ public static void main (String []args){ A cs = new A(); int first=34; int second=4; System.out.println("Sum:" + cs.add(first,second)); System.out.println("Difference:" + cs.subtract(first,second)); } } i got this code, unfortunately it refuses to run.. please help.. Something is wrong with "A", dnt know what it is...:(

Software Development java
Member Avatar for stephen84s
0
156
Member Avatar for Ragupathiyuva

Hi I am newbee to C Can anybody explain about int main(int argc,char* argv[]) Advance Thanks for helping

Software Development c
Member Avatar for Narue
0
388
Member Avatar for Bill Purkins

Hi, I am using Visual Basic 2008 Express Edition and published an application, and when I run the setup, it seems to install okay but when you run the program get an error message that the .sdf file is not found. I am using a Compact SQL database. I have …

Software Development vb.net visual-basic
Member Avatar for Teme64
0
195
Member Avatar for kritiohri

I have a combobx on the form and i enter the value in the combobox and then click save button and the values get stored in the sql table.but i want to display all the values in the drop down of the combobox what ever i enter during the run …

Software Development vb.net
Member Avatar for sierrainfo
0
142
Member Avatar for Manutebecker

[ICODE]//Deck Class #include<iostream> #include<stdlib.h> using namespace std; class Deck{ int Cards[51]; public: Deck(); void Display(); void Shuffle(); }; Deck::Deck(){ for(int n = 0; n < 52; n++){ Cards[n]=n; } } void Deck::Display(){ for(int n = 0; n < 52; n++){ cout << n+1 << ". " << Cards[rand()%51] <<endl; }} …

Software Development c++
Member Avatar for ArkM
0
265
Member Avatar for 4ukh

hi guys...! when i tried to insert the form's information into the database either the check box in the form is checked or not once this check box in the table appear as checked and second time unchecked... i don't know why that is happening...? please help out... thank you …

Software Development visual-basic
Member Avatar for Teme64
0
124
Member Avatar for sivak

i have one text box date of birth and submit button ..if i click that submit button the calender should open ...if we selevt any one of the date on that calender the date should display in dataof birth text box.. can anyone tell me the javascript code for this …

Software Development c# java javascript
Member Avatar for sivak
0
80
Member Avatar for k2k

Member is class consisted of member informaiton such as firstname, lastname, phone etc. would anyone please point out what this function gave me NullPointerException runtime error? I think I initialized everything. thanks [code] public static void read(Member box[], int count) { Scanner reader = null; try { reader = new …

Software Development java
Member Avatar for ~s.o.s~
0
71
Member Avatar for elvenstruggle

Hello, I'm new to Python and I'm using Pydev. I'm having a problem: I have several classes and several variables outside the classes. I want to change a variable outside the classes from within a class: e.g. [code]# Class [B]class name_change(object): [COLOR="Green"]"""Change a text variable outside this class"""[/COLOR] def name_change(self): …

Software Development python
Member Avatar for elvenstruggle
0
117
Member Avatar for TheBeast32

Hi, is there a socket library [B]besides WINSOCK[/B] that I can use with Dev-C++. I don't have a <sys\socket.h> include. Is there a devpak that I can get, or am I doomed to WINSOCK?

Software Development c++
Member Avatar for TheBeast32
0
97
Member Avatar for god_43

hello i am new to these boards and new to the language of c. i am trying to figure out this user input stuff....and i am about to kill myself! every time i think i have it...C throws me another road block. i am trying to create a menu based …

Software Development c
Member Avatar for dbmoyes
0
135
Member Avatar for Icebone1000

Hi, Im trying to write to specific points in a file, but the write() erases everything in the document..heres what im doing: the file: [CODE] mode 0 ; level 0 ; menu 1 ; [/CODE] the code: [CODE=C++] ofstream data_w_fil; data_w_fil.open("data.gsp"); data_w_fil.seekp(7); data_w_fil.write(mode, 1); data_w_fil.seekp(18); data_w_fil.write(level,1); data_w_fil.seekp(28); data_w_fil.write(menu, 1); [/CODE] …

Software Development c++ file-system
Member Avatar for Icebone1000
0
107
Member Avatar for na_atheeq

Hi, Could you please let me know how to convert object type to DataTime. You can refer the below code for more information internal object Value { set { DateTime dt = Convert.ToDateTime(value); this.SelectedDate = (dt == DateTime.MinValue)?null:dt.ToString("dd-MMM-yyyy"); } } value being passed to Value property is "19/12/2008 00:00:00". Regards, …

Software Development
Member Avatar for Ramy Mahrous
0
130
Member Avatar for tutti

this a quick question, does it make diffrernece, on which version of python you have, would it still run, most of the codes. for example, if you made code, in pythion version 3, and then you copied the code, in to an older versions, would it still run.

Software Development python
Member Avatar for sneekula
0
77
Member Avatar for shr2408

Is there a lib in python which allows automation of keyboard sequences (for want of a better expression 'keyboard emulation') I'm pretty new to python, so please be easy on me if it's a [B][I]really[/I][/B] daft question. :P Thanks.

Software Development python
Member Avatar for shr2408
0
368
Member Avatar for simone.marras

Hi there, I have a very simple code made of a main.c and a function defined in its own .c and .h files. Now, within the function I need to increase the size of an array according to the loop index in use. The problem comes when I allocate the …

Software Development c storage
Member Avatar for devnar
0
655
Member Avatar for declan12

hey every1! iv never posted on this site before but have view the site and have benifitted from the help given here. hope some1 can help me with this prob! Ok, i have 2 files, 1 which i want 2 contain arrays of words, and the other to contain the …

Software Development c
Member Avatar for Salem
0
769
Member Avatar for Bill Purkins

Hi, Using VB 2008 Express with Compact SQL .sdf database. I have a form that at form load fills the form with a single record as selected by double clicking row header on a datagrid. This works fine. But when I change a field and hit the save data button …

Software Development sql vb.net
Member Avatar for Bill Purkins
0
115
Member Avatar for mocasu

Hi All, I am trying to display a custom icon in my c# application. I have followed microsoft steps to add my icon but it is not being displayed. I am still getting the default icon. Any ideas? With a project selected in Solution Explorer, on the Project menu, click …

Software Development c# display
Member Avatar for ddanbe
0
102
Member Avatar for aniruddha_may92

Hello guys, I'm making a C++ project on periodic table.In that,i want to search for elements on the basis of their names in such a way that if i give an alphabet or more than 1 alphabets as the search value then all the elements starting from that letter should …

Software Development c++ ios
Member Avatar for William Hemsworth
0
104
Member Avatar for phuc_tran

There are many new standards in C++ 2009 , but I don't know where the document or website about this is! Please help!!!

Software Development c++
Member Avatar for phuc_tran
0
51
Member Avatar for samantha grace

hi, i am a newbie and have to write a rather complicated script. Assume that i have a variable called x and a C source code file say file1.c (this are the inputs of the script) and i need to find the names of all the functions in the C …

Software Development shell-scripting
Member Avatar for samantha grace
0
235
Member Avatar for linux

Would it be possible? Not exactly a typical sequencer, but something like this: I would record every note on my electric and acoustic guitar, bass, drums, and piano (essentially creating samples of each instrument that I own). Then export them to .wav and organize them by folder (/data/guitar/electric/string6fret1_F.wav). Then using …

Software Development vb.net visual-basic
Member Avatar for Salem
0
375
Member Avatar for tutti

i have balckjack code, which does not run, i need some ones help, with tellings, wht the problem is. i have higlighted part of the code,were it stops. below is the code. [CODE]from random import choice as rc rc=randomcards def total(hand): # aces in the hand aces = hand.count(11) # …

Software Development python
Member Avatar for tutti
0
113
Member Avatar for Stonehambey

Hi :) I have a problem. I have a class, called Sequence, which is a template. One of it's member variables is a vector or elements of type T. I would like to create a constructor which takes as it's argument an array of elements of type T and feeds …

Software Development c++
Member Avatar for Stonehambey
0
144
Member Avatar for TheBeast32

Hi, I'm using WinSock, and am making a function to receive data. How can I know when I have reached the end of the data that I'm receiving. Like, if I send "GET /" to [url]www.google.com[/url] on port 80, I should receive the HTML of the index page. But in …

Software Development c++
Member Avatar for Salem
0
91
Member Avatar for mrnutty

Hello all, I am just practicing on class. From what I have learned thus far (from the internet) I made a simple program that resembles picking a deck of cards. But my problem is that although it works. I cannot get it to generate different cards for each object. To …

Software Development c++
Member Avatar for Salem
0
116
Member Avatar for rad!anc3

hi. im trying to create a program in which the user inputs the character and the level. this would output to a triangle and an inverted triangle. i have already figured out the triangle but i cant seem to get the right output for the inverted triangle [CODE]#include <stdio.h> #include …

Software Development c
Member Avatar for rad!anc3
0
177
Member Avatar for Zetlin

Hi everyone I dont know if this question has already been answer but I really need help so bare with me. So here is my problem I just downloaded python 2.6 for windows however whenever i try to open the IDLE i get this message: IDLE can't bind TCP/IP port …

Software Development python windows-server
Member Avatar for mn_kthompson
0
366
Member Avatar for orwell84

I've been looking for tutorials on x86 assembly language, and most that I've found have been dated. One actually says that the Pentium IV is the newest Intel processor...Anyway, the things I'm wondering are: 1. Has x86 assembly changed much in 10 years due to the huge advances made in …

Software Development assembly operating-system
Member Avatar for Evenbit
0
152
Member Avatar for PhiberOptik

Hey folks, I have a question for you. I have 4 computers that use a particular program that requires a login. But i only have 2 accounts. I have a command that works via batch file that launches the program and logs in but i dont know how to specify …

Software Development
Member Avatar for PhiberOptik
0
140

The End.