data

PHPMailer AddAddress()

ok, i don't know how the data should be formatted for AddAddress PHPMailer function; i need the email to be sent to multiple recipients so i tried $to = "[email protected],[email protected],[email protected]"; $obj->AddAddress($to); but with no success. any help will be appreciated. thanks ...

can any 1 explain me the use of index_of_min in the below function used for selection sort..?

void selectionSort(int array[], int n) { for(int x=0; x is this function written correct..? ...

How to test a byte against a hex value?

I want to test if the byte I read from a data file is 0xEE, what should I do? I tried if (aChar == 0xEE) but doesn't seems working. thanks for any help ...

Where did foodscanner get its initial barcode database?

http://dailyburn.com/foodscanner Any ideas? ...

Retrieving dynamic text from a website in vb.net (VS2008)

Hey guys, i want to be able to retrieve dynamic data from a web page (share prices). I started out by retrieving the html code before i realised that as it is live data, the html code will be of little use. Although i am looking to capture specific data, all i wish to do is process a webpage that i specify which will return the text off ...

Tic Tac Toe help

I've written a tic tac toe code that fine to a point. I have Alpha-Beta Pruning working also. I've ran across a problem that I need ideas, NOT CODE. How can I choose a move that will win in 4 moves versus a move that will win in 8 moves. The problem I'm having is the branch that returns a optimal score from minimax/AB prunning will possi...

iPhone UIImage - Data Persistance

Hi All, Simple question regarding data persistance between application sessions. My application allows the user to select an image from the Library using a UIImagePickerController. The selected photo is then used as the background to the application. As the UIImagePickerController delegate method actually returns an image as opposed t...

Where can I find source code for the Java data structures?

Hi all, Not sure if this has been asked before, did some digging. I'm trying to prepare for a few interviews, and I was just curious to see if how Java implements its data structures (arraylist, map), etc is public. Thanks. ...

Printing several binary data fields from Google DataStore?

I'm using Google App Engine and python for a web service. Some of the models (tables) I have in my web service have several binary data fields in them, and I'd like to present this data to a computer requesting it, all fields at the same time. Now, the problem is I don't know how to write it out in a way that the other computer knows whe...

List of Cities by Country

Where does Facebook get their list of cities from? Is there a service that provides an up-to-date feed of cities based on country? ...

change mysql data directory

Hi All, Is it possible, if I change my default mysql data directory to other. But, will I be able to access the databases from old location. any inputs will be a great help. Thanks in advance Regards, Manasi ...

filling custom c# objects from data received stored procedure

public class User { public string FirstName { get; set; } public string LastName { get; set; } } public class Address { public string City { get; set; } public string Country { get; set; } } /* * There are 2 c# objects i have shown * There is a stored procedure in my application which * returns data for both objects ...

Simulating a railway network

Hello, I wanted to simulate a railway network where there would be stations, trains and routes connecting each station. So how do you think I should attempt to model this?? I thought of using graphs taking station as vertex and edges as routes. Also since there will be tens of trains and stations and hence hundreds of routes so should I...

How to include resources in iphone static library ?

I'd like to include files, data and images in a static library API so the users won't need to include them manually in their project. I see that there isn't obvious way to do it but is there some hack or workaround to achieve this goal ? Thanks ...

data in dynamic textbox

Hi, I am new to .Net I created textboxed dynamically, But when i clicked on the button, i loss before created data in the textbox. How can i maintain data in the dynamic textbox. Thanks in advance.. ...

Access 97 - external dll gets outdated data - what can i do?

Hello, In my current job i have to fix some issues in an old Access97-application. My last problem is this: Some reports are created with an external dll and sometimes the reports are wrong. They contain data from the previous call or the detail data is missing and so on. If i start the same report without any change on the data the rep...

MVC Toolkit and XmlMetadataProvider

I have been working on validation with the ASP.NET MVC BETA 2. Some of the reading that I have done is very critical of the buddy class approach because it isn't DRY (Don't Repeat Yourself) and because it puts the buddy class in the model layer and not in the web layer. I understand these arguments and through lots of searching I found a...

Introduction to Java Graphics Libraries

I just got into information-visualization and scientific-visualization and have been using Piccolo and a little with JFreeChart. I am trying to find a few new libraries that I can start using. I am looking specifically for libraries that involve multi-dimensional visualization and map overlaying (something like open-layers), but would be...

Why is that data structures usually have a size of 2^n ?

Is there a historical reason or something ? I've seen quite a few times something like char foo[256]; or #define BUF_SIZE 1024. Even I do mostly only use 2^n sized buffers, mostly because I think it looks more elegant and that way I don't have to think of a specific number. But I'm not quite sure if that's the reason most people use them...

DataLayer in Linq with different version of Data model

Hi, I wanted to ask the SO community about this problem in my project. I have a Silverlight App Project in SL 3.0, which at the moment has a classic design with a business layer and a data layer in Linq2SQL. The problem is that the Data model can be in different version with some little changes in between. I have 2 solutions but neith...