Fast C++ program, C# GUI, possible?

C#
I'm looking into developing an application that will process data from a line-scan camera at around 2000 lines (frames) per second. For this real-tim...
2 years ago

C/C++ printf() before scanf() issue

C
I'm using Eclipse to code in C/C++ and I'm struggling with what might be something pretty easy. In my code below I use printf() and after scanf(). Alt...
2 years ago

C++ equivalent for C# Action passing

C++
can somebody help me find a solution? I want to know whether there is a C++ equivalent for the following C# code: // C# Code here private void Execu...
2 years ago

Triggering event in C# from C++ DLL

C#
I have an umanaged C++ DLL which is communicating with a Cisco Server (UCCX). It sends and receives messages to and from this server via TCP/IP. Now...
2 years ago

Wrapping C++ class API for C consumption

C
I have a set of related C++ classes which must be wrapped and exported from a DLL in such a way that it can be easily consumed by C / FFI libraries. I...
2 years ago

How to call C++ code from C#

C#
I have C++ code. That code contains Windows mobile GPS enable/disable functionality. I want to call that method from C# code, that means when the user...
2 years ago

Packing and pointer aliasing, C and C++

C
union vec { #pragma pack(push,1) struct { float x, y, z; } #pragma pack(pop) float vals[3]; }; Consider the above definition. (Ano...
1 year ago

Implement callback C# functions for C++ DLL

C#
I'm writing a DLL wrapper for my C++ library, to be called from C#. This wrapper should also have callback functions called from the library and imple...
2 years ago

Sending float values on socket C/C++

Linux
I`m a newbie at programming; I need to send some float values from a program in C++ to another one in C. I found this sample code on the internet and ...
3 years ago

How to Interop between C# and C++

C++
I'm attempting a very basic interoperation between the 2 languages. I basically have some performance intensive code I wanna handle in C++ and then ge...
2 years ago

tracking dynamic memory allocation in c/c++

C
In c or c++, Is there any way to keep track of dynamically allocated memory. Say i have code like this void somefunction(some arguments,long mc){ //a...
2 years ago

Dll Import C++ to C# with Arrays

C#
I've been given the assignment to port some library routines to C# so our other application developers can access it, but I don't know how to declare ...
2 years ago

Is C# really slower than say C++?

C#
I've been wondering about this issue for a while now. Of course there are things in C# that aren't optimized for speed, so using those objects or l...
2 years ago

minimum double value in C/C++

C
Is there a standard and/or portable way to represent the smallest negative value (e.g. to use negative infinity) in a C(++) program? DBL_MIN in float...
2 years ago

Parsing C Header Files in C#

C#
I'm working with Visual Studio C#, and I need to parse C header files to extract information only about the function declarations contained within. Fo...
2 years ago

C# code to Objective C Equivalent Code

C#
I am trying to convert code written in C# to objective c, I tried but unable to get the same result . Any help will be appreciable. internal static ...
2 years ago

Installing C/C++ Compilers in Android

Android
Is there any way to have C/C++ compilers directly into the Android device ? Something like I can adb shell the device and run gcc or agcc or somethi...
3 years ago

Detecting signed overflow in C/C++

C
At first glance, this question may seem like a duplicate of http://stackoverflow.com/questions/199333/best-way-to-detect-integer-overflow-in-c-c, howe...
3 years ago

Convert code from C++ to C

C
Does anyone know how to convert this line from C++ to C programming language? i wrote this code in C++ and i want to convert it in C. bool compare(s...
3 years ago

Python C API and C++ functions

C++
I'm trying to extend the Python interpreter in my C++ program, my problem is as follows. When I'm trying to call a function, explained in the code bel...
3 years ago