199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lolaabbydawn128

Somebody help me build this program, its sort of challenging...Instructions say to store player's name, number and points scored by each player...Program should keep an array of 12 of these structures, each element is for a different player ona team...program should ask user to enter the data above for each …

Member Avatar for siddhant3s
0
134
Member Avatar for eyewirejets

How do you call a method from the main() from a module to print base class attributes. Objects are contained in a list. Module [CODE] def show_employee(self): print 'Employee Name: ', self.__employee_name print 'Employee Number: ', self.__employee_number [/CODE]

Member Avatar for eyewirejets
0
86
Member Avatar for super.mina

if i have this matrix 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 89261670696623633820136378418383684178734361726757 28112879812849979408065481931592621691275889832738 44274228917432520321923589422876796487670272189318 47451445736001306439091167216856844588711603153276 70386486105843025439939619828917593665686757934951 62176457141856560629502157223196586755079324193331 64906352462741904929101432445813822663347944758178 92575867718337217661963751590579239728245598838407 58203565325359399008402633568948830189458628227828 80181199384826282014278194139940567587151170094390 35398664372827112653829987240784473053190104293586 86515506006295864861532075273371959191420517255829 71693888707715466499115593487603532921714970056938 54370070576826684624621495650076471787294438377604 53282654108756828443191190634694037855217779295145 36123272525000296071075082563815656710885258350721 45876576172410976447339110607218265236877223636045 17423706905851860660448207621209813287860733969412 81142660418086830619328460811191061556940512689692 51934325451728388641918047049293215058642563049483 62467221648435076201727918039944693004732956340691 15732444386908125794514089057706229429197107928209 55037687525678773091862540744969844508330393682126 18336384825330154686196124348767681297534375946515 80386287592878490201521685554828717201219257766954 78182833757993103614740356856449095527097864797581 16726320100436897842553539920931837441497806860984 48403098129077791799088218795327364475675590848030 87086987551392711854517078544161852424320693150332 59959406895756536782107074926966537676326235447210 69793950679652694742597709739166693763042633987085 41052684708299085211399427365734116182760315001271 65378607361501080857009149939512557028198746004375 35829035317434717326932123578154982629742552737307 94953759765105305946966067683156574377167401875275 88902802571733229619176668713819931811048770190271 25267680276078003013678680992525463401061632866526 36270218540497705585629946580636237993140746255962 24074486908231174977792365466257246923322810917141 91430288197103288597806669760892938638285025333403 …

Member Avatar for siddhant3s
0
276
Member Avatar for lovely_girl1989

[url]http://www.picturebang.com/images/331323386942[/url] Hi to all, this the first post in the forum and i have some of questions need to be made in SQL Statements.. i tried to answer some of them and the other i don't how to make it.. so plz help me becauze i'm a new in SQL …

Member Avatar for Ramy Mahrous
0
143
Member Avatar for nhamyl

