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

Discussion in 'C++' started by Darius, May 19, 2006.

  1. Darius

    Darius Guest

    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
     
    Darius, May 19, 2006
    #1
    1. Advertising

  2. Darius

    kwikius Guest

    Darius wrote:
    > 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
     
    kwikius, May 19, 2006
    #2
    1. Advertising

  3. Darius

    Darius Guest

    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
     
    Darius, May 20, 2006
    #3
  4. Darius

    kwikius Guest

    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::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
     
    kwikius, May 20, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steven Caliendo

    MySQL database connectivity

    Steven Caliendo, Dec 17, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    449
    dryer
    Dec 18, 2003
  2. =?Utf-8?B?QW5kcmUgUmFuaWVyaQ==?=

    Response.Redirect() and absolute URL links and User Control questi

    =?Utf-8?B?QW5kcmUgUmFuaWVyaQ==?=, Feb 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    986
    Steve C. Orr [MVP, MCSD]
    Feb 4, 2005
  3. Gaz Oakley

    MySQL Connectivity

    Gaz Oakley, Apr 28, 2004, in forum: Python
    Replies:
    1
    Views:
    334
    Steve Holden
    Apr 28, 2004
  4. alex
    Replies:
    1
    Views:
    111
    Aaron Bertrand - MVP
    Dec 4, 2003
  5. Sebastian

    Has document already finished loading?

    Sebastian, Jun 28, 2003, in forum: Javascript
    Replies:
    0
    Views:
    123
    Sebastian
    Jun 28, 2003
Loading...

Share This Page