C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
photo of David Bolton

David's C / C++ / C# Blog

By David Bolton, About.com Guide to C / C++ / C#

Programming Challenge 21 - Preparing Data

Tuesday December 30, 2008
My favorite data preparation tool is MS Excel. Considering that most of what I prepare is put into a relational database, it makes sense to lay it out, get it right and then import it. But not everyone has access to data import tools and in the past I've had to write the code to do the importing. Now it's your turn with the Programming Challenge for February 2009.

To make it a bit more challenging, you have to read data from an Excel file (.xls, not the newer xml type .xlsx files) and then output both a SQL File (it's just text) and a .csv (Comma Seperated Values) file. Don't panic! You can use any 3rd party free or open source library to do the reading. I know that Excel can output CSV but everybody should be able to! Don't forget that Challenge 19 finishes this week. As I'm away until the weekend, it won't get marked until then so Friday night (January 5, 2009) is the deadline for that.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore C / C++ / C#

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

©2009 About.com, a part of The New York Times Company.

All rights reserved.