i wrote this program and i want display 0, if the character entered is not an alphabet (!@#$% 5 or any other non alphabet) can i have a quick solution #include <stdio.h> void main () { char char1,char2; printf("\tEnter first character :"); scanf("\t%c", &char1); printf("\tEnter second character :"); scanf("\n\t%c", &char2); …

Member Avatar for JameB
0
3K
Member Avatar for moiseszaragoza

i am trying to call a C# fonction or event from a JS object. i have this [code=asp.net] <script language="javascript" type="text/javascript"> function UpdPanelUpdate(){ __doPostBack("????",""); } </script> <a onmouseover="UpdPanelUpdate()"> mose over me </a> <asp:Button ID="ClientID" runat="server" Text="Press ME" onclick="ClientID_Click1" /> [/code] i know that [B]__doPostBack(" ","");[/B] will cause my page to …

Member Avatar for serkan sendur
0
496
Member Avatar for kelechi96

Ok so I want to create some code which can generate a random number from a 1. Music file 2. A microphone PLEASE is their anyway i can do this

Member Avatar for jephthah
0
456
Member Avatar for zyaday

I have many projects in a software. Although some files and classes are shared within these projects, there are classes used by most of these projects. How do i creat classes that can be shaed among different projects . Is there anything in java that can function the same as …

Member Avatar for kvprajapati
0
197
Member Avatar for mem81

Hi guys, I am experiencing a problem with a variable I declare. If I pass on a real value that the variable might contain code works ok , but if I leave the code to get the variable as decalred it doesn`t. What my code is doing is checking if …

Member Avatar for nexocentric
0
74
Member Avatar for TriceD

Hi all, I'm facing some difficulties with the [b]getchanges [/b]method of a datatable... In my program, I have a standalone datatable which I'm using as the datasource to a datagridview. When I make changes to the datagridview, and I use the [b]getchanges(DataRowState.Modified)[/b] method, I get [b]Nothing[/b] as the result, no …

Member Avatar for TriceD
0
2K
Member Avatar for edi843

My problem is a little strange. I have a clas let say classA. In the classA i have a method with tha name MethodA. I have anaother class called classB that derived from classA. I want to override methodA of classA, but not with the name methodA, but with a …

Member Avatar for edi843
0
90
Member Avatar for vijayvadlamaani

hi all, I am having 2 combo boxes in my jsp page. one is of country and the other one is state. when i select the country value all the states of that country need to come in statecombo from database. any ideas please share with me.

Member Avatar for vijayvadlamaani
0
68
Member Avatar for brunope

Hello everyone, I encountered a problem for using the preg_replace method in a text which content a price formatted as $123.45. [CODE]<?php $xRegex = '#{params:.+?}#s'; $sPrice = "$123.45"; $sContent = "Price is {params:xxx}."; echo preg_replace( $xRegex, $sPrice, $sContent, 1 ); ?> [/CODE] When i'm doing this, I got : [I][B]Price …

Member Avatar for almostbob
0
123
Member Avatar for sivak

if we use virtual keyword in base class but not using override keyword in derived class what will happen?

Member Avatar for tnind
0
61
Member Avatar for ammenme

hi please can some1 help me out with this project,this is the project write a program to process a set of student marks. Each line of the input file follows this format: a name (which may be considered as a unique key for the purpose of this assignment) followed by …

Member Avatar for Helma
0
196
Member Avatar for drfcool

Basically i'm creating a software to calculate the shorting distance between two graphs. I use dictionarys to organize this information I sort the path's as keys , each key has different paths according to the given inputs through the command: PrintByDistance. The inputs are made through the command: `insert:company:City1:City2:Distance` Company …

Member Avatar for faniryharijaona
0
358
Member Avatar for srpa01red

Currently connected to remote server but remote configuration is not yet possible this is msg shown when trying to connect remotely to a database what does it means

Member Avatar for varmadba
0
89
Member Avatar for blondie.simon

When I install my application I would like a shortcut to be added to the desktop. How can i do this? I am running Visual Studio 2005 Standard Edition Thanks Simon

Member Avatar for kishorrana
0
122
Member Avatar for marco01

Hi Everyone, Days that I'm on that problem. I have to calculate a substitution score. Below my code: [code] public void calcSubstitutionScore() { substitutionScore = (average + examMark) /2; } [/code] I previously created the method average, and I try to add to it examMark divide by two, which is …

Member Avatar for marco01
0
105
Member Avatar for Dia.A

I have completed an OOP course using C++ and each student has been asked to do an end term project, so that they make use of all things that was learned, like ( operator oveloading, inheritance , polymorphisms, files, templates) and every thing that can support the project. I want …

Member Avatar for tux4life
0
300
Member Avatar for santhanalakshmi

Hi, I had a login page to enter the username and password named as [B]"index.php"[/B]. when i entered to that [B]index.php [/B]page,my mouse focus should be pointed at the username textbox.... please help me...........

Member Avatar for santhanalakshmi
0
74
Member Avatar for benatschool

Hi, I am working on a Java assignment of developing a University diploma program as follows: uni-diploma (one-to-many) diploma-module(one-many) module-lectures(one-many) lecture-student(many-many) class [I]uni[/I] contains TreeSet diploma all set and get methods for adding each new diploma in the set and association to class diploma. class [I]diploma[/I] contains TreeMap module all …

Member Avatar for javaAddict
0
117
Member Avatar for arunasingh

sir i am developing application in windows so i want that when i serach data that data then that data is dislpayed indatagridview when i am doing that thecvdata is displayed but there is one blank row created in gridview below that row:means that suppose in first row of gridview …

Member Avatar for arunasingh
0
101
Member Avatar for anujsharma

Hi, Am anuj joined community today itsel.I have written a code which generates alpha numeric charaters and stores it in(file1).Then read the generated stuff 4 characters in file(by reading from file1)and appending "-" after 4 characters until "$" is encountered.I am getting an extra "-" in the file please tell …

Member Avatar for jephthah
0
448
Member Avatar for Undermine

Hello i'm rather new to Python and I was wondering how I could do a menu to prompt the user to choose a number and execute a certain part of code based on his choice. For example: please choose an option 1) 2) 3) then based on users input, it …

Member Avatar for Gribouillis
0
124
Member Avatar for bas_brain

hi, i am a newbie in mysql and i have some questions about performance tuning. 1-) in a system where you have to store information about a user, such as, user_name, id, last_log, is it better to store all the information needed in one table (lets assume 30 fields in …

Member Avatar for Shanti C
0
137
Member Avatar for kings

hi i am trying a job portal.when the paste's the job description the data is not formated.all the paragraphs,align is getting changes can anyone tell any method..so that the data comes as it was pasted when it is retrieved from db

Member Avatar for kings
0
132
Member Avatar for Aamit

Hi.. I am using downloaded code from google it create frame when we upload image. i am modified that code .. I want like when uploaded new image 1> previous image is deleted or new image is overload on previous image in Same frame but problem is when new image …

Member Avatar for danishbacker
0
174
Member Avatar for grisha83

Hello,I have a user input and trying to write a precondition that will give an error if the user inputs number or some other odd character (except ' and .) I am thinking of writing and if statement that if my search method finds anything like that it will prompt …

Member Avatar for grisha83
0
82
Member Avatar for upstream

:idea: hi all. Here's my set-up: Server 1: SQL Server 2005 Database Server 2: Public Web Application using ASP.NET VB and IIS6 my newly published website is succesfully running! ~ but after a few minutes (or in some instances)..my application is stopping from responding, it only shows the hourglass cursor, …

Member Avatar for mail2saion
0
189
Member Avatar for AON07

what i have so far is data coming from a text box, the user also can select which tables they would like to insert that data into, (up to 4 seperate tables). after its submitted the code checks if the record exists, if not it inserts the data into the …

Member Avatar for nav33n
0
107
Member Avatar for DotA

I'm learning GUI, can anyone show me how to display an image on a panel. So far I have this: [code=java] import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; import javax.swing.*; import java.applet.*; public class JlabelDemo { public static void main(String[] args) { // create an image icon, …

Member Avatar for VernonDozier
0
135
Member Avatar for puk

Hi, The problem i'm having is that the data that i want to appear on the file doesnt apear fully. I want the full results of the program to be saved to a doc file but i only get the next number in the sequence. Here is my code # …

Member Avatar for BestJewSinceJC
0
100
Member Avatar for pt_solar

I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebody could help me build it... Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test …

Member Avatar for VernonDozier
0
233
Member Avatar for danishbacker

[code] <?php $fileName = basename( $_FILES['fileName']['name']); //count current total files $dir_path = "snaps/"; $count = count(glob($dir_path . "*")); $newFileName = $count . ".jpg"; $target_path = "snaps/" . $newFileName; [COLOR="Red"]if(move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path))[/COLOR] { echo "<br/>Success"; else{ echo "<br />Failed"; } ?> [/code] The above works in my unix like server (Linux server.nixism.com …

Member Avatar for danishbacker
0
378
Member Avatar for billsmith7

I have started a code to declare what I need...now I need to input the information from a file each line is a song with a space inbetween... Then after I get the data I have to be able to seach by artist or title...and output matches PLEASE help... this …

Member Avatar for billsmith7
0
130
Member Avatar for Tank50

Hi Once I wrote below coding it give error meassage.Error meassage is "Member not found".I wrote red color that show the error meassage is occur. [CODE] Microsoft.Office.Interop.Excel.Application xl = new Microsoft.Office.Interop.Excel.Application(); Excel.Workbook xlWorkBook = (Excel.Workbook)xl.Workbooks.Open("D:\\Test\\VOIP_X.xls", 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0); [COLOR="red"] …

Member Avatar for Tank50
0
107
Member Avatar for danishbacker

I need to make a family tree. But i don't know how to make make it. I asked someone and done some searching in Google. I found three ways as follows 1. Using Database (foreign key to represent relation ship) 2. Using XML to store the data. 3. Using binary …

Member Avatar for danishbacker
0
1K
Member Avatar for Phil++

Hey, am trying to create an application that displays a text box and a submit button, so that the user can type text into the text box, click submit and it saves it into a txt file. Could you help me please? Thanks in advanced

Member Avatar for John A
0
192
Member Avatar for Joe Hart

Hi This is my second post. I am new to python. I hope I have posted my code correctly. I am trying to have Python rewrite the compare.asc file. This file is used with another program called MUST. This is a transmission line program. This program is suppose to compare …

Member Avatar for jlm699
0
432
Member Avatar for lkool

Having a problem with ASP.NET on Vista Business 32 bit. This is s a development machine. I have tested websites using the "View In Browser" and Debug options from Visual Studio 2008 and they load without a problem. But when I try to run a site from localhost i get …

Member Avatar for Ronald.Mundell
0
315
Member Avatar for Dio1080

Hello, BTW the program compiles. Im trying to change a quick sort program so that it picks a median of three for the pivot instead of the first low number. My code is not running right, can somebody help me out. thanks [code=java] public class QuickSort{ public static void main(String …

Member Avatar for BestJewSinceJC
0
936
Member Avatar for dongtrien

In operation system windows have got function Addfont for windows, windows will copy file font into fonts windows directory (C:\windows\fonts) after windows will register file font into registry of windows. I want to find this command in VB6.0. Do you know this command ? help me ?

Member Avatar for cguan_77
0
115
Member Avatar for rpbatni

Hi, At one of our clients’ place, we are facing a problem where the variable errno is set to EPIPE and signal SIGPIPE is generated… We have two servers communicating with each other through sockets and the error we are getting is explained below The writer process seems to have …

Member Avatar for rpbatni
0
91
Member Avatar for u8sand

Hello all. Haven't asked a question here in a while. Anyway, i am working on a game. I made the graphics class and now am working on a camera. I thought of making it so the camera would have a reference of the main world variable. So i tried doing …

Member Avatar for Ancient Dragon
0
363
Member Avatar for gretty

Hi I am making a roman numeral to decimal converter, I have the decimal to roman numeral converter but I am having trouble doing it from roman to decimal. How do you pull a string apart letter by letter; eg VXI, into 3 variables a= V, b= X, c= I. …

Member Avatar for nexocentric
0
163
Member Avatar for jpjpjpjpjp

Hi, I have an entity class which I would like to write from one machine to another using sockets. As each machine has a separate copy of the entity class (identical except for package declaration) a ClassCastException will be throw; it seems the only way I could do this is …

Member Avatar for kvprajapati
0
74
Member Avatar for yugho

Dear all, I'd like to write a Java program that could use functions in an existing VB.Net dll or exe. Is it possible to do that? I had actually searched for methods online, and it seems like there's JNI which could do that, but after reading the implementation I got …

Member Avatar for kvprajapati
0
108
Member Avatar for guest7

Hi, I have to use fscanf to read the numbers in a line. The line is in the file "FileName1" and may or may not have EOF. I am using the following code and it is stuck in an infinite loop. [ICODE] FILE *Fileget; vector<int> get_value; Fileget = fopen(FileName1, "r"); …

Member Avatar for guest7
0
130
Member Avatar for tnind

Hi, I am writing a game in which an object at a PointF travelling at a current velocity (Vector2) is trying to reach a destination PointF (which can change between movement steps) At each step of movement I need to decide the acceleration vector that will get to the point …

Member Avatar for tnind
0
194

The End.