Is it possible to hyperlink text output using c++? - c++

I want to output some hyperlinked text to a file using C++. I want the text to be "clickable" so that when a user clicks the "text" it'll take him to a specified, linked webpage. I was trying to make sense of libcurl, but from what I understand it doesn't allow you to output the links in the way i'm describing. For example, I want to output a list of separate links,
Cookie
Cake
Pie
that all go to different webpages. If i'm wrong, i'll do some more learning, but if not, i'd like to hear other suggestions.
Thanks

Related

MS Lists links displayed in the Comments

Within MS Lists (Office 365), is there a way to display a link within the Comments? Currently When I add a URL, it is displayed as text only and not as link.
I know I can create a Comments column within the List itself, and apply the to Rich Text formatting on it, however, I wanted to try make use of the inbuilt comments function itself to able to add links to it.

Pass parameters from one rmarkdown page to another?

Thank you in advance. I am writing an rmarkdown script that outputs a pdf. It does a bunch of SQL queries based upon user inputs (I'm using the "knit with parameters" option now, but open to ideas).
I need the output pdf to go to a specific location. While I could do all of this manually, I'm trying to make this friendly to people with limited R experience.
The best I've found is using the render function, but I don't think you can render an Rmd file from inside itself.
So, is it possible to create an Rmd that prompts users for the inputs, passes these inputs to the Rmd that does the calculations and pdf creation, and then allows me to put this in a specified location?
Oh and finally, the location is dynamic - changing based on the inputs from the user.
Am I crazy? Is there an easier way?

C++ HTML viewer for scanning?

I just need some help in pointing me in the right direction. I have no issue with research but I don't know where to start!!! I want to make a program that uses a websites search function, but doesn't display the page. It will save the page and scan the HTML for a specific string and display it.
Would it work better to display the page in the background and search it, this way I don't have to save anything??
Where do I start??
A web page is mostly simple text. You can download a page with cURL and search it pretty much like you would any other text. If you don't want to search the contents of the tags, you'd want to search after parsing.

europemap using raphael.js

I need to create a European map with raphael.js.When mouse over on it,it should display the country name.I don know whether raphael itself form a MAP with the points else do we have to have a map.I really dont have any idea,Please help me on this.I tried looking at the site http://playground.mobily.pl/tutorials/building-an-interactive-map-with-raphael/demo.html,it says something like SVG.Where should I declare that in javascript.
Can anyone help me with this how can i start up or some clear idea.
You do need the contour of every country in SVG format and all of those should be in the same coordinate system, of course.
If you check the source of the page you refer to, it references a javascript file that contains those paths.

Saving user's data for my application part 2

My first question was: should I use dom, sax, or sqlite to save the data the user is inputting into my application. The answer I am going with is to use DOM.
My second question is: How should I load the contents of the file into the application when the user decides to open the file? Should it go through the whole file and distribute all the data to the correct spots in the GUI once the user clicks "open" on the file? Or should it only open the stuff up as the user clicks on certain areas?
My third question is: How does qt handle knowing when things have changed? How would i know when the user has changed something and ask them to save the file?
If you do not understand, please let me know and I will try to explain again.
Example:
I am not only reading gui locations.
But the contents of those. For
instance. The user is able to create
tabs that contain edit text boxes. And
those tabs are associated with items
that are in a list. When the user
clicks on an item in the list the user
will be presented with a whole set of
new tabs. And each tab has some
editing forms. The file will need to
contain what is in the list, what tabs
the user has created under each item
in that list and the contents of each
tab associated with the tab of each
item in the list.
Sorry that I posted another question that is similar to my last, but the other question was answered and now I need a new post.
Question 2: This very much depends on how much data you're dealing with. It will be much easier to load everything in one step. If you are expecting complex documents, it might be better to do it incrementally, but I would strongly recommend starting with the simpler approach.
Question 3: Qt does not handle this, except in as far as widgets will fire signals when they are modified. You need to do it, using a model of some sort. You could just use the DOM document directly as the model, although it may help maintainability to abstract the save format. Each change the user makes would cause a change in the model. You will need to detect when e.g. the user edits some text, update your model appropriately and keep track of whether it has changed since the last save.
What do you want to achieve with your solution? If you want to simply set Configuration why not using a simple Ini file (QSettings Class).
I don't know your application, but you should be able to recognise changes (lets say, if the user changed a QLineEdit or hit a radioButton).
There would be also a "sync" method for QSettings, which "rereads" the file you are working with. Qt won't recognise changes itself, you have to do that on your own.