I have a gsm-modem and plc, plc sees a modem (I use *.lib and the function block “openPort”), but I don’t understand how to write “in the modem” at command”, such as “ate0”. First, in order to i
Category: C & C++
C language is a general-purpose computer programming language with a wide range of applications. The design goal of C language is to provide a programming language that can compile and process low-level memory in a simple manner, generate a small amount of machine code, and can run without any operating environment support. C++ is an object-oriented programming language developed on the basis of C language, which is widely used. C++ supports multiple programming paradigms-object-oriented programming, generic programming and procedural programming.
How to pack printf () into a function or macro?
This sounds a bit like an interview question, but it is actually an actual question.
I am using an embedded platform and only provide this The equivalent of these functions:
> printf(
Handling the best practices for processing a string in the VC?
Since I am new to Visual C, there are many types of strings that can be processed. When I use a certain type and continue to code, but in the next step, there are other types of built-in functions
Error: Unable to build Objective-C Module ‘Firebase’
When I compile the application, I get an error equal to this:
Could not build Objective- C module’Firebase’
This error appeared in the import of my file swift into Firebase.
>Exit
How to read an integer group in the file in C
I have a text file, each line contains one or more integers, separated by spaces. How can I read this in C in an elegant way? If I don’t care about the line, I can use cin>>, but the important thin
Realize HashMap
How to create a Hashmap in C from scratch?
What parameters to consider and how to test how good a hashmap is? Just like the benchmark test case you need to run before you say that the hash map is
Strcmp () Returns the value in C
See the answer in English> How does strcmp() work? 9
I am learning strcmp() in C. I understand that when the two strings are equal, strcmp returns 0
However, when the man page states that st
Use the advantages and disadvantages of nesting Class C and enumeration?
What are the advantages and disadvantages of using nested public C classes and enums? For example, suppose you have a class called printer, which also stores information about the output tray, you
Class C or C
I am working on a factorial program and when trying to find a factorial of 1000, the program does not work. I think large integers are the solution; how do they work? (In C or C) GMP can perform
c – How to use OpenSSL in GCC?
I am trying to use openssl in a gcc program, but it does not work properly.
g++ server.cpp /usr /lib/libssl.a -o server gives an error message, just like the -l option. What must I type on t