Archive

Posts Tagged ‘the result’

Add Formula To Text Box In Excel

November 21st, 2011 Comments off

I would like an excel file to use the formula in a text box instead of the text.

This is the formula i want show the result of in the text box
TextBox1.Text = Application.CountIf(Range(“a1:a10″), “B”))

basic example

How can I make the result show in the text box? I have tried adding the formula to value field, but it just shows up the formula not the result?

Fischway

September 10th, 2009 Comments off

Hi,

I need an automated Webcrawler than get information like name, address, phone, service of the personas and pictures. I have a list, see the .xls file. The content will come form 5 special Websites. See the .pdf files. The crawler must open for more different Website with similar content in the future.

The Webcrawler has to run on an Windows PC with XP-Software. The result have to be an .csv file. Like the .xls file.

I expact as the result of your Work an .exe file with the ready run configured software for the 5 Websides. And an .csv file with the result from your test run. The target is to crawl out 90% of the existing content.

TB

Large Integer

May 31st, 2009 Comments off

The Problem

The unsigned int type in C requires 4 bytes of memory storage. With 4 bytes we can store integers as large as 232-1; but what if we need bigger integers, for example ones having hundreds of digits? If we want to do arithmetic with such very large numbers we cannot simply use the unsigned data type. One way of dealing with this is to use a different storage structure for integers, such as an array of digits. We can represent an integer as an array of digits, where each digit is stored in a different array index. Since the integers are allowed to be as large as we like, a dynamically-sized array will prevent the possibility of overflows in representation. However we need new functions to add, subtract, compare, read and write these very large integers.

Write a program that will manipulate such arbitrarily large integers. Each integer should be represented as an array of digits, where the least significant digit is stored in index 0. Your program should we able to read in a string of digits and create a struct that stores the big integer.

Your program should store each decimal digit (0-9) in a separate array element. In order to perform addition and subtraction more easily, it is better to store the digits in the array in the reverse order. For instance, the value 1234567890 would be stored as:

index 0 1 2 3 4 5 6 7 8 9
array 0 9 8 7 6 5 4 3 2 1

Note: Although this seems counter-intuitive, it makes the code slightly easier, because in all standard mathematical operations, we start with the least significant digits. It also makes sense that the digit at the place 10i is stored in index i.

Your program should include the following functions:

Black Jack C++ Help

April 2nd, 2009 Comments off

Background

For this assignment, you complete a program to play the game of “Twenty-one” (also called “Blackjack”).

The general idea of Twenty-one is as follows. There are two players, the customer and the dealer. The dealer deals a card face down to the customer, then a card face up to herself (the up-card), then another card to the customer and another card to herself, both face down. In most cases, the customer may then ask for more cards, one at a time. The dealer does the same, and the hand is resolved. The object of the game is to be dealt a set of cards whose total value is as close to 21 as possible without going over.

Cards are dealt from a deck of 52. There are four cards in the deck with value 2, four with value 3, and so on up to value 9; there are sixteen cards with value 10 (four 10′s and twelve face cards: four jacks, four queens, and four kings); and there are four cards (“aces”) whose value may be either 1 or 11 depending on the value of a player’s remaining cards. For both players, an ace counts 11 unless the hand total is more than 21, in which case it counts 1.

For our purposes, the actual play of the game proceeds as follows. Each player receives two cards as described above. If the dealer’s cards total 21

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Bear