43,549 Solved Topics
Remove Filter ![]() | |
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 … | |
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 | |
![]() | 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 |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
Hello everybody! Recently while i was experimenting with some code written in c++ i noticed something that confused me a bit. In that code i had to deal with 2 structs : [code]struct date { string day; int month; int dday; int year; }; [/code] and the other struct [code]struct … Software Development c++ | |
hi! i need help with my code...i dont have any syntax errorrs but when i run it it doensnt run!! i dont kno what to do!! plss i really need help!!! i have to write code tht uses array to store student information and calculate the average, letter grade. i … | |
Dear Sir, Could you tell me what is wrong of my program? The question is: write a progrm that totals up a list of exactly 100 numbers and outputs that total to the screen, also show the average of the 100 numbers. My program: [code] program Project2; {$APPTYPE CONSOLE} uses … Software Development pascal | |
![]() | I have a file, called 'html.html', which contains 'open_skype' in the first line and in the second line it contains the location of the file. Now, what I want to do is, make a function read the first line and then the second line should be read separately....if you don't … Software Development file-system python |
I build a c# project. but after installation while clicking on the shortcut on the desktop system displays a message "could not find file 'C:\Programfiles\filename'" There was no folder or file corresponding to my application in the C Drive (installed drive) Is this because of some error in the build? … Software Development | |
Right. Basically I'm new to Python ( Go on call me a noob) and I'm trying to make a program that will open certain programs when you give the right password. But i just can't seem to get it to open the right files. So far, I am only trying … ![]() | |
![]() | Below is my prime generator, it works fine only thing it gives me 1 more prime than i want eg., if num=40, i need primes uptill 40 but it gives me 41 also...i want it to stop at 37. It works fine with 90. sample run ======== Enter the number:40 … Software Development c ![]() |
![]() | Hey guys.... I want to make a program which reads the HTML code from my blog, saves the HTML code as a string, so that I can check if specific words are present in the HTML code, here's the code I used: [CODE]import urllib import string open_site=urllib.urlopen('http://www.sravan953.blogspot.com') read_site=open_site.read() value=str(read_site) for … Software Development python ![]() |
Hey all, I have just updated to MS VS 2008 Pro. I am having some cross over problems from MS VC 6. Below is a simple example: [CODE]#include<afx.h> #include<iostream> using namespace std; int main() { CString s; CString sa("Strings "); CString sb = CString("are easy "); CString sc = "in … Software Development c++ | |
Hey everyone, I'm trying to create a string inside a class, but for some reason, my compiler is not recognizing: [CODE] class ob { string name("Name"); public: //code } [/CODE] error C2059: syntax error : 'string' This class is being written in a header file, which has #include <string>. Now, … Software Development c++ | |
[code] void deleteNegative(queue <int> &q) { queue <int> temp; if (!q.empty()) { int x = q.front(); if (x >= 0) { temp.push(x); q.pop(); } else { q.pop(); } } while(!temp.empty()) { q.push(temp.front()); temp.pop(); } } [/code] just afunction that returns a queue without the negatives in the same order. unsure … | |
Hi All, Can't insert data into SQL database... Keep getting error i dont know how to solve... Plz help Grtz Tiello [B]CODE:[/B] -------------------------------------------------------------------------------------- [code] Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As New SqlDataAdapter Dim … Software Development open-source sql vb.net | |
Hi guys. I'm pretty new here. I was recently playing around with templates and found them to be really useful. I was wondering how I could check the data type of the variable that was passed into the function, and I heard about RTTI from my friends. I've looked around … Software Development c++ oop visual-basic | |
Please any one help me... I want to insert data automatically to the table while installing an application. how can i do this? Can I generate sql script for this??? Regards Jineesh Software Development sql | |
![]() | Can anyone teach me how to create a function which when called shuts down the computer, or opens an image or video and so on? Software Development python |
hi i am truly just a student at this time soon to be the worlds best programmer there is just this one hickup with my studies i am trying to learn the c++ visual studio 2008 as part of my current course i am taking and every thing went well … Software Development c c# c++ visual-studio windows-vista | |
hi i have written a small chat application.. gui created using frames.. both can send text to one other using socket programing over the localhost.. is it possible to send files too along with just text?? Pls help Regards, Bharat Shivram | |
yet another ridiculously simple question, yet i feel compelled to ask because i've been stuck here for like an hour without it working ok so say you have one list, a, and you need the user of the program to input a list of several more numbers, call that list … Software Development python | |
quick question i have come across, i can't find a definition for it perhaps i'll have to make a couple lines to define it? anyways for list a, which has only integers, i need to define the average, x... so i'm looking for something quick to do this: [code=python] >>>a … Software Development python | |
Hello friends, i have some doubt and hope i will get an satisfactory answer from here. 1) Can memory addresses be negative........i have initialized an array and check the address of element and found it negative...so i want to know can it be negative and if yes then how addresses … Software Development c | |
I have a VB6 app that uses the Environ("userprofile") command to determine the location of the My Documents folder for the currently logged in user. This has been working fine for ages with no problems. One particular client has had the user directory redirected to a network location so that … Software Development visual-basic | |
Hi I've been think about this for a while but the answer eludes me. I know its a pretty simple program but here's the snippet: [code] int main(void){ printf("Enter the operation of your choice\n"); int a; int b; int ch; while((ch = getChoice()) != 'q'){ printf("enter a value: "); if(scanf("%d", … | |
write a program that read in an array of integers-- ideally from a text file. and then displays a histogram of those numbers, divided into the ranges 0-9, 10-19 ,20-29, and so forth, up to the range of containing only the valye 100. Please help me to write a efficient … Software Development c++ | |
Hello friends, I have have found lots of ways to implement a stack using different data structures. But i want to what us the best way (best means code understandability , performance) to implement a stack!! Share ur thought so i can reach to any final answer. Different ways ->1. … Software Development c | |
Hello, I have a problem with BindingSource.Find. I have a datagridview with the columns Klantnummer, Achternaam, Contactpersoon, Straatnaam, Plaats, Telefoon and Mobiel. I want to find a row with the Bindingsource.find method. Above the datagridview i have a combobox to select the column and a textbox where I can type … Software Development vb.net | |
i need little help of urs in the above code, RightFrom Function is perfectly working but there is a logic bug in LeftFrom Function. when i m sending North as argument the result from LeftFrom is -1 but i need 0. help me to solve this issue. [code]#include <iostream> using … Software Development c++ | |
Good Day All, I have a problem with a database program. The program is to create a database for a Stocktracker program. The details for the code, I got directly from our textbook, and it compiles perfectly, but as soon as I run the program it gives me the following … Software Development java microsoft-access | |
Hello, i'm learning to work with loops and it was fine untill it came to nesting loops. In an exersize, i was told to use nested loops to display a pattern of asterisks like this: (2 asterisks, 4 asterisks, 6 asterisks, 8 asterisks, 10 asterisks, 12 asterisks) ** **** ****** … | |
Hello., I'm very green in c++, and at school we just had a first lesson on pointers to functions, and I'm going over teachers code using debugger and dont understrand why the line age = getInt(IsValidAge); executes before printf, i thought C++ compiler executes lines sequentially. Any help would be … Software Development c | |
I am just starting to learn x86 assembly language because eventually I want to make my own OS. I wrote a boot sector in fasm and it doesn't load the second sector into memory. Because I just started, there is probably something obvious wrong with the code. Could anyone tell … Software Development assembly | |
Hello everyone this is my first post. My problem is reading from a text file. The file is in the format: name\tdouble\tdouble\tdouble int Since I have no control over the format of the file and do not know the size, I first begin by counting the lines of the file(nLineCount2). … Software Development c++ | |
hello, I am working on a little database program in C++ that writes to a text file, saves, and then reads the text file into array's, but i'm not real sure how to go about converting the information in the text file back into arrays. the text file looks like … Software Development c++ file-system |
The End.