132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ELHEK

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 – …

Software Development java oop
Member Avatar for DeepZ
0
222
Member Avatar for girish_sahani

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
Member Avatar for girish_sahani
0
250
Member Avatar for achala

hello, can some one pls tell me if we can ignore strings in a sentence in c++?? Eg: hello , how are you? am fine , how are you? when will you get to the party? If this is a mail then how do i ignore the word "you" in …

Software Development c++
Member Avatar for SpS
0
102
Member Avatar for phovasia

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
Member Avatar for phovasia
0
92
Member Avatar for mmiikkee12

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
Member Avatar for Salem
0
147
Member Avatar for grautu

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++
Member Avatar for grautu
0
199
Member Avatar for Sulley's Boo

How can i load a flash file (.swf) to a webform :?: :?: .. Plz help .. Thanks!

Software Development flash vb.net
Member Avatar for Sulley's Boo
0
157
Member Avatar for Omher

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++
Member Avatar for WolfPack
0
228
Member Avatar for Blujacker

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
Member Avatar for Blujacker
0
124
Member Avatar for takayuki

: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++
Member Avatar for SpS
0
120
Member Avatar for Yustme

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 …

Software Development google xml
Member Avatar for Yustme
0
668
Member Avatar for johnray31

hello friends could anybody give me idea how i can find a loop in simple linked list

Software Development c linked-list
Member Avatar for dude543
0
165
Member Avatar for blurstudent

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
Member Avatar for blurstudent
0
216
Member Avatar for agarunk

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
Member Avatar for Ancient Dragon
0
175
Member Avatar for yuzhang

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++
Member Avatar for Ancient Dragon
0
168
Member Avatar for girish_sahani

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
Member Avatar for bumsfeld
0
86
Member Avatar for vissor3

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++
Member Avatar for WolfPack
0
259
Member Avatar for yuzhang

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

Software Development c++ legal
Member Avatar for Ancient Dragon
0
100
Member Avatar for mexicanwitewash

I use textpad and i can use java but i cant use the javac

Software Development java
Member Avatar for pty
0
383
Member Avatar for CStallion

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++
Member Avatar for SpS
0
448
Member Avatar for neeludhiman

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 …

Software Development c xml
Member Avatar for iamthwee
0
313
Member Avatar for debugger

Hi there, could someone please help me debug this code. I need it to perform the following tasks 1. Ask the user for the number of cars he or she owns. 2. Create a class to represent a car, and then declare an array of cars. 3. Ask the user …

Software Development c++
Member Avatar for iamthwee
0
214
Member Avatar for ejai

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
Member Avatar for ejai
0
116
Member Avatar for blurstudent

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 …

Software Development html-css java
Member Avatar for blurstudent
0
243
Member Avatar for girish_sahani

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
Member Avatar for girish_sahani
0
212
Member Avatar for protos1

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
Member Avatar for plazmo
0
399
Member Avatar for yuzhang

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
Member Avatar for Dave Sinkula
0
136
Member Avatar for girish_sahani

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
Member Avatar for girish_sahani
0
127
Member Avatar for Dazpenn

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
Member Avatar for Comatose
0
165
Member Avatar for mhm_ra

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++
Member Avatar for Dave Sinkula
0
269
Member Avatar for Captain Haddock

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
Member Avatar for Captain Haddock
0
118
Member Avatar for type-r

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

Software Development c email
Member Avatar for Dave Sinkula
0
58
Member Avatar for INI

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
0
69
Member Avatar for arrogant

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
Member Avatar for iamthwee
0
265
Member Avatar for oceanboi

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
Member Avatar for oceanboi
0
103
Member Avatar for blurstudent

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 …

Software Development html-css java
Member Avatar for blurstudent
0
159
Member Avatar for complete

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++
Member Avatar for dubeyprateek
0
442
Member Avatar for computerpros

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
Member Avatar for computerpros
0
248
Member Avatar for grindit

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> …

Software Development c++ puzzle
Member Avatar for SpS
0
216
Member Avatar for Toulinwoek

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
Member Avatar for campkev
0
113
Member Avatar for brounemmanuel

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 …

Software Development gui perl
Member Avatar for KevinADC
0
145
Member Avatar for DATABASE

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
Member Avatar for DATABASE
0
327
Member Avatar for ontrix

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++
Member Avatar for Ancient Dragon
0
398
Member Avatar for gampalu

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++
Member Avatar for Dave Sinkula
0
131
Member Avatar for mhm_ra

i need to write the value of a pointer into file then read it can you help me thanx

Software Development c
Member Avatar for Ancient Dragon
0
148
Member Avatar for Joncamp

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
Member Avatar for Dave Sinkula
0
163
Member Avatar for lchamarthi

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
Member Avatar for Ancient Dragon
0
207
Member Avatar for jazzz

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++
Member Avatar for iamthwee
0
2K
Member Avatar for gladiator1919

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
Member Avatar for Dave Sinkula
0
219
Member Avatar for yuzhang

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
Member Avatar for ivanCeras
0
99

The End.