C libraries with a C++ solution
C++ |
https://codedump.io/share/cC6bLxfFJz73
|
I'm new to C++ and I am working with an industrial solution containing GUI and HMI.
The solution is developed in C++, and im asked to interface the Hi...
3 years ago
Wrap C++ namespaced enum to C interface
C |
https://codedump.io/share/g3VQNbhvVcrF
|
I'm trying to wrap an existing 3rd party C++ library to a C interface, so that it can be used in bindings for another language. I'm having trouble fig...
4 years ago
Remove comments from C/C++ code
C |
https://codedump.io/share/NibTbvBtnhnf
|
Is there an easy way to remove comments from a C/C++ source file without doing any preprocessing. (ie, I think you can use gcc -E but this will expand...
4 years ago
C - FFmpeg streaming from a C program?
C |
https://codedump.io/share/coa3GFF1YOUV
|
I'm looking to replicate an FFmpeg command-line command in my C code. Specifically I would like to be able to run:
ffmpeg -re -i video.mp4 -f mpegts ...
4 years ago
Does C++ contain the entire C language?
C |
https://codedump.io/share/FhLRJhiUxYka
|
I have read in tutorials that C++ contains the entire C programming language.
However I have also read, in places like this that
If you learn C++...
4 years ago
Printing all environment variables in C / C++
C |
https://codedump.io/share/lZkQZv5m2LiQ
|
How do I get the list of all environment variables in C and/or C++. I know that getenv can be used to read an environment variable, but how do I list ...
4 years ago
How to call C++ function from C?
C |
https://codedump.io/share/iAGpZY10I5V6
|
I know this.
Calling C function from C++:
If my application was in C++ and I had to call functions from a library written in C. Then I would have us...
4 years ago
C/C++: Write and Read Sockets
C |
https://codedump.io/share/0MuYpOhTumQp
|
I'm sending and receiving info with a unix socket, but I do not completely understand how it works. Basically, I send a message like this:
int wr_byt...
3 years ago
C inline function used from C++ code
C++ |
https://codedump.io/share/BIYRQgS5jPmC
|
I am trying to call an inline function defined in C from C++ code and I am getting an unresolved symbol error. Can I even do this?
In def.h:
#ifdef ...
3 years ago
What is %*c%*c in `printf`?
C |
https://codedump.io/share/gb2BvZbE7mGG
|
When i use printf in %*c%*c in printf, it requires 4 values and also prints the sum of 4 and 5. I could not find a valid reason for this.
When resea...
3 years ago
Unified Code Counter C/C++ Counting Rules
C++ |
https://codedump.io/share/kJn6F2ggntOB
|
USC's UCC (http://csse.usc.edu/ucc_wp/) has counting rules in their documentation if you download from the link. The counting rule in question here co...
3 years ago
c++ - function requires c style array
C++ |
https://codedump.io/share/qXOmSpXw4E7f
|
I need to use some static c-libraries in my c++ code.
There I have a lot of functions which look like this (here I use a very simple example in this ...
3 years ago
C# library to native C++ application
C# |
https://codedump.io/share/D1KMcSu7BqEd
|
I know I can use dll import + wrapping (managed) to use C++ libraries in C# applications (question link>>) but what's opposite? How can I use C# libra...
3 years ago
BUILD FAILED Netbeans 7.4 C / C++
C |
https://codedump.io/share/tHxL9gUjeYU3
|
I am trying to fix my Netbeans IDE to compile C / C++ programs, but I get the following error:
"/D/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefil...
3 years ago
Converting C# hash function to C++
C# |
https://codedump.io/share/7SqxlKgnvlvX
|
I have this function in C#:
public static unsafe int GetMonoHash(string str) {
unsafe {
fixed (char* src = str) {
char* chPtr...
3 years ago
Understanding some crazy C/C++ declarations
C |
https://codedump.io/share/2N1fW8XUjibX
|
Possible Duplicate:
How to understand complicated function declarations?
Consider:
char (*(*x())[5])()
How do I dissect this expression?
...
3 years ago
C/C++ macro to repeat code
C |
https://codedump.io/share/AzhwPeGLE9vc
|
is there any way to repeat a C code N times with a macro? Also N is a macro.
For example if I have this macros:
#define N 5
#define COODE "nop\n\t"...
3 years ago
Any good C/C++ DSP library?
C++ |
https://codedump.io/share/pfkrjEewqYUb
|
Which DSP library in C/C++ would you recommend? I will need it for real-time embedded systems. It'd be great to have sound signal processing accompany...
3 years ago
C# vs C default enum Values
C |
https://codedump.io/share/3bp4hq8RdNmU
|
After many years of reading on this site (and getting many helpful solutions), it's time for me to ask a question:)
I was wondering about the default...
3 years ago