Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 18th, 2008, 7:22 PM   #1
malavar
Newbie
 
Join Date: Apr 2006
Posts: 3
Rep Power: 0 malavar is on a distinguished road
Send a message via AIM to malavar
sorting database with delimiters.

hey guys, im writing a simple address book, and i want to store all entries to a single text file, in a /etc/passwd type fashion. each field seperated by a : , and each entry seperated by a ; how would i go about recognizing the delimiter?
ty!
malavar is offline   Reply With Quote
Old Mar 18th, 2008, 9:10 PM   #2
pr0gm3r
Hobbyist Programmer
 
Join Date: Dec 2004
Location: CA
Posts: 102
Rep Power: 4 pr0gm3r is on a distinguished road
Send a message via MSN to pr0gm3r
Re: sorting database with delimiters.

are you trying to write simple address book in GUI application or console mode?

to recognize the delimiter you need to use the stream header file to tokenize each character. Array will help organize this delimiter. try google for open source software and improve those source code. I am sure there are some application that was develop to keep address book.
__________________
--
pr0gm3r
pr0gm3r is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing BLOBs in a database - problem jonyzz Other Programming Languages 8 Jan 31st, 2007 4:38 AM
searching an access database? designXperts.net Visual Basic .NET 12 Nov 27th, 2005 5:03 PM
how do i automate text data and input into database? lionel84 C# 0 Jun 26th, 2005 9:35 PM
Using ODBC to connect to a remote database in a C program bigi C++ 1 Mar 8th, 2005 3:19 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:53 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC