473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

borland c++ 6 - reading in a txt file, then merge with db.

1
I am working on a project where I have 2 files, a .db file, and a .txt file. The DB file contains a 'tag' and a 'value'. The txt file contains a tag, and other info, like location, units, etc so you know what the value means. I need to read in the txt file and the db file, and display them so that everything from the txt file is associated with the db file. I am pretty new to borland. Right now I have the db file displayed, but dont know how to get the text file read-in and then merged with the db file. I can probably figure out how to get the file read in, but have no idea how to 'merge' the two. Any tips?
Nov 13 '07 #1
1 2389
sicarie
4,677 Expert Mod 4TB
What are the relationships between the .txt and the .db files? What is the same between them. Maybe the tag? So if you're reading the tags in from both, wouldn't you then want to combine the information from the two? Reading in a .txt file is simple because it's going to be plaintext, you can just open it and read it (I don't know if there were any conversions or specific read settings to look at the .db file).

So how you do that will depend on how you are reading in and storing that data.
Nov 16 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: TGF | last post by:
I am wondering if it is feasible to use .NET for applications that have to be very fast. We have a few applications that are blazingly fast, written in Borland C++ using Borland C++ Builder. We...
2
by: Klatuu | last post by:
Whew, I've struggled my way through figuring out how to use XML to transport data..now I can imagine what having a baby is like :) But, I'm stuck now. I generate the XML (single table, no...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
8
by: ramki | last post by:
I need to access COM DLL from Borland C++. I do not know if Borland C++ is COM compliant or not. I know that they were bending over backward to be MFC compliant about 8 to 10 years ago but I do...
8
by: chiefbutz | last post by:
I am trying to compile an app that uses the libcurl API. I have the files for that in the correct places. Then I compile I get the following: "Error: Unresolved ecternal '_curl_easy_init'...
17
by: Fabry | last post by:
Hi All, I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and...
1
by: GeeBee | last post by:
1) I’m using Borland C++ Builder 1.0 (a very old (but still good) version). 2) I have an application EXE calling a DLL. 3) A function in the DLL receives a parameter defined as "ostream &" , and...
3
by: lajet | last post by:
I have a problem in reading doc file. I've developed a program whcih can open and read the file. If the file is doc file it calls directly to the winword.exe that saved under the directory. But if...
0
by: jairathore | last post by:
Hi to all, I m very much novice the borland c++ envoirment i want to build a application whose code is devloped in borland c++ ,i have make file associated that application.i tried to compile this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.