132,726 Archived Topics
Remove Filter ![]() | |
This is my first attempt at coding. I am completely frustrated and need any help you can give me. I am supposed to take the values in the main method and in the next 2 (these are the ones i am trying to write from scratch) make the values in … Software Development java | |
I want it to skip any lines read that throw an exception so I store the lines with errors in an ArrayList. But when it goes through when it gets an error, it will not skip the line and give same error and keep repeating. [code=java]/** * */ /** * … Software Development java | |
Hi, I have done some code to display a form with a treeview. The initial folder in the treeview is given in the Project Properties Settings. I did this with the help of some brilliants here in this site like LizR. [URL="http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml"]http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml[/URL] My intention is to allow the client or … Software Development xml | |
Hi! First, I want to say that this is not any type of school assignment. I'm in the IT field and looking to work on learning C++. I've been following the book from: [url]http://msdn.microsoft.com/en-us/beginner/cc305129.aspx[/url] and I'm now trying things on my own. The program which the code below compiles will … Software Development c++ | |
Attempting to scroll a simple background using pygame. This is proving to be near-impossible. It seems that once a surface is blitted anywhere, it WILL NOT blit into a new location. My two problem functions: [CODE] def loadMap(self): vid = _video._Video() self._bg = self._map.get_background().get_pyImage() self._fg = self._map.get_foreground().get_pyImage() vid.paint(self._bg,0,0) vid.paint(self._fg,0,0) def … | |
i wonder if i create an object from a class using new operator, and if i dont delete that object when i am finished using it, does it still remain in the memory after the program reaches the and of the main function? Thanks Software Development c++ | |
this is a project made by me but its issue function is not working well instead of modifying and changing the value of issue to 2 it is adding another book with issue 2 in the file can some one correct it // **library management** // // **library members can … Software Development c++ data-structure ios | |
Visual C (2008) is acting as if I never included a header file (wave.h) that I am using, but the #include statement is definitely there. Here's my main (BPM analyze.c): [CODE=C]#include "stdafx.h" #include "common.h" #include "sound.h" #include "wave.h" int main(int argc, char* argv[]) { SAMPLE samples[2]; unsigned int i, j; … Software Development c file-system | |
Hey guys, [CODE]import sgmllib class MyParser(sgmllib.SGMLParser): def parse(self, s): "Parse the given string 's'." self.feed(s) self.close() def __init__(self, verbose=0): sgmllib.SGMLParser.__init__(self, verbose) self.hyperlinks = [] def start_a(self, attributes): for name, value in attributes: if name == "href": self.hyperlinks.append(value) self.newhyperlinks.append(name) def get_hyperlinks(self): return self.hyperlinks import urllib, sgmllib f = urllib.urlopen("http://www.python.org") s = … Software Development python | |
hi guys i have written a small program to receive data from a cash reg printer everything works fine but(yes theres always a but) the data from the till output is in compleat string ie bread 0.67 what i want to do is extract the last text on right and … Software Development printer visual-basic | |
I'm currently taking a computer security class. The thing is, I haven't even taken an intro computer programming course. I taught myself a good deal of C++ back this summer, but I hardly know as much as the other students in the class. we were asked to manipulate the following … Software Development c | |
In integration.h I have this [code] class FunctionClass { public: virtual double f(const double x) = 0; }; [/code] Then in probability.h, I have this [code] #include "integration.h" class Mass1 : public FunctionClass { public: double Clutter; Mass1(double c) : Clutter(c) {} double f(const double x) { return Clutter * … Software Development c++ | |
I am still trying to come up with a simple solution where i add lines of words to a 2d array so i can pick an array element and display what is in that array I can read the lines of text and output which words are on which line … Software Development c++ | |
Can someone explain how to add a file to a dictionary. The file is simple. Maybe a word or a number on each line. Here is the code I have. Didn't know if i should use this post or the List and Dictionaries post so kind of posted twice... sorry … Software Development python | |
Hi guys... I've downloadws today the IronPython. One thing i've noticed that if you type, for example, 5+6 it calculates it..! So, i tried to do that with my App too, without success... Note: I've tried "if" sentences, but they are pretty useless... [B]Help![/B] Software Development c++ | |
I have written and application to search through a text file and find the following data and pull out the 5th varible and place in a text box. P_SPEED 0 10 1100 0 .01 23 0 The next issue I am having to input, into a text box, a integer … Software Development vb.net | |
I need help with my program. The program reads water temperatures and when they were recorded from an input file called " biodata2.txt." Then the output is displayed in a file called "results.txt" So the input file looks like this: 2 // number of readings taken 200707211245 // date recorded … Software Development c++ | |
Hi All, I have a question regarding on how to manage a child form with a datagrid inherited from a parent form. In most cases, changing the control modifier from private to protected will make the control editable in the child form, but with a datagrid, these seems not to … Software Development | |
Hi members... I have made a simple chat bot in Visual Studio with C#.. Its very basic and basically talks to you, saying a few lines.. I need help urgently sexing this chat bot up, making it say more stuff, etc,... I'm wondering if anyone out their can help me … Software Development c# visual-basic visual-studio | |
I want my program to run on start up through editing the registry, how would i do that? Certain API's? or a specific way through c++ to do it? Or is that even the right method? Basically i would prefer to not use the startup folder in XP. | |
When I run the following program , after loop it outpur "Enter Valid Number". How can I solve this problem? --------------------------------------------------------------------------------- #include <stdio.h> #include <conio.h> #include <string.h> void main() { int var1,var2,sum; char Choise; while (Choise!='q'){ printf("\n(1)A-Add two integers.\n\n(2)C-compart two integers for the larger.\n\n(3)F-Test an integers for odd or even.\n\n(4)Q-Quit.\n\n"); … Software Development c | |
if the object is created on the stack, the destructor is called automatically when the object is out of its scope. if the object is created on the heap using new operator, the destructor is fired explicity by using delete keyword. i created an example to demonstrate both cases: [CODE]#include … Software Development c++ | |
Hello everyone, I'm into writting a project ,that's all about dealing with directories and more specificly to code something that finally well work as"windows command prompt" in standard console.... i Got alot help from the experts here & got alot progressed, But a bug has occured in between: yestreday i … Software Development c++ | |
Hi there, I am trying to write a queue ADT using a linked list in C and have hit a snag initialising my queue... [code=c]typedef struct qNode{ int element; struct qNode *next; } qNode; typedef struct Queue{ struct qNode *front; int len; } Queue; Queue create_queue() { Queue q = … Software Development c linked-list queue | |
HI, I have exe file writen in c++ or c and wanna decompile it to source code. Is that possible? If it is, is there any decompilet that can do that? thanks! | |
Please forgive what is surely a stupid question: How do I use .Net Reflector to find out which namespace a class, method or property is in, or to see parameter lists? There's no way to enter a character string to tell it what you're looking for. Software Development asp.net | |
I am trying to keep formatting between cell references. For instance, I have a date in once cell (J9) and would like to add this date to a text field so e.g.: ="This will take effect on " & J9 & "." However, when I do this, I end up … Software Development visual-basic | |
THIS PROGRAM IS not yet complete the only problem is when the program calls for the find it process..it does not work perfectly i don't know why..but when i separate it its working..please help me with this.. this is how it looks separated from the optional program: #include<stdio.h> #include<conio.h> int … Software Development c | |
Please somebody help me! I`m a beginner and want to learn web designing. I want to khow taht is there any diffrences between Java & JavaScript if yes which one of them is better for me I have learned just C programming language. Software Development java javascript | |
Unfortunately, I don't think this question is solved with a simple vlookup, or etc. I have a spreadsheet that has several tables of data with the following format on one sheet: gxxxx gxxxx gxxxx zzzzz gxxxx gxxxx gxxxx zzzzz The "g"s above would indicate an item for lookup. The "z"s … Software Development visual-basic | |
when i run my application i got "Memory fault(coredump)" run-time error, what might be the possible cause for this? Thanks Software Development c++ | |
i want to know how to send sms from a java program, so far i am aware that you will need a sms gateway, but i dont know from at which point to start coding .... i am an absolute beginner, and i please help me with step by step … Software Development java | |
Hello, I'm currently programming a C++ Snake game and I'm stuck at a particular part of the program. This particular part had me wondering for sometime now, and I've got absolutely no idea how to work it out. I want to implement a collision detection between two snakes that would … Software Development c++ | |
can anyone plz help me. i m not able to compile source code.the problem is javac not recognised as internel or externel command. Software Development java | |
Hi, I always tried and SEARCHED for this but low chances to find out the answer, an example. I try to DETECT whether 2 pins of COM port are connected or not. If you have at least very low electronics knowledge you'll understand this. It's like having a relay or … Software Development | |
Hi I'm getting the error TypeError: argument of type 'int' is not iterable when i run my program and don't know where I'm going wrong. My code is: [ICODE] class loan: global loanlist loanlist = [] def loanbook(self, name, ISBN, author, title): self.name = name self.ISBN = ISBN self.author = … Software Development python | |
Hi, I wrote a simple Java program that allows changing the background color of itself by clicking on the radio button, like this: [code] import java.awt.*; import java.awt.event.*; class Colors extends Frame implements ItemListener, ActionListener{ Label lblTxt = new Label("Choose a color:"); Label lblInform = new Label(); CheckboxGroup cbg = … Software Development java | |
hi all, I want to use combo box in my application and i want to give user only selection option for combo box when they are entry data so i make combo boxs style property to drop down list. But when he edit the data then i access that record … Software Development visual-basic | |
Hello All, I am a first time poster here, and had a general question. Briefly, I have developed a fairly simple app in VB5 (a couple of controls and some code to run them) and would like to be able to use it on a PDA, rather than having to … Software Development visual-basic | |
hi ,i want to know that if i m taking the input from user in C through scanf what should be the code if the requirments are following. 1.should accept string minimum of 3 and maximum of 15 characters. 2.accept alphabets ,blank space hyphen(-)and & 3. first latter should be … Software Development c | |
Hi, Could some one point me in the right direction. I'm trying to get a value thats in a file between tags. for instance: I'm reading an array out of a file per line example: [code=C++] myArray[0] = "<FILE_NAME>Testfile.dat</FILE_NAME>"; [/code] What i'm trying to do is to read every field … Software Development c++ | |
I am trying to set a cookie but when i check my browser cookies nothing is set. What am doing wrong [CODE] #!/usr/bin/python # e begoli, python connector for mysql # import MySQL module import MySQLdb import cgi import Cookie import time cookie = Cookie.SimpleCookie() cookie["ID"] = "" print "Content-type: … Software Development python | |
Hello, I have came from C++ and have decided to learn C# and XNA 2.0, I am wanting a good book for C-Sharp for complete beginners, but [B]not[/B] for dummies. I have came accross: [url]http://www.amazon.co.uk/Microsoft-Visual-2008-Step-Developer/dp/0735624305/ref=sr_1_3?ie=UTF8&s=books&qid=1232880050&sr=8-3[/url] Btw, because I have programmed in C++ I get the basic consepts Reply please? Software Development visual-basic | |
Im not sure if this is how the process would work, but if i am to say create a header file named myheader and in that header wrote [code=c++] #define functionName { code... } [/code] and then wrote a .cpp file and in the source code I would #include <myheader> … Software Development c++ | |
I'm programming this RPG, and I can't get past the first battle. I can't figure out how to get the computer to break the loop when then enemy's health (enhp) is less than 1. I tried using an if statement, but then it didn't loop at all. Could you guys … Software Development c++ |
The End.