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...
Type: Posts; User: sean_cantab
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...
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....
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...
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...
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...
Thanks, that clears it up.
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...
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...
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
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...
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...
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...
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...
Perfect Jim, many thanks
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
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...
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>
...
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)...
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...
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...
many thanks algorism for your help throughout this entire discussion and always. Regards, Sean
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...
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...
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...
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