132,726 Archived Topics
Remove Filter ![]() | |
Hey there guys I'm new to java OOP and im not very good at it at all. I have a uni assignment due in soon which i mostly completed but I'am stuck on this questions which ask us to make a guessword game. this is the problem Problem 3 – … | |
I need to map one list onto another.l1 is a list of lists of lists and l2 is a list of numbers.I want elements of l1 to be the keys and elements of l2 as the values.I tried to convert l1 into a tuple and then mapping but it doesnt … Software Development python | |
Below is a piece of code given me for debugging. I have made a number of changes (noted in code) but still recieve a compile error. Any thoughts will be much appreciated. My changes- this was Debug d = new Debug(); this was public method2() [code] // this class should … Software Development java | |
First let me point out that this is not homework, it's just something I'm doing because I'm bored ;-) I'm trying to get my little hobby operating system to read from the hard disk. So far all I can get is the byte FF (255). I've tested this in both … Software Development c ide operating-system | |
Hi! HERE IS MY PROBLEM ============== I'm interested in a function that opens for editing, then saves and closes in turn all the files in C:\DIRECTORY\ WHY THAT PROBLEM ============= The C:\DIRECTORY\ contains text files *.txt whose content should undergo some changes (that pertains to ALL THE FILES IN C:\DIRECTORY\). … Software Development c++ | |
Hi to all, I'm new here, I start reading the forum and you have help me, now I heve the following problem, hope you can help me Thanks. Now my problem: I want to write a DLL that returns an Object I write a function in the DLL, that returns … Software Development c++ | |
I have an problem with Python, i am trying to create a game. I did mapeditor for this game. I create map by creating a lot of pictures, like 2000 or more. But if i want to create moore i get an RunTimeError:( [IMG]http://blujacker.wz.cz/omg!.PNG[/IMG] Software Development python | |
:sad: I have to submit the assignment tomorrow i got stuck in something looks silly the question is: parking garage charges a $2.00 miniumum fee to pack for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three … Software Development c++ | |
Hi, Im having a lil problem which i can't figure out myself.. I tried searching google, but i found nothing what might even help me the slightest bit.. I wanna compare 2 xml files with eachother. One xml file is standard on my pc and has the name pc.xml. the … | |
hello friends could anybody give me idea how i can find a loop in simple linked list Software Development c linked-list | |
Ok folks, sorry to keep asking questions in this forum, but i am just tidying up the nitty gritty issues in my program and i encountered many problems. :cry: my issue here is i can allow user to key in seat number for this booking program. For example, if there … Software Development java | |
hello all, I have to create a dll file which can be used in .NET thats why i have choosen ATL project to create dll file. Im developing dll(using VC++.NET 2005) which inturn uses Adobe XMP SDK API's. My basic intention is to use fewer API to ensure that everything … Software Development adobe api c++ email microsoft-access | |
Here is the problem: Since there was a change in the code skeleton I was given, I had to somewhat modify my already-written codes to suit that minor change. Vast majority of the codes were still the same, so created a file with the same name and copy-paste the codes … Software Development c++ | |
When i tried the following in python interpreter,i got a syntax error: [code] d = {[[['a': 1,'b': 2],['a': 4,'b': 3]][['a': 2,'c': 2],['a': 1,'c': 3]]] : 0.4} [/code] Pleeeez help :sad: Software Development python | |
i'm taking a computer programming class, and i was given a chalange to create a program in "C++" that would tell you if the number you entered was a Perfect number, being that the sum of all the factors of a number minus itself would = the original number. aka. … Software Development c++ | |
Hi all: The function malloc returns a void* pointer, and so I need to explicitly use type cast e.g.: (struct*)malloc(sizeof(Message_from_server)); I am wondering if it is a legal expression or at least, I should give it a tag name like (struct*message_from_server)malloc(sizeof(Message_from_server)); Thanks | |
I use textpad and i can use java but i cant use the javac Software Development java | |
I am having problems with a code that I would like to go something liek this [code] string array; int z = rand()%2; switch(z) { case 0: array = {"entry 1","entry 2",...,"entry n"}; break; case 1: array = {"entry A","entry B",...,"entry (letter)"}; break; } //then do stuff with array [/code] … Software Development c++ | |
Hi friends, I am working in C on Linux Fedora Core. I need you help regarding XML Parser in C. I want to convert an XML file into plaintext format. e.g; I have following contents in XML file : [code]<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE persons SYSTEM "http://mail.persistent.co.in/v1/addrbook.dtd"> <persons count="13"> <person … ![]() | |
I am working on an assignment that involves simulating a volley ball game and I have NO idea. Can anyone help. Here is the question Thanks Software Development python | |
Sorry to start a second thread. Now I have a big problem. :( [code] try { Runtime rt = Runtime.getRuntime(); Process p = rt.exec("C:/Program Files/Internet Explorer/iexplore.exe D:/Travel Agency/userguide/tutorial.htm"); } catch (Exception exe) { } } [/code] This works perfectly to bring up the tutorial.html using IE. But provided that my … | |
If i have a list (or list of lists) with elements of size k and i want to generate all higher level elements (of size k + 1) from it,what should i do??Any pointers would be of a great help I tried the following for lists...for list of lists i … Software Development python | |
Hi Has anyone dealt with this windows control ? I'm trying to get it to work so that the operator can select ANY folder, but it looks like you have to set a RootFolder property to one of several enumerated options, and if the folder that the user selects is … Software Development | |
Hi all: I am stuck in the middle of my programme, wishing you may help. I am writing a "quene" structure in C, and it will copy the content of a string received from a server and display it on the client monitor. Codes: [code]typedef struct Message_from_server message_from_server void sqInitialise() … Software Development c client-server | |
this doesnt work when the file is in the same directory as the .py file. [code] def get_colocations(filename): sentences = open(filename).read().split("\n") colocations = [] for sent in sentences: colocations.append(sent) return colocations def main(): get_colocations("colocations.txt") print "Colocations are",colocations [/code] Can anyone help???????? Software Development python | |
Please Help!! I am designing a program in vb6 that is to be linked up to databases in both access and excel. The problem is when I try to link up the database's using the data control I get the following message: "Couldn't find the installable ISAM". I am kinda … Software Development visual-basic | |
hi i need to r write binary(hexadecimal) values into a text file then read this data and manipulate it as a number :sad: Software Development c++ | |
Hi, I have developed an application in Excel 2002/XP to handle a spreadsheet.In order to make the execution faster I want to compile the VBA-code into mashinecode. The Software Development visual-basic | |
hello can sum1 help me with piping? ive been stuckon this question for almost a month. thanks. if u can help email me at <<email snipped>> and ill emailu the question. ur help would be appreciated.thanks | |
Good Morning All, I am trying to write a code that will allow me open up a powerpoint file and an adobe file in VB. I have checked the Microsoft Powerpoint library under "references". Please could anybody give me code that can do that? Thanks. Ini :-| Software Development adobe visual-basic | |
can u ppl help me in implementing trie........... i need complete data structure of trie...............and how to implement it???? Software Development c++ data-structure ![]() | |
Hi! I'm trying to teach myself VB.NET and having some troubles right now... please help me out :sad: I'm working with NorthWind database in MS SQL Server. I suppose I'm trying to populate tables into ListBoxes and the following highlighted lines are giving me an error (Value of type '1-dimensional … Software Development dataset sql vb.net windows-server | |
Can JMenuItem point to a HTML file that opens in IE? I want the jMenuItem (E.g: Tutorial Help) to point to tutorial.html on my computer. Couldn't find any information about it at all on the net. Can any kind souls out there help me? Your help is greatly appreciated. Thank … | |
What are some of the pluses and minuses of MFC? I think it is better to do a lot of things that are complicated without it. Any thoughts? Software Development c++ | |
Ok...I think this can be done in Java but I have no clue how. What I want is a small application for Windows XP that would make it so that if a user clicks shutdown (from the start menu or from the welcome page) it will as for the correct … Software Development java | |
hi im new to the forums and im stuck on a part of my code that i need to do for homework in the code below in my loadPuzzle function it seems to skip my cin.getline and i dont know why. [code] #include <cstdlib> #include <iostream> #include <fstream> #include <cstring> … | |
I'm developing a practice program that simply converts a temperature value from fahrenheit to celsius when the user enters an integer, selects a radio button and then clicks a button. I'm having trouble testing if the user has selected a radio button. In the click event method for the calculate … Software Development | |
Hello I am new in Perl and CGI. I want to write a program in perl that enables me to call executables, some of them maybe GUI. My starting point was to write a small program that would call an interface because this is on a local machine. Ultimately i … | |
Hi everybody :sad: need help plz how can i list items from a database into a CheckedListBox , using VB.Net and MS Access db ?? Software Development vb.net | |
Hi there im wondering how to use a time delay in my code. What i have done is searched through a saved file and picked out infomation the send it to the rs232 port. what i want to do is create a time delay of 100 micro seconds for every … Software Development c++ | |
I'm programming in C++ and I've been told that "printf" is faster than "cout", so since then I've been using "printf" instead of "cout". Do you recommend my option or not? thanks Software Development c++ | |
i need to write the value of a pointer into file then read it can you help me thanx Software Development c | |
I wrote a cgi-bin program to run with Apache/Linux. When I do a form-post operation from a web page to my cgi-bin program, the form fields are not passed to the cgi-bin program? The cgi-bin program runs ok and returns some html through stdout, but doesn't read any form fields … Software Development apache c++ first-post web-server | |
I would like to know the diffrence among loops (for,do while & while) used for flow control & sample usage & selection of loop based on the application.....as a newbie Also why integer is limited to -32767 TO +32767? Thanks & regards Lakshmi Software Development c | |
I need to sort a list of numbers Here is the sample input: code -> subcode -> brandcode ( each code has a subcode and each subcode has a brandcode) [code] 7366->65535->65535 7379->65535->65535 7379->65535->65535 7379->65535->65535 7366->65535->65535 7366->65535->65535 7379->65535->65535 7366->65535->65535 9113->65535->65535 7379->65535->65535 7315->5->65535 7314->65535->65535 7315->5->65535 7314->65535->65535 7379->65535->65535 7314->65535->65535 7314->65535->65535 7314->65535->65535 7311->65535->8 … Software Development c++ ![]() | |
plz i want your help. if i wrote a string and the user wanted to change a word in it. sample run: the sentence is; my name is gladiator what word do you change? gladiator to? gladiator1919 the new sentence is : my name is gladiator1919 Software Development c | |
Codes: #define MAX_BUFFER_SIZE 1000 int ch = 0, alpha [25] = {0}, buffer[MAX_BUFFER_SIZE] = {0} ,count = 0; .... while ((ch = (fgetc(stream)))!=EOF) { buffer [count] = ch; count++; } printf("%d", alpha [25]); ..... The problem is: alpha [25] contains buffer [0], (alpha[25] is supposed to be 0). which suggests … Software Development c |
The End.