Question: I have a project with the following structure: The following source code is in the Item.h file: The following source code is in the Item.cpp file: The following source code is the content of the main.cpp file: And finally, ...

Question: I have the following data file I am using nlohmann/json to parse it I need to parse it into a country class country.h to_json and from_json implementation when i try to get the country from the json it does ...

Question: I’ve a Tabview along with a list of azlist scrollable bar. When scrolling through the azlist bar, the TabView moves along easily trying to slide to another Tab. I want the TabView to be stay put during scrolling of ...

Question: I am trying to redirect all url with specific word to a new domain via htaccess. Here are the few url structure: I need all url that contains (word printer/repairs/in) should be redirected to new domain Here is my ...

Question: I’m using components(separatedBy:) to separate a string into an array of words (using a space " " as the separator). This works fine, but I also want to get each word’s range/index in the parent string. Here’s my current ...

Question: I’ve been trying to get the duration between two timestamps using but I’m getting result as: I don’t want the values after ‘.‘ I tried using but it gave Can somebody please help? Answer: The difference between two timestamps ...

Question: I would like to write a script that can collect data from the router, in this case 5268AC. So far, I’ve been able to use response.get() to get information from URLs that do not require device access code to ...

Question: I have a tibble like this: I want to generate a graph that has Nodes as nodes set and as edges. Of course I want to generalize this process for any Nodes. I think that I can code this ...

Question: I was testing a feature where I had to write a record with created_at field which is of type time.Time into a Mysql table. When I read the same record back I get following diff. What is wall in ...

Question: I’m trying to create a stored procedure in pgsql that creates a materialized view with data from a specific year from a table. The parameters will be the table name, the column that contains the year, and the year. ...