473,386 Members | 1,790 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,386 software developers and data experts.

How to add mySQL, save data to file connectivity to already finished application (novice kind question)

Hello,

there is an NMEAParserDemo application written in VC++ avaliable for
download from
http://www.visualgps.net/Papers/NMEA...%20Project.zip.
Source code in VC++ is provided, unfortunately this application
features no logging option.

My intention is to add data logging option to let me read processed
lat, lon, alt, time data on-line in another application.

I would be nice to have someone to have a look into a provided code of
Parser demo and modify it, putting data logging button in program main
window.

As a novice to VC++ I have already contacted two IT students to help me
with my problem.
Is it really so complicated to add a piece of code to enable saving
lon, lat, alt, time date to a text file ?
Or to add mySql database connectivity ?

I downloaded VC++ express from official site and can open the source
but trying to compile the provided code, I get error messages about
missing files.
I am aware program version doesn't much compiler's version, but what
should I do now ?>

Darius

May 19 '06 #1
3 2374
Darius wrote:
Hello,

there is an NMEAParserDemo application written in VC++ avaliable for
download from
http://www.visualgps.net/Papers/NMEA...%20Project.zip.
Source code in VC++ is provided, unfortunately this application
features no logging option.
[,,,]
I downloaded VC++ express from official site and can open the source
but trying to compile the provided code, I get error messages about
missing files.
I am aware program version doesn't much compiler's version, but what
should I do now ?>


IMO your needs are a bit specialised for this newsgroup and anyway,
your best bet is to contact the authors directly, explaining what you
want to do. They should be in the best position to help you.

regards
Andy Little

May 19 '06 #2
Hello,

already contacted the author directly. Source code is provided.
Please only read it and put some code to save 3 variables to a text
file.
I can provide you with details, explanations but I am not familiar with
VC++ yet.
If you can write in VC++ a simple code to save a variable to a text
file, you can do that.
Can you help me ?
I know how to save data, variables to a text file in algol, cobol,
basic, fortran, php, perl, vb, pascal and in other languages but vb++
is to new to me.
I am sure, you can do that. Please contact me.

greetings,
Darius

May 20 '06 #3
Darius wrote:
Hello,

already contacted the author directly.
Source code is provided.
Please only read it and put some code to save 3 variables to a text
file.
I can provide you with details, explanations but I am not familiar with
VC++ yet.
If you can write in VC++ a simple code to save a variable to a text
file, you can do that.
Sure. heres some code, if it'll help...

#include <fstream>
#include <string>
int main()
{
int n=1;
double d = 2.;
char* three = "hello";
std::string four = "goodbye";
std::ofstream myfile("test.txt");
myfile << n << '\n'
<< d << '\n'
<< three << '\n'
<< four << '\n';
}
Can you help me ?


Not really, this is pretty basic stuff, easy to find out from a book.
You need to look in your library for some books on C++ and work through
them. Stick with one you like. If you get stuck then ask on
comp.lang.c++ again. It usually helps to provide some code that you
have written.

Good luck

regards
Andy Little

May 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Phil Powell | last post by:
I've read some online resources that utilize various MySQL command-line actions to migrate data from Access to MySQL. The situation is this: a group of co-workers of mine will be using an Access...
3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
2
by: kimshapiro100 | last post by:
Question on PhP, MySQL I am thinking of a consumer internet business for which I will have to have a database driven site built. I am thinking of using PhP, MySQL as the main technologies...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
13
by: Auddog | last post by:
I have installed php on my server and can get the phpinfo page to display. I have installed mysql 5 and I'm able to get into the database and create data. I would like to be able to get php to...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.