home
Put quickly: I want to send a full char * from a C module (build with SWIG) to a python callback...
Ok so I'm getting this error and I have no idea how to fix it: invalid conversion from 'signed...
23 hours ago

Variable stuck into If

I'm trying to learn C++ and I'm creating some useless application to test. I'm working with const...
I need to compare a string and an array of char in C, but I'm not sure how to do so... how to...
I want to figure out how to get a particular integer character in a string in Python. I find...
I'm creating in a function a new array of pointers of chars. char* arg[TAM] = {}; With TAM...
In C#; I understand that numbers are different to signs... As I understand it, a byte conversion to...
It should show the output as 3 but it is showing a box(Unrecognized symbol). What can be the...
I try to create 2 matrices: 1 of char* and 1 of THAR*. But for TCHAR* matrix instead of strings I...
Had a basic c++ question. I find char array not initialized are having length > 0. Can someone...
So, the goal is to put "n" letters in "n" lines, n being the iterations size. But a unexpected...
I want to read a few words from a file. I didn't found any method to do this, so I decided to read...
I would like to know how are data really stored, because in example beyond is intuition weak. I...
I am writing a QT widgets application that includes serial communication with an Arduino. I found a...
Here is the sheet that I need to follow https://imgur.com/a/JuLpQZt Here is my code as of...
I have a C function as below: void sign(const char *in, int in_size, char *out, int...
I'm currently making an ultra simple tictactoe program but I've run into a slight issue. I've...
Can someone explain to me why when I exit my while loop my get-pointer position is returned to -1?...
This question already has an answer here: C or C++. How to compare two...
In the following iteration char[] chars = new char[26]; for (int i = 0; i <...
For example String grdwe,erwd becomes dwregrdwe I have most of the code I just have trouble...
I need some chars that UTF-16 doesn´t support. I can´t find them. Can you please help me? char[]...
I'm using the libxslt C library, and need to pass in parameters as const char *. I'm wrapping the...
The most languages has certain technics to obtain ASCII encoded value from char or string. I would...
If I were to allocate a string like this would it be safe to work with? i.e. should I expect any UB...
This results in segmentation fault. What needs to be corrected? int main(void) { char a_static...
I try to covert unsigned long int to char but I got some error int main(void) { unsigned char...
I was reading about InputStream and InputStreamReader. Most of the people said that InputStream is...
My problem is this I have a character array of length 4 that basically represents a word (this...
char *p = strtok (argv[1], ",") # Works perfectly char *p = strtok (getenv("somestring"), ",");...