132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for redmaverick

I am a bit familiar with java, but I am pretty ambitious and I want to build a simple book store. I need some suggestions and help. I can create a simple homepage using HTML which has links, navigation menu etc. on the homepage I am good at GUI programming. …

Software Development ecommerce gui java
Member Avatar for lelah
0
153
Member Avatar for th3learner

Hello I am doing calculation using comboxBox...But it is not doing correctly [code]a = int.Parse(textBox1.Text); b = int.Parse(textBox2.Text); if (comboBox1.Text == "*") { c = a * b; } textBox3.Text = c.ToString(); [/code] Any help here can point out where problem is ? Thanks

Software Development
Member Avatar for ddanbe
0
183
Member Avatar for nunchuckie

quick description: f(n)=n/2 if even f(n)=3*n+1 if odd with given start value it can step back and forth between the two eqtns. Example: f(7)=22, f(22)=11, f(11)=34, f(34)=17 You enter two start values. first and last start value and the program should generate all values in between. With a given max …

Software Development c++
Member Avatar for mrnutty
0
153
Member Avatar for lewashby

How do I get my python code to compile one line at a time so I can see exactly how the code works. If anyone knows how to do this with Wing IDE that would also be helpful. Thanks.

Software Development ide python
Member Avatar for Mathhax0r
0
79
Member Avatar for HiHe

Does anyone use Python on a Windows7 machine? What is your experience? Does it work well? I am thinking about getting a new computer and also start some Python programming.

Software Development python
Member Avatar for mn_kthompson
0
112
Member Avatar for Cmad

Iam currently working on the design of preemptive scheduler iln Borland C. I want to know about the use of interrupts and timers in Borland C for preempting the task. Just clue of upgrading about them is enough.

Software Development c
0
63
Member Avatar for anbuninja

can anyone tell me why my output gives me - numbers? [code] #include <iostream> #include<iomanip> using namespace std; void getEmployeeData(int [ ], char [ ], int [ ], int); void displayEmployeeInfo (int [ ], char [ ], float [ ], int); float calculateGrossPay (char [ ], int [ ], float …

Software Development c++
Member Avatar for jonsca
0
111
Member Avatar for turtlez

Hello, This is what i need: I have a php file on my website ([url]http://example_site.com/php_file.php[/url]) ((and no, that isn't the actual site)) And i have some C++ knowledge. Now how can i get C++ to send a variable (eg: name) to my php file. ((Client -> Server)) I have no …

Software Development c c# c++ client-server
Member Avatar for turtlez
0
116
Member Avatar for NotNull

Give me convience or give me death! The would-be programmer is introduced in some way to what could be compared to a CS101 course. He is taught about algorithms, variables, procedures, recursive functions, data structures and arrays. One of the fundamental steps for any program development is ease of program …

Software Development assembly data-science operating-system
Member Avatar for NotNull
0
148
Member Avatar for chunalt787

I am just starting with python and I am trying to write a program that interfaces with flickr. I am using the interface flickr.py found at the following link: [url]http://code.google.com/p/flickrpy/[/url] I am calling the following function: [CODE]myPhotos = myPhotoSets[0].getPhotos()[/CODE] The shell is telling me there is an error in this …

Software Development api google-api python
Member Avatar for Mathhax0r
0
152
Member Avatar for roby22

i have 3 text boxes a b and c i would like to enter time into the a and b and have c calculate the tot time in hrs and minutes between those two.

Software Development vb.net
Member Avatar for tonyfonseca
0
1K
Member Avatar for Dewey1040

So this is just the beginning of my questions, but I'm seriously having problems using classes in C++, I'm writing a program right now to plot points using asterisks on a 40 by 40 plain. right now I'm just trying to write the .h for the point class and i …

Software Development c++
Member Avatar for sfuo
0
143
Member Avatar for kryz

I'm confused with pointers. I'm not sure how to get the vowels to show up in Case A. Also, I would need help by how to get the program to run again after case A instead of ending the program after each case. Should it be in if/else statement instead …

Software Development c++ file-stream ios
Member Avatar for Clinton Portis
0
789
Member Avatar for OffbeatPatriot

I'm making a game and when it starts up I want the game to load a file in it's jar and set the display according to the contents of that file, I can do that just fine. But if the file doesn't exist(the first time the program runs) or something …

Software Development java
Member Avatar for OffbeatPatriot
0
81
Member Avatar for gangster88

how could i square the result of function?.. so when i call the functioon [code] def sum(first, last): for i in range(first, last+1): print i return i**2 [/code] it gives the answer as 50, as it should square 3,4 and 5=50

Software Development python
Member Avatar for masterofpuppets
0
129
Member Avatar for dieom

What I am trying to accomplish here is to split a long integer apart so I can look at its first, last, and center digits. What I am currently using is this: [code]int main() { long i, t[1024]; i = 100; while (i < 150) { t = i; // …

Software Development c
Member Avatar for Ancient Dragon
0
90
Member Avatar for dewdropz

hi, i am new to c have to write a program to check the shape. I think the error is somewhere at shape= square. I know i can use printf statements but i want it in this format. Can someone help me please? [code] #include <stdio.h> int main (void) { …

Software Development c
Member Avatar for Ancient Dragon
0
209
Member Avatar for gangster88

When the function is called count(3,5) then it should display 3,4 and 5.. but my function only seems to show 3 and 4 and not 5? def count(first,last): for i in range(first, last): print i

Software Development python
Member Avatar for Mathhax0r
0
139
Member Avatar for Tales

I built a Visual Studio 2008 VC++ project, dialog based using HTML. In my HTML I have: [CODE] <form name="loadExcel"> Choose the file which contains the information:<br /> <input type="file" name="myFile" value="Search" id="myFileInput" /><br /> <input type="button" class="Upload" name="loadExcel" title="Import" id="loadExcelButton" /> </form> [/CODE] The user is supposed to browse …

Software Development c++ html-css visual-studio xml
Member Avatar for Tales
0
272
Member Avatar for ffs82defxp

Trying to make a file that tests how many seconds it takes for python to use a while loop to count how many seconds 1000 loops takes. Not working, I don't know why. Every time I run this it outputs "('It took 0,0')"...The while loop didn't start. [CODE]import time import …

Software Development python
Member Avatar for woooee
0
107
Member Avatar for kangekraam

I am trying to print the corresponding Unicode character for alt+2 to the Windows console window. (the console doesn't display the character, but should display ^B instead) The following doesn't seem to work. Just prints "2". keybd_event(VK_MENU,0 ,0 , 0); //Alt Press Sleep(10); keybd_event(VK_NUMPAD2,0, 0 , 0); // 2 Press …

Software Development c++
Member Avatar for kangekraam
0
99
Member Avatar for VIPER5646

[QUOTE]Hi I need help to center a label with a form. I have tried with the following code but was unsuccessful. [/QUOTE] [CODE]Me.Width = 135 Me.Height = 38 Dim w As Integer = Me.Width / 2 Dim h As Integer = Me.Height / 2 Dim lblw As Integer = Me.lblnumber.Width …

Software Development vb.net
Member Avatar for VIPER5646
0
7K
Member Avatar for fallopiano

hi everyone. Say I have my project directorys set up like so: /glider /libs classes.py /graphics /rooms room images go here I'm trying to access a image from graphics/rooms, but from classes.py. I'm using pygame, and I know to go back a folder in a dir; you use: [CODE=python]# go …

Software Development python
Member Avatar for fallopiano
0
214
Member Avatar for bigmaq

So I am programming a heap sort and i am gettin pretty close to where i need to be, but I am having trouble in one of my functions when it heapifies my array. here is the code. [code] #include<iostream> using namespace std; class Heapsort { private: int *array; int …

Software Development c++
0
76
Member Avatar for alreem

hello Can u help me ? write an java program that outputs the following pattern. The program shuold prompt the user an odd number of lines (limit 1 to 11) . For example, if the user prompt the number of the lines is 9, then the output should be: + …

Software Development java
Member Avatar for VernonDozier
0
129
Member Avatar for chromatinpt

Hello! I have one main form (parent) which contains others child forms. The first child form is a login form, that after correct autentication opens another child form. Depending on the user (operator or supervisor) some items of menustrip in form Parent should be available or not. The supervisor will …

Software Development
Member Avatar for DdoubleD
0
591
Member Avatar for dchunt

Is there any language or way to write a program that is about 10000 lines in such a way that it can't be re-engineered by decompiling it ? What options are available to pursue ? Thank you for your time..

Software Development c++
Member Avatar for kolosick.m188
0
108
Member Avatar for scriptkiddy

I am having trouble with the following script: [code] .386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib ;adding all my libs .data nsv db "APPDATA", 0 ;i want to use this in getenv(); fnsv db 260 dUP(0) ; char fnsv[260]; ffn db …

Software Development assembly
Member Avatar for scriptkiddy
0
218
Member Avatar for zephy2

Hello everyone, I have used the Vector2 Class which is implemented by my asst. , and I encountered a problem with initializing it. VS2008 kept saying I violate 0xC0000005 Error, and I counldn't find any reason for this. Is there anyone who can tell me what mistakes I have made? …

Software Development c++
Member Avatar for twomers
0
486
Member Avatar for pizte

Hello, I'm having trouble making a little parser for the eix program (a gentoo portage search tool) I need to delete (or not write) the last lines of the output (overlays and total packages), they will start always like '[n]' where n is the number of the overlay and the …

Software Development file-system python
Member Avatar for pizte
0
149
Member Avatar for royael

I am a beginner in C#. I want to develop a software which will work through Ethernet. I know something about "Serial Port". But I know little about Networking. So I want some software[free] which will create Virtual serial port to both end of the Network and will redirect the …

Software Development
Member Avatar for royael
0
64
Member Avatar for Jalwes

Hi all, I'm having a heck of a time with our latest assignment. I've tried everything I can possibly think if to make this work, but with no luck. We need to Load an inventory text file, sort it, search it(haven't even got to that portion of the code). I …

Software Development c++ ios
Member Avatar for Tales
0
142
Member Avatar for KidBuddha

okay the point of the program is to have the user select two points which would be the points that make up the base of the house, then they select a point inside the house that will serve as the center of a door, however if they click outside of …

Software Development gui python
Member Avatar for woooee
0
114
Member Avatar for kenji

Hi, I'm having a rather strange problem with the Java compiler. I'm trying to compile a simple hello world program and I can compile it perfectly within NetBean but when I try to use the commandline javac command I get a error. The error says the there is something wrong …

Software Development java
Member Avatar for JamesCherrill
0
98
Member Avatar for ab00120

Hi there, I am trying to make a program, as shown below. I have used a snippet with hello and bye as the program is really very big. Unfortunately I am unable to edit these functions as they are all part of a complex linked list. I am trying to …

Software Development c++ linked-list
Member Avatar for jonsca
0
96
Member Avatar for saikeraku

for example if i wanted to add a list to another list, like: a = [a,b,c] b = [1,2,3] my code: [code] def add(a, b): a = a.append(b) [/code] it would output ['a', 'b', 'c', [1, 2, 3]] what do i have to change to make it output ['a', 'b', …

Software Development python
Member Avatar for saikeraku
0
92
Member Avatar for sneek

Hi, I read that e.g. PyTupe_SetItem() steals a reference to the given object but I didn't get what that mean to me and why doesn't PyDict_SetItem() do it either? Jonny

Software Development python
Member Avatar for sneek
0
418
Member Avatar for snakay

Hi, I'm having exception on this line, when some of the textboxes do not have value in [code] if (Convert.ToInt32(LeaveDay.Text) + Convert.ToInt32(SickDay.Text) + Convert.ToInt32(WorkDay.Text) > limitDay) [/code] appreciate any help thanks snky

Software Development
Member Avatar for snakay
0
123
Member Avatar for ankit_the_hawk

Hello every1 I was making this program of a phone directory to store contacts and all their information in C. I made use of structure and then copied the data of the structure to a file. the structure is [code] struct phdata { char name[20],add[20]; int phno; }ph[20]; [/code] the …

Software Development c++ data-structure file-system
Member Avatar for aqtel003
0
220
Member Avatar for SDPRIYA

i have downloaded mhah library and i tried to include it in turbo c++ i copied the folder to the turbo c++ when i tried to run the c files in the library i found 5 errors cant able to include mutils/mincludes.h... mutils/mtypes.h... mutils/global.h... mutils/mhash.h... libdefs.h mutils folder is found …

Software Development c++
Member Avatar for Ancient Dragon
0
336
Member Avatar for Iam3R

Hi , this one is with respect to C. (i) when we use array an array index always starts from zero . is it a standard one? or compilers are implemented that way? if compilers are implented that way they must have followed some standard. (ii) the array name cannot …

Software Development c
Member Avatar for Iam3R
0
89
Member Avatar for TheManual

My connect4 game works fine, but after a user wins the program exits and prints a few tracebacks. Is it possible to not print any tracebacks and just exit a program smoothly?

Software Development python
Member Avatar for TheManual
0
235
Member Avatar for FanatiK

Hi, my name is Jonathan. I am 20 years old and I have just started getting into programming in the C++ language (you must get this alot). I do know a couple of programming languages already. Now before I waste your time let me just say that there is no …

Software Development c++ operating-system
Member Avatar for FanatiK
0
99
Member Avatar for pkuchaliya

hi to all, I have design a Application that takes input from the Web cam or other video devices. and have to add some frames in the Live video and then display. i have study out the direct sdk , which provide the flexible enviornment. but i dont get the …

Software Development c c# c++ video web-design
Member Avatar for pkuchaliya
0
184
Member Avatar for pymatio

I'm creating a media player with Qt & the phonon module: [CODE] #include "mainwindow.h" #include "ui_mainwindow.h" #include <fstream> #include <string.h> #include <stdlib.h> #include <QtGui> void MainWindow::slotFinished(){ int index = sources.indexOf(mediaObject->currentSource()) + 1; mediaObject->enqueue(sources.at(index)); setLabelNowPlaying(); } std::string ExtractFilename( const std::string& path ) { return path.substr( path.find_last_of( '/' ) +1 ); } …

Software Development c++ open-source qt session
0
151
Member Avatar for sathya8819

I am trying to implement the Kuwahara Filter in C#. I think my code is right, but I am not getting an exact output. Can someone help me with where I am going wrong? [CODE] unsafe { try { Bitmap b1 = (Bitmap)pictureBox1.Image.Clone(); Bitmap b2 = new Bitmap(b1.Width, b1.Height); BitmapData …

Software Development
Member Avatar for Geekitygeek
0
473
Member Avatar for cute.sridhar

There is any java Language Translation API. If so means, please indicate that API.

Software Development api java
Member Avatar for cute.sridhar
0
90
Member Avatar for adonweb

Where should i store MS Access database after publishing my VB.NET Application. Database in bin folder before deployment. I am using connection string. Thanks

Software Development publishing vb.net
Member Avatar for adonweb
0
86
Member Avatar for pspwxp fan

According the exercise, which makes us practice with vectors, i am supposed to write a program that allows the user to enter his/her favorite games, view them and remove any he likes. Obviously, to remove a piece of text, it has to be of the same case as the one …

Software Development algorithm c++
Member Avatar for pspwxp fan
0
113
Member Avatar for Mattpd

If I run the program, and select q, it will quit correctly. If I select e it goes to the edit menu [B]but prints it twice[/B]. If I then select q it goes to the main menu [B]and prints the default case, "please select from menu", then prints the main …

Software Development c
Member Avatar for kvprajapati
0
115

The End.