strcat
How to connect strings in MATLAB
I try to do the following: fname = strcat(\'C:\\Users\\user_name\\work\\video\\\',avi_name); videoObject = VideoReader(fname);[详细]
2023-04-12 20:50 分类:问答strcpy and strcat cause problems sometimes
hello I have a code like the one below char *str ; strcpy(str, \"\\t<\"); strcat(str, time); strcat(str, \">[\");[详细]
2023-03-31 18:38 分类:问答How can I join a char to a constant char*?
I have a function that joins two constant char* and returns the result. What I want to do though is join a char 开发者_Python百科to a constant char* eg[详细]
2023-03-30 05:32 分类:问答C memory question
char buffer[10]; strcat(buffer, \"hi\"); printf(\"%s\", buffer); In the above code, it prints some weird symbol or number followed by the \"hi\", I know strcat is appending to buffer. And I normally[详细]
2023-03-30 01:46 分类:问答strcat eccentric behavior
I wrote this simple C program and couldn\'t quite figure out this bizarre behavior of strcat long sum(long col, char* path, char* path2){[详细]
2023-03-28 05:09 分类:问答Matlab character to string convertion problem. What function to use?
x = 1234567897654 x(1) is 1, x(2) is 2 and so on... there are 5 spaces in between.. size(x) = 1 23 One row with 23 columns[详细]
2023-03-27 13:58 分类:问答Writing more characters than malloced. Why does it not fail?
Why does the following work and not throw some kind of segmentation fault? char *path = \"/usr/bin/\";[详细]
2023-03-21 05:18 分类:问答Getting unnecessary value while concatenating strings
I am getting problem while concatenating strings.I think this is the stupid question,but i didn\'t get answer.Thats why i am posting here.Please Help me.[详细]
2023-03-14 05:41 分类:问答how to strcat in OPENFILENAME paramaeters in C programming
I have a working code using OPENFILENAME. May i know how to use strcat to dynamically control the its parameters[详细]
2023-03-12 01:34 分类:问答Malloc() memory corruption error after concatenating a string
Guys I\'m generating a string which rappresent a path to a file, concatenating a macro and a string. The function is this:[详细]
2023-03-01 14:45 分类:问答