Is it possible to use applets in C++ [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to create a game in traveling salesman problem using iterative algorithm.
I need the output in an applet environment, in a new window.
Is it possible to use applets in C++ like we normally use it in Java platform?
Can anyone clear my doubt?

No. Java applets compile to Java bytecode and are delivered to a JVM running in a webbrowser. C++ programs (currently) cannot be compiled to Java bytecode, so they cannot be shipped to webbrowsers. Google is doing some work in this area (Native Client, NaCl) but that's far from finished.

Related

Handling Apple events from console app on Mac [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Please give me some hints about how to work and, more practically, handle Apple events from raw console application written in C++ on Mac. I know that there is huge infrastructure for this purpose in Cocoa but as I think this is only a wrapper.
May be it's impossible?
There is C API for it:
http://developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Open_Scripti_Architecture/Reference/reference.html
and
http://developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Apple_Event_Manager/Reference/reference.html
Overview:
http://developer.apple.com/legacy/mac/library/#documentation/AppleScript/Conceptual/AppleEvents/intro_aepg/intro_aepg.html
But as you can see that Apple considers this as legacy nowadays, so for a new project, using the Objective-C APIs might be the better choice.

user interface design with c++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to create a user interface. The format should be example on the following link. I want to use C++ language as PL. So, Do you have any recommendation how can I achieve ?
DEvelopment platform should be both Windows and Linux.
http://www.visualpharm.com/images/Image/Loto%20Master/ui_design_lotomaster_main.png
http://www.crystalxp.net/galerie/img/img-resources-psp-firmware-user-interface-psd-gctonyhawk7-463.jpg
qt
,
framework for UI creation in c++. IDE is avaliable for linux and windows.
User interface development under Windows and Linux are quite separate fields. On Windows you usually use WinAPI with framework on top (e.g. MFC) while on Linux GTK+ or KDE. However there is a framework which is available for both (Windows and Linux) - Qt.

How to start writing a firewall for linux? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to develope a firewall for Linux. I prefer C/C++ language.
Is there any simple sample code for writing a firewall?
Which libraries should I use?
Update: There are some firewalls for Linux, but I want develope a simple firewall for learning.
You can start by using the Netfilters API (http://www.netfilter.org/). I think it is a good starting point for packet filtering. I've worked a lot with this API in kernel space. I'm not sure if there is a library for user land, but I must tell you that it's pretty easy to develop something with netfilters in the kernel.
As an example, iptables use the netfilters API.

about win32 standalone:tracking a browser? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to make a standalone using c++.In my standalone I want it to track user's clicks,I mean which link does he/she clicks.I am trying to count how much time he/she uses a perticular site,like pageaddict(a firefox extension).
So any support..?
If you want to make a Firefox extension, you should be using JavaScript. In C++, you might make a sniffer, which could tell you from what site the packets you receive are from. But that would require quite a lot of knowledge and of time.

C++ windows registry editing [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
hey i need c++ program to edit windows registry
One good program is Regedit.exe. It is probably written in C++.
Qt has an excellent framework for editing registy - that is, QSettings. And for bonus points, if you happen to change your mind and go Linux, your code would still work, storing your data in .ini-style configuration files.
Take note that Qt is very fat for a C++ library, but also very functional. There's a crazy lot you can do with it. I also absolutely recommend it for GUI.
There are probably a thousand small C++ wrappers for registry access. Of course I wrote my own, too. See the class RegistryKey in my envvc program. It's only read-only access, but you'll get the idea.