132,726 Archived Topics
Remove Filter ![]() | |
Hello I have had this problem for a while now, I am getting bluescreen when I start my debug.exe from my debug folder manually, but I do not get bluescreen when compiling and starting from C::B. But there is an exception, my program only bluescreens if I start it before … Software Development c++ | |
How do I read individual cell data from an excel sheet? I know how to extract the data from the .xls file and bind it to a gridview. But how do i extract data from a particular cell or column and save it in a local variable for instance. I … Software Development | |
So, I always thought that it was possible to return dictionaries in Python. I was wanting to do this because I would prefer not to use globals. However, I am having trouble with returning my dictionary. Code: [code=python] #!/usr/bin/python # 6/9/09 def loadWords(): pathstart = "/home/foo/Documents/PyScripts/Vocab/Lists/" print "What is the … Software Development python | |
Hi Gurus I wanted to learn perl and I need to know how can I install perl, c compiler etc. I have two Pcs with me one runs on Windows NT and other with Windows Vista. Could some one suggest me step by step guide including the softwares to be … Software Development perl windows-vista | |
I've been tearing my hair out for 2 days over this, hopefully someone here can help me. I'm trying to scrape the price data off the following webpage: [URL="http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X"]http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X[/URL] The value I want currently stands at 6.19 (i.e. the NAV value on the right hand side). I currently have a … | |
i need to extract the number part from the string which looks like "(7 r 8digits).txt". i need to store this found string in some variable, but i am confused wih the groups twhether o get the string as group() or group(1). Pattern p = Pattern.compile("\b[0-9]{7,8}\b"); Matcher matcher = p.matcher("num"); … Software Development java | |
this is not a question, but a code snippet. i attach the project as well. Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; namespace copyAllWaveFiles { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void … Software Development | |
this is not a question, but an application to find common lines among text files, as long as you click "read new text file" button, it compares it to the listview and removes the uncommon items from the listview. I find this application very useful, hope you will like it … Software Development listview | |
hi, i need to search the text file for lines repeatedly. so i want to read the text file into memory and iterate through lines. i am able to iterate as follows but, for the next search i need to iterate from the beginning which will require data transfer between … Software Development hard-drive | |
Hi all.. I'am newbie in java programming.. I need help to compare two images in java... Plss help me.. Thx for your appreciates.. ^^ Software Development java | |
Hello everyone, I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the … | |
Hey Everyone I have a client who uses a Micrsoft Access Application for their business. One of the reports that the program has, is a label type report. The report recieves the following parameters: 1. Number of blank labels to skip (should the user want to not print the first … Software Development visual-basic | |
How can i write regex to get all words in string. Example - Travel in Egipt (travel, in, Egipt) - london cca 300 EUR (x cca y eur, where x is londox and y is 300) What regex must look like for this two examples? I need two regex but … Software Development regex | |
Hi, I want to pass tree as an argument to other function in C. I am able to pass the tree comfortably,but how do I access the children of the tree in the called function??? TIA Best Regards Vishal Agarwal Software Development c++ | |
Hi All, I am trying to read a file line by line. If a line contains the following character ':' then that line will be parsed word by word and put in a list. I am trying to do that but the head pointer is changed when we go to … Software Development c | |
Hi all, With your help I have a perfectly working console application. Now I need to do it a bit more flexible. So far I have the file paths for all files involved in the applications execution hardcoded.I need to be able to execute the console application from anywhere. i.e … Software Development file-stream vb.net xml | |
Hello. I'm having trouble about drawing a border around a listctrl [code]"""Main module for psutils GUI""" __version__ = "$Revision: 8 $" # $Source$ import random import wx import psutil ID_EXIT = 110 class MainGUIFrame(wx.Frame): """Main frame. Shows processes and graph""" def __init__(self): """Initialization of the frame""" wx.Frame.__init__(self, None, -1, "psutils", … | |
![]() | Can somebody tell me the code for: a-(a^3(power of 3)/a)+a^5/a-a^7/7........n The code has to contain only for, if, while and other basic statements....please help me! Software Development java |
Hello everyone, i have one simple question. How to port forward udp port? I've successfully forwarded tcp port (that was easy), but i just can't understand how i can do this for udp port. Maybe someone can give code example? ps i'm trying to make 2-way port forwarding ( client … Software Development client-server tcp-udp | |
Hi, I have, for example, the memory address of a double value which is: 245CEA20 I need to do something like this: [CODE]double * value = 0; value+= 0x245CEA20; std::cout << value << std::endl;[/CODE] I get a value like 22E75100 which is wrong even if you convert it to decimal … Software Development c++ | |
Hi, How to deploy a windows application with crystal report? I have developed it with VS 2008 on C#. Crystal report on it is 10.5. While i created set up and installed, reports are not working and an exception occured as follows The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. … Software Development | |
Hi All, I need to print documents ( MS-DOC, PDF, Plain Text ) using Java API. I do not need window for configuring number of pages to be print etc etc.. Whatever the file specified should be printed. I checked with [CODE]printerJob.print();[/CODE] from java API and able to print simple … | |
Hi All, this is my first post as a member of the forum so firstly nice to meet u all, secondly if this posted in the wrong place, many apologies Admin. My problem and query is this I have been asked to find out the most appropriate language for a … Software Development algorithm delphi encryption pascal | |
Hey. I have to say this is the first time ive been totally stumped by c++. I cant exit this loop. this code is from a function that takes a string filename, an int mode, and a char print. It takes a textfile looking like this: somesite.netinfoaboutsomesite someothersite.orgdataonsomeothersite yetanotherrandomsite.edurandomchars and … | |
[code] bool isReverse(string s1,string s2) // pre : none // post : returns true if s1 is reverse of s2 and otherwise false { if (s1.length() != s2.length()) { return false; } int size = s1.length(); int count = 0; else { for (int i = 0; i < size; … Software Development c++ | |
Hi, im just beginning c++ and been reading regarding cin and cout. After reading the chapter, I just got curious what acually a stream is. It is said in some as a series of characters. In a site: "A stream is an abstraction that represents a device on which input … | |
Q:- create a class in which you will declare a pointer to int . This variable will be defined n allocated memory in the constructor. Create a destructor of the class where this memory will be deallocated. Using this class do the following: 1) In the main function create an … Software Development c++ | |
salam, i want to change my C++ code to UML model. How can i do so is there any software. please tell me. thanx. Software Development c++ | |
![]() | Hey guys.. I have been making a random password maker, which makes a password of 8 characters length, but I am encountering a problem. Here'e the code I used: [CODE]import random list=['a','b','c','d','e','f','g','h','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','!','@','#','$','%','^','&','*'] randlist='' a=1 def password(): while a<=8: randlist+=random.choice(list) a+=1 return password() print randlist print 'Are you satisfied with your … Software Development python |
Hi, im writing an application in java that collects a number consisting of 5 digits,for example, 11234 from the user. The problem i have is that i want to separate the individual digits and display them separated by 3 spaces. thank you in advance for your help. Software Development java | |
Hi, I have to add a mouse over event and mouse click event in my rectangles that I draw while taking the values from an input file. Now since I am taking rectangle height and width from the input text file as well I also want to take a text … | |
Hello, I have file name is file.txt inside it this lines line1=hello world line2=hello web line3=hello egy I want print full lines start with line2= like in linux command cat file.txt | grep "line2=" this code will print full line --> line2=hello web And if any one have books in … Software Development python | |
Please help. i have an application made in C# using ms studio 2008. I have created the data source from my access 2003 database. But every time I select the data in the crystal report wizard. It only displays the fields from the database I have connected but not the … Software Development | |
hello, i have a code below and i dont know how to make a string input for me to input hte name of the student...kindly check it out... [code=java] import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static … Software Development java | |
How do we output value in register AX? Software Development c++ | |
can long long store 12 digit numbers. Its showing in my comp that limit of long long is 9223372036854775807, but then it's showing too large when i declare it like this: long long num; i don't want to store in array. My seniors told that long long will do but … Software Development c++ | |
hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I … Software Development c++ gui linked-list | |
Can someone please, please, please give me the syntax in vb 2008 for referencing records on a parent form, I’ve been trying to do this for ages and can’t work it out or find help that answers this. I’m new to VS and vb2008 so please excuse any errors in … | |
Stanford cs249a Meterial (Object-Oriented Programming from a Modeling and Simulation) -------------------------------------------------------------------------------- From where i can get the below Meterial?? if any one have the below plz send me or give me a link... i really need these lectures.. Thx & regards. Required Reading Chapter 1: Software Husbandry and Software Development … | |
Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a … Software Development c++ | |
I have got a log file as follows The log file has the following format : Date/Time, Severity, Module(the number after the process name is the process id) and finally the diagnostic message as an example : dd/mm/yyyy HH:mm:ss.mmm Severity Module Message ======================= ======== ====== ======= 17-11-2008 17:01:17.590 SUCCESS wmlumberjack.exe:940 System … Software Development c++ | |
this is not a question, but an application to compare two text files line by line. i attach the project to this post, i also attach two sample text files to compare. these two text files contain the names of the .wav files that comes ready with devices, HandHeld Dolphin … Software Development listview | |
Hi to all. I have one problem I try to parse some string and get data from it. For example i have three strings "Greece about 2 weeks", "greece" and "grece about 500 eur" Now i want to define regular expressions and check for right format. I need data like … Software Development regex | |
Hi! I split lines on tabs (fields). I would like Perl to print first filed in parenthesis. My script is the following: open (INP, "input.txt") or die "Can't open input: $!\n"; open (OUT, ">>output.txt") or die "Can't open output: $!\n"; while ($line = <INP>) { chomp ($line); @field = split … Software Development perl | |
Hey everyone, I wrote a code which runs a game of rock paper scissors, and each time you lose, it counts down until at 0, it exits. The only way I've been able to exit the code is to throw in a 'sys.exit()' command. I hear there are better ways … Software Development python | |
Alright so I'm trying to insert a few superscripts into a program. I'm working to try and recreate a math problem. I tried googling how to insert superscripts, then tried how to insert Unicode into a console application, but I didn't get much luck. Anyone have any ideas. By the … Software Development c++ | |
When initializing a constant data member in a given class with a constructor, does the act of initializing that constant data member (providing it with a value) actually stop you from assigning it the value you wanted to give it later on in the program? My understanding is that a … | |
How do I get these 2 programs to work together (ie have one call the other.) Thought of using the first to call the external one but then thought it better to combine the 2 ????? Can't seem to get it working yet the second one works on it's own. … | |
Hi, I am developing one application in c#, where I have to manage file transfer between my applications. The applications can communicate sending strings to each other. The idea is to read file and put that in one string, which can be sent over the network using streams. Of course, … Software Development file-system |
The End.