WebAutomation using C++ - c++

I have to open an Url which is this -> "https://82.165.114.16:24850/swagger-ui/". Then after opening it. I have to select an Option called Authorize in it and enter my credentials to log in to it.
I have to do all these things in a single c++ program code.
I know there are better options available with other programming languages. So, anyone here suggests to me the possible ways to built c++ dll.
But here I would like to create a c++ dll which will be used in java in later times.
Thanks in advance. Waiting for exciting replies.
Yours Sincerely,
Mustaq Ahmed Althaf Hussain

Related

Connecting C++ and Node JS

I have been working on a project where I am interacting with a 3D camera(on a single machine) through its SDK written in C++. The extent of my knowledge in that language is just as good as what a basic crash course could teach. I need to provide an interface(web) which shows the camera preview from the SDK and when the capture image is clicked, I need to capture an Image using the SDK with a specified filename and path.
The approaches I thought of are:
Using NodeJS exec to capture images the compiled version(exe) of my program in C++. I am communicating the filepath and using json.
I could learn and use C++ CGI to simply control C++ SDK stuff.
Any help/suggestions would be greatly appreciated. Thanks in advance.
You can use one of the C++ CGI libraries out there but, as easy as they are to use, just calling an executable seems easier and cleaner. I think the scanner should come with a bundled tool to drive it, doesn’t it?

How to control lifx bulbs by C++ in computer

i'm a new guys here.And actually my programming language is basic.><
But i have a project about to control the wifi bulbs by C++ in computer.
And i don't know how to start to do it.
Can anyone give me some suggestion?
What should i started to do first?
Or how to improve my programming's knowledge about this project?
I have been downloaded the lifx http api in my computer. But i didn't know what is that mean... and didn't know when i have api what should i do next. i haven't done this before ..
Really thanks for your help !!
If your programming skills are basic I would never start with C++ but if that's not an option I can suggest you to go here:
https://github.com/kalimaul/lifx-api
And start working with it, at least you won't have to start from scratch.

How to get C++ to interact with the menus of a windows program/ how to get C++ to fully control another program

I am trying use C++ to automate the production of PDFs followed by transferring them into an Excel worksheet and formatting the information (Data Mining).
I am able to open/run the 3rd party program using C++ CreateProcess() or System().
But I am unable to interact with the menu of the program to import data and produce PDFs.
I have been stuck for 2 days (C++ novice) but I have done a lot of searching so I think it can be done.
Three quick questions:
Is C++ the best way to create an executable to accomplish this?
How would one get C++ (or a more recommended language) to talk to an opened program? (It is not a Microsoft program, it's an individually developed program). Once I get this I should be able to use C++ to talk to Excel and finish the job using a macro.
Out of curiosity, is there a way to accomplish all of this just by using an Excel macro? I know Excel can copy data from a PDF, but I am not sure if it can interact with another program to produce the PDFs.
Thanks a lot in advance. I really really really need your help.

What to learn to be able to send files online using c++ on windows?

What to learn to be able to send files online using c++ on windows ?
i know c++, and i got a program that does some benchmark and saves into a text file, i want that text file to be sent to me after the benchmarking is done, so what should i search for ? tried searching found something called sockets and something about server and clients in linux, kinda dunno what to search for.
this isn't a homework, just want to do it for fun xD, and would help me in future if i want someone who knows nothing about whats happening to test something for me (the file would have all i need and it will be sent to me).
I think you better off just emailing the file after a benchmark is done, and doing it using some bash or Python scripting rather than C++ or any other low level language. Here is an example of sending email using Python. Another option would be to upload to the FTP or use rsync to transfer file over SSH. And in any case, do not write your own client-server application for this.
If you still want to use C++, here is an example of sending email using POCO.
you will find some official documentation on Win32 sockets here:
http://msdn.microsoft.com/en-us/library/ms738545%28v=vs.85%29.aspx
This tutorial seems pretty good and simple:
http://johnnie.jerrata.com/winsocktutorial/
Have a nice day!

Double Entry Accounting in C/C++/Objective-C

I am working on a program and need to implement a double-entry accounting system. It would seem to me that there should be some open source project or code base out there already with most all of the basic accounting functions already written, but Google didn't turn anything up.
I don't want to re-invent the wheel, so is anyone aware if there is already a package out there that implements double-entry accounting in C, C++, or Objective-C?
Thank you!
(Frank)
Note: I am looking for a double-entry module to plug in to my existing application (it is a property management system) and I'm not re-writing a package like GNUCash. Sorry if I didn't state that clearly.
GnuCash - http://www.gnucash.org/
GnuCash is open source and I believe large parts of the backend are in C
Ledger - http://ledger-cli.org/
It's a pure C++ command-line engine for double-entry accounting. It follows the Unix philosophy so you don't actually even need to delve into the code--just parse the plain text output.