strcmp
In C how to strcmp just the beginning 2 characters and then concatenate? [duplicate]
This question already has answers here: How to check if a string starts with another string in C? (10 answers)[详细]
2023-03-06 01:25 分类:问答How to compare integer arrays?
I have four sensors (sen0-sen3) which return either 1 or 0 and I am making an array of values using sprintf. Then I am trying to compare them with 0000 or 1000 and so on.[详细]
2023-02-26 13:28 分类:问答C \ UNIX \ strcmp first use is wrong, correct all other times
hey all i wrote some code on microsoft VS which is suppose to compare passwords entered to ones stored in database and return approved or denied...[详细]
2023-02-22 02:28 分类:问答Help using Strcmp() with a binary file
I have a functionvoid display_a_student() which uses two binary files. Firstly a binary1.dat and and index.dat which contains the offset of each student added to the binary1.dat.[详细]
2023-02-20 19:47 分类:问答error C2664: 'strcmp' : cannot convert parameter 2 from 'char' to 'const char *'
I need help about that script. BOOL Checking(LPCSTR MacID) { char ClientMacs[18] = { \"11:22:33:44:55开发者_JAVA百科:66\",};[详细]
2023-02-19 22:30 分类:问答strcmp behaviour
When I run the following code: #include <stdio.h> int main(int argc, char *argv[]) { int p = 0; p = strcmp(NULL,\"foo\");[详细]
2023-02-09 19:39 分类:问答Segmentation. strcmp [C] [closed]
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic[详细]
2023-02-04 19:08 分类:问答Inlining this function or not?
I\'m supposed to implement a function which compares two strings simliar so strcmp but ignoring whitespace characters, so[详细]
2023-02-01 12:06 分类:问答compare fgets to the user input
can you help me with my code? I want to do a program that will determine if the student id was already used, i can compare them once... but what i want to do is to have a comparison every time the use[详细]
2023-01-28 16:21 分类:问答#c strcmp() isn't working as it should
I want to compare between two char* so i do it with strcmp, look, in debugging mode, both char* in strcmp gets the same value and still it[详细]
2023-01-28 10:15 分类:问答
加载中,请稍侯......