Thread: C++ program to show the currency exchange rate !

  1. #1
    Registered User
    Join Date
    Jun 2017
    Posts
    9

    C++ program to show the currency exchange rate !

    When we search on Google for currency exchange we get a form where we can see the current currency exchange rate. However, I know Google is the best and they have more features like this.
    I want to know if we can make a c++ program which will let us know the current currency exchange rate by using Internet connection. Is it possible ?? if yes then please let me know how !!

    thanks in advance.

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,728
    Of course it is, as long as the currency exchange rate data is delivered in a consistent format. Just for example, if we say that the data was formatted using JSON, all you would have to do is parse it and extract the information you need. Depending on the format, you may need an additional library or two to parse it, since some of them are quite hard to implement yourself. It could be in other formats too, such as XML, HTML, SQL database, simple text file, etc...
    Devoted my life to programming...

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Relevant StackOverflow: How do I get currency exchange rates via an API such as Google Finance? - Stack Overflow

    In terms of C++ libs, I recommend something easy and simple like the cpprestsdk. I only recommend because it is client-focused and is easy to install on both Windows and Ubuntu/Linux.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Currency Conversion Program
    By Osman Zakir in forum C++ Programming
    Replies: 9
    Last Post: 04-10-2015, 09:49 AM
  2. (Datafeed) Oanda Currency Exchange Rates
    By Mario F. in forum Tech Board
    Replies: 4
    Last Post: 07-09-2011, 12:40 PM
  3. The current exchange rate
    By BB.BB in forum C Programming
    Replies: 10
    Last Post: 05-19-2009, 07:46 AM
  4. Currency Conversion Program
    By kgraw21 in forum C Programming
    Replies: 5
    Last Post: 04-19-2002, 08:39 AM

Tags for this Thread