Questions tagged [cross-language]

In programming, "cross-language" or "multi-language" refers to features that operate across multiple programming languages.

In programming, "cross-language" or "multi-language" refers to features that operate across multiple programming languages.

Cross-language features include type systems, data formats, storage layouts, etc. which are common across multiple languages. They help applications or services written in different languages to inter-operate and exchange information.

132 questions
0
votes
3 answers

Calling a function in another lagnauge

Im writing a program in php which does almost everything it needs to do, but at one point i need to use a function that is written in python using the mechanize library, both these scripts will be hosted on the same server. My initial thoughts are…
sam
  • 9,486
  • 36
  • 109
  • 160
0
votes
1 answer

Sitecore cross-culture linking

If I have an item in en-US and I want to link to the same item in zh-CN culture from the en-US version in the rich text editor, how can I accomplish that? Also, how will the context language/culture be affected? Thanks
Gabbar
  • 4,006
  • 7
  • 41
  • 78
0
votes
2 answers

Haxe to C++ conversion: Generate C++ source?

I'm very new to Haxe, and specifically want to use it to produce C++ code from Haxe (actually the flow would be AS3->Haxe, then Haxe->C++). My understanding is that Haxe compiles Haxe directly to a (C++) executable. But does it explicitly output the…
Engineer
  • 8,529
  • 7
  • 65
  • 105
0
votes
1 answer

C# cannot see C++ constructor that takes arguments

I have a class created in C#, and I want to reference a C++ class that was created. When I try to create an instance of the C++ class in C#, it can see the default constructor, but it can't see the constructor with arguments. C++ cppClass…
Bob.
  • 3,894
  • 4
  • 44
  • 76
0
votes
1 answer

Connect PHP Client to Java backend

I need to connect PHP client code to JAVA backend, where the actions are : 1. http request will be sent from PHP client. 2. It will interact with JAVA code on Model and will store data in Nosql using JAVA backend I read about this php-java…
Nishu Tayal
  • 20,106
  • 8
  • 49
  • 101
-1
votes
1 answer

How to cast a python list into a pointer of type void in C

I'm trying to learn how to use ctypes in Python and I came across this example in the documentation class Bar(Structure): _fields_ = [("count", c_int), ("values", POINTER(c_void_p))] bar = Bar() bar.values = (c_void_p * 3)(1, 2, 3) bar.count =…
Songg Tùng
  • 139
  • 8
-1
votes
1 answer

How to call C function received as an argument

I want to use Go library with some adjusted in C. I made GoAdder Go function that having 3 arguments int x, y and function typed f. And GoAdder function going to call f argument. adder.go package main import "fmt" import "C" //export Ftest type…
-1
votes
1 answer

Best practice: Displaying image generated by C program in PHP website

I would like some advice about what would be the best practice from a design perspective when tackling this problem: I have a website that is currently displaying an "image" generated by google maps. This website runs on an Apache web server in…
JeanAlesi
  • 478
  • 3
  • 17
-2
votes
6 answers

Will a .cs file work in a .java software?

So I'm thinking about making a GUI. My friend told me he knew how to do it in C#, so I went that method in setting the GUI up. Is there anyway to get a C# made GUI usable in java?
Scaream
  • 13
  • 1
  • 6
-3
votes
4 answers

C vs C++ global variable in header

I know that global variables should not be defined in a header and that we should instead use extern to only declare them in the header. But I've tried nonetheless to define a global variable in the following header lib.h: //lib.h int i; void…
-3
votes
1 answer

Interface javascript with arduino

I'm an arduino noob and I'm trying to interface some javascript with arduino. For now all I'm trying to do is move a servomotor in a direction if a js variable is under a certain value and moving it the other way if it's above that value. I don't…
Mihai Bujanca
  • 4,089
  • 10
  • 43
  • 84
-8
votes
2 answers

Are there completely-generic objects in C++ like in JavaScript?

I'm new to C++, but with some experience in Javascript. In JavaScript, when I write: var object = {}; I create an object that is "completely generic" in the sense that it has no members/features, but it can have any member we like by adding that…
1 2 3
8
9