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

D

Darius

Hello,

there is an NMEAParserDemo application written in VC++ avaliable for
download from
http://www.visualgps.net/Papers/NMEAParser/NMEAParserDemo Project.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
 
K

kwikius

Darius said:
Hello,

there is an NMEAParserDemo application written in VC++ avaliable for
download from
http://www.visualgps.net/Papers/NMEAParser/NMEAParserDemo Project.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
 
D

Darius

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
 
K

kwikius

Darius said:
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::eek:fstream 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top