Search:

Type: Posts; User: sean_cantab

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. I started, so I'll finish (and in case anyone's...

    I started, so I'll finish (and in case anyone's interested), using R: library(rvest) webpage <- data.frame("https://www.bloomberg.com/quote/INDU:IND" - Pastebin.com
    Salem - your sample code really...
  2. Thanks for the link, code and the nudge to...

    Thanks for the link, code and the nudge to upgrade my skills - the last is particularly apposite and I've been looking at R for solving this (and other) issue(s) and seem to be making some progress....
  3. no, not really, it's just my programming 'skills'...

    no, not really, it's just my programming 'skills' are largely limited to C++ so I was hoping to work within that.

    I know this is a C++ forum but if someone could drop me a line (either publicly...
  4. Getting high-frequency, real-time stock index data

    I'd like to get the level of the Dow Jones index every 2 minutes b/w 9.30 ET and 16.00 ET (i.e from market open to market close). I particularly like the yahoo finance page: ^DJI : Summary for Dow...
  5. Replies
    0
    Views
    3,017

    Using boost::asio (2)

    The earlier thread on this topic is now closed: https://cboard.cprogramming.com/cplusplus-programming/173551-using-boost-asio.html?highlight=
    So, an update through this post - I've managed to get...
  6. Replies
    5
    Views
    4,194

    Thanks, that clears it up.

    Thanks, that clears it up.
  7. Replies
    5
    Views
    4,194

    User-defined literals, C++14

    I'm trying to insert C++14 style user-defined literal suffixes into my code:

    # include <iostream>
    # include <string>

    int main()
    {
    auto str = "hello world"s;
    }
    Getting some variant of...
  8. Replies
    12
    Views
    9,506

    Tim: Now I've done so: ...

    Tim: Now I've done so:
    C:\MinGW7.1\MinGW\include\boost\boost-build>bootstrap.bat gcc
    This does the bootstrapping, albeit with couple of warnings I don't recall seeing earlier: Bootstrapping the...
  9. Replies
    12
    Views
    9,506

    John, Tim: I'm away from base until end July....

    John, Tim: I'm away from base until end July. Upon return I shall pick this one up again and let you know. In the meantime, many thanks for the additional heads-up. Regards, Sean
  10. Replies
    12
    Views
    9,506

    I'd if I could reach 5.2.2 'Identify Your...

    I'd if I could reach 5.2.2 'Identify Your Toolset' from here: Boost Getting Started on Windows - 1.64.0 but the problems I highlighted in previous post relate to 5.2.1 'Install Boost.Build' where the...
  11. Replies
    12
    Views
    9,506

    Salem, John – thanks for your replies Salem:...

    Salem, John – thanks for your replies
    Salem: nuwen-distro-boost didn't ship Boost.Build which includes the bootstrap.bat file (required in 5.1 here: Boost Getting Started on Windows - 1.64.0) So I...
  12. Replies
    12
    Views
    9,506

    Salem – thanks, at least you've helped me put a...

    Salem – thanks, at least you've helped me put a name to my problem!
    Reading further into the Boost documentation … Boost Getting Started on Windows - 1.64.0 … it seems there are two types of Boost...
  13. Replies
    12
    Views
    9,506

    Using boost::asio

    Earlier I'd asked re using the Boost that comes with nuwen distro:
    https://cboard.cprogramming.com/cplusplus-programming/172958-how-use-boost-comes-nuwen_distro.html?highlight=nuwen
    Since above...
  14. Replies
    6
    Views
    4,681

    Perfect Jim, many thanks

    Perfect Jim, many thanks
  15. Replies
    6
    Views
    4,681

    The additional ws appears after the first regex...

    The additional ws appears after the first regex object has executed where the previous digits used to be - one ws each from either side of the word boundary
  16. Replies
    6
    Views
    4,681

    Hello Jim - a well-placed query is often as...

    Hello Jim - a well-placed query is often as powerful as providing a complete answer, so thanks for your perspicacious line of questioning. The following works but I'm using two regex objects, the...
  17. Replies
    6
    Views
    4,681

    Regex_replace numbers in .txt file

    I want to regex_replace all numbers in a .txt file but for numbers with decimals the period separator remains:


    # include <iostream>
    # include <fstream>
    # include <string>
    # include <regex>
    ...
  18. hi laserlight: the stock selection screens can...

    hi laserlight: the stock selection screens can run directly upon the memory container but for deleting objects can we do it directly from the memory container (here I'm thinking primarily .txt files)...
  19. algorism: thanks for your reply the objects will...

    algorism: thanks for your reply
    the objects will be stocks (perhaps, later, other financial securities) where each stock object has a unique securities number. there is no requirement for sorting...
  20. Regular use, infrequent insert standard library (SL) container(s)

    What would be suitable SL container(s) for frequent search, sort etc but infrequent insertions after it has once been initialized? The container(s) would hold unique, custom objects and I'd like to...
  21. Replies
    14
    Views
    8,141

    many thanks algorism for your help throughout...

    many thanks algorism for your help throughout this entire discussion and always. Regards, Sean
  22. Replies
    14
    Views
    8,141

    algorism – when you put it like that the use of...

    algorism – when you put it like that the use of the std::atomic<bool> variable makes a lot more sense, thanks.
    I thought I might still be able to avoid using this variable by a call to f.get() just...
  23. Replies
    14
    Views
    8,141

    algorism – your program works like a charm, I...

    algorism – your program works like a charm, I simply can't thank you enough.
    There's one point though that I'm still not clear about: what is the role of the std::atomic<bool> variable (or perhaps...
  24. Replies
    14
    Views
    8,141

    algorism: not sure what would be the Windows'...

    algorism: not sure what would be the Windows' equivalents of:

    #include <sys/select.h>
    #include <termios.h>
    these would be required to define a windows version of reset_terminal_mode() in your...
  25. Replies
    14
    Views
    8,141

    algorism: many thanks for your reply. i need to...

    algorism: many thanks for your reply. i need to give it my undivided attention which I should be able to do over the upcoming w/e and will get back to you then. regards, sean
Results 1 to 25 of 204
Page 1 of 9 1 2 3 4