How to use OXml with C++ Builder 10.1 Berlin Update 2 Starter - c++

I want to use the OXml component (OXml website) with C++ Builder 10.1 Berlin Update 2 Starter. I asked arround in the newsgroups of Embarcadero, in the Community of Embarcadero, on the forum of the creator of OXml. But no-one replied. I am new at using components. I used the TXMLDocument in Turbo C++ Explorer which worked well. But now I want to use a modern developmenttool.
My question is basically: How do I use OXml in C++ Builder Starter. I installed it as a component which created .hpp and .dcu files. But how do I use it further. I looked at the .hpp files and every .hpp file has its own namespace. I want to read XML files and extract the data within them so I can use it in my programs.
Hope someone can give me some examples how to do this.
Greetings,
Don

Related

What to download in visual studio to create UML diagram

I'm a C++ beginner, and usually use DevC++.I need to create a UML diagram and I am trying to use visual studio. In videos that I have seen online I notice that they use templates from the C# library to access modeling projects such as UML diagrams. Does anyone know the extension that I'm supposed to download for this? Some options include SteelToe.net and ASP.net (in case I'm not using the proper terminology for the downloads available in C# template). Or does anyone know any good free websites to create UML diagrams in?
I tried downloading the React Core boilerplate extension because in the description it said TypeScript, and I saw that in one of the videos. However, it would not even open for me.
Starting with Visual Studio 2017, the UML Designers have been removed from Visual Studio. For more information, see Microsoft's Documentation site and Microsoft's Developer Blog.
What exactly do you need to model and why? There is a hell of tools but it is hard to recommend any without specification of your needs.
use Visio - a lot of UML templates and images.
option1:
https://www.lucidchart.com/pages/examples/uml_diagram_tool?a=1
option2:
https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml
option 3.
https://www.visual-paradigm.com
depends what type of UML you want to create.

How to install npgsql for c++ in Visual Studio 2017

sorry if this is too simple to be of help to most people.
This is the first time I have done anything remotely like this and it appears that my problem is too unadvanced to be covered in any documentation.
I am trying to connect a c++ project in Visual Studio 2017 to a PostgreSQL database.
Just to be clear, I know how to run pgAdmin/host databases, code in C++, and I think I could handle the npgsql syntax if I got it working.
However, I've never used .NET (although 4.5 is on my computer).
Here's what I am doing:
I start an empty project for C++ in Visual Studio 2017.
I open nuget manager and search npgsql, but my project is pointing to native,v0.0 instead of a .NET framework.
So I target v4.5 in the .NET framework property, but that doesn't change anything.
Could someone please tell if what I am trying to do is possible?
Should I be using a different project other than empty project?
Does this need to be some kind of web application?
If it is possible I'd love any advice on how to do it.
If you are writing a native c++ program it is very unlikely you want to bring in a .net assembly. If you want to connect to a pg database I would suggest instead that you use the odbc driver (https://odbc.postgresql.org/) or perhaps there is some library available as part of PG, but using a .net assembly will require a great deal of unnecessary interop work.

Stanford cs106b C++ library in XCode 8

I am right now trying to solve the exercises of the free cs106b class, but cannot succeed to setup the needed libraries. I am new to C++ and not that experienced in XCode. I tried to to directly copy the library files I found on [Github] into my XCode project. I tried now for hours to get this package working but it seems they have to be installed in a special way.
I would be glad if somebody could give me some references on how to install a C++ library in XCode, especially the library given by Stanford.
P.S. with the "old" class I was given an .pkg installer, which I installed but did not seem to change anything.
I cannot help much with the XCode IDE. I have personally completed the course myself; however I used QT creator. The CS106B or CS106X official website (version 2016) provides very good documentation about how someone can go about and get started. http://web.stanford.edu/class/cs106b//handouts/qt-creator.html
A point to note: I used the SEE CS106B videos (the online cs106B) to complete the 2016 CS106X course. Please have a look around for the assignment files, in the official cs106B/cs106X website. In case you cannot find it, let me know, I can send it to you. I hope this helps.

VSTSDK and Visual Studio Express 2010

I am new to C++ and Visual Studio and have two questions:
Where do I need to put the VSTSDK so that VS recognizes it and I can use it in my projects?
Does anybody have some sample code for a VST host?
It doesn't matter where you put the VST SDK, as long as you tell Visual Studio. In Visual Studio, you can add any library and #include path, and that's what you'll need from the SDK.
I would also recommend checking out the Audacity Source Code for a VST hosting example. There used to be a great vsthost.cpp example on the web, too, but I can't seem to find it. =/
There are some few examples like, vsthost, vstboard, audacity.
vsthost is using asio only, the 2 others are using portaudio and portmidi.
vstboard is using Qt for gui, audacity uses wxwidget.
The problem is : what kind of host do you need (simple for one plug in ora complex one) Also, you should take a look at JUCE library which offers good features for all of that even if I would prefer the vstboard design (Qt + portaudio)
good luck

Using C++ with Eclipse

I'm figuring out that there's two ways of writing C++ in Eclipse: either download the Eclipse IDE for C/C++ Developers or download the regular Eclipse for java and add the CDT plugin. What is the difference between these two? (Note that I'm already exstensively using Eclipse for Java) Thank you
The C++ tools end up the same so depends if you use Eclipse for other things.
If for other things then I would start with the more complex setup e.g. if you do Java J2EE I would download the Eclipse J2EE then add the C++ tools
If just C++ start with the Eclipse C++
I also found using the Yoxos/Eclipse Source packaging easier to download extra packages. (unless you need the absolute latest patch)
edit:
Sorry I did not read the question fully I have given the general answer. However as you have eclipse working and setup already and if you are happy then just download the C++ plugins. Note I have a separate workspace for java and C++ helps as you will want different perpecives etc and also cuts down on the projects in the explore rs/
Or use EasyEclipse for C/C++ and get a few other useful tools pre-integrated too.