Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > How to add mySQL, save data to file connectivity to already finished application (novice kind question)

Reply
Thread Tools

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

 
 
Darius
Guest
Posts: n/a
 
      05-19-2006
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

 
Reply With Quote
 
 
 
 
kwikius
Guest
Posts: n/a
 
      05-19-2006
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

 
Reply With Quote
 
 
 
 
Darius
Guest
Posts: n/a
 
      05-20-2006
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

 
Reply With Quote
 
kwikius
Guest
Posts: n/a
 
      05-20-2006
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: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

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Session state has created a session id, but cannot save it because the response was already flushed by the application ganeshd@gmail.com ASP .Net 3 08-17-2007 04:33 AM
[ADD] InfoTipsControl at last finished up... Thomas Hansen ASP .Net 7 11-14-2005 09:48 AM
progress bar indicates the page is in downloading, but it is already finished alex ASP General 1 12-04-2003 08:45 PM
Has document already finished loading? Sebastian Javascript 0 06-28-2003 05:00 PM



Advertisments