c - Related information

  • Convert XML elements to C structure arrays

    < crosswalk length= "1 " id = "0 " > <polygon> <point x="24" y="23" z="0.0">< point> <point x="25" y="23" z="0.0">< point> <point x="...

    CPP c
    Jun.09,2021
  • C language two-dimensional pointer

    What doesn t understand is that since arr+1 is already the address of the second line, * the address should be a value, why is it still an address? -sharpinclude <stdio.h> void main( ) { int arr[3][4] = { {1,2,3,4}, ...

    C
    Jun.08,2021
  • F is the pointer to the function, and add is the name of the function.

    my classmate asked me a second-level question: c a , d : < H2 > question < H2 > 1. What exactly is the name of the function? Is it a pointer? isn t that & add takes the address of the pointer? 2.a what is the difference between optio...

    C
    Jun.08,2021
  • Error in openwrt compilation

    there is an error that the intltool version is too low in Openwrt compilation. How to upgrade the version is an error in the staging_dir directory, not an error in pacakge. The error is as follows: Unescaped left brace in regex is illegal here in regex...

    Jun.03,2021
  • Is there an error in compiling and installing fribidi-0.19.7?

    is there an error in compiling and installing fribidi-0.19.7? execute. configure to report an error directly: . configure: line 2443: syntax error near unexpected token `m4 . configure: line 2443: `AC_CONFIG_MACRO_DIRS(m4) look it up,. autog...

    Jun.02,2021
  • Error: gettext infrastructure mismatch:

    when OpenWRT compiles popt- at 16:00, the following error occurs. What s the explanation? *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.17 but the autoconf macros are from gettext version 0.18 Makefile:154: ...

    Jun.02,2021
  • Print order of binary tree

    < H2 > Program Source < H2 > this program comes from "the c programming language " chapter 6, section 5 of Kremr < H2 > partial code < H2 > -sharpinclude<stdio.h> -sharpdefine BUFSIZE 100 char buf[BUFSIZE]; int bufcp = 0; int getch(voi...

    C
    May.26,2021
  • How to set Cookie in CGI

    The CGI, written in C has the following statement printf ( "Set-Cookie:username =% s; path= r n ", username); can be set successfully and can be read at the front end. but if I want to set two values, I try the following methods: printf ( "Set-...

    May.24,2021
  • Swoole web online chat

    1. Scene: 2. Doubt ...

    May.22,2021
  • The problem of the realization of Krypr exercise 5-13 tail [- n]

    1. Environment: centOS 7 virtual machine 2. Code: tag: tail.c -sharpinclude<stdio.h> int my_getline(char *s, int maxlens) { int c; int i; for(i = 0; i < maxlens && (c=getchar())!= EOF && c != n...

    C
    May.22,2021
  • C Epoll socket read Connection reset by peer

    Client code: -sharpinclude <arpa inet.h> -sharpinclude <unistd.h> -sharpinclude <stdio.h> -sharpinclude <sys types.h> -sharpinclude <sys stat.h> -sharpinclude <string.h> -sharpinclude <fcntl.h> -sharpinclude &l...

    May.22,2021
  • On the problem of string modification

    topic description modify a character in the string to be 0 sources of topics and their own ideas I found this problem when I was reading a project, and then after writing the relevant code, I found that there was still a problem, but I didn t ...

    C
    May.11,2021
  • How does getpwnam () work in linux?

    how does getpwnam () work in linux? recently I was studying linux programming and encountered a function getpwnam (). This function definition is defined in pwd.h as: extern struct passwd *getpwnam (const char *__name); then I started to find out wh...

    C
    May.06,2021
  • Pointer problem of C language

    requirements: C language implements producer-consumer model student_queue queue producer thread consumer thread question: when getting data from the queue, student is not assigned after the student_queue_get () function is executed st...

    C cPP
    May.02,2021
  • How to get the object array of user table directly through sql association query?

    1. Hope result: [ { "created_at": "Wed Jun 01 00:50:25 +0800 2011", "id": 12438492184, "name": "love your work.......", "user": { "id"...

    Apr.29,2021
  • Why does char* do this in struct?

    problem description I want to read out the contents of a text file, but I don t know why the line read is stored in the char * type of my custom struct type, which always modifies the previous read char *. I marked out the problem with comments rel...

    C
    Apr.28,2021
  • When the frog crossed the river, I got it wrong. Recursive Hanoi Tower

    1) A stream is small in size, and frogs can jump from the left bank to the right bank. There is a stone pillar L on the left bank, and the stone pillar L area can only accommodate one frog. Similarly, there is also a stone pillar R on the right bank, an...

    Apr.28,2021
  • Why did the program stop immediately after entering the letter or + (space) 5 in Kpragr getint.c?

    topic description as written, getint treats a + or-not followed by a digit as a valid representation of zero. Fix it to push such a character back on th input. sources of topics and their own ideas from Kmurr related codes -sharpinclude<ctyp...

    C
    Apr.19,2021
  • C language to use the strcmp function, how to convert int to char *

    topic description I hope the gods can give me the code sources of topics and their own ideas A lookup function that uses the strcmp function to compare related codes Please paste the code text below (do not replace the code with pictures) ...

    C
    Apr.16,2021
  • A little confusion in playing audio by SDL2

    when I see Audio Example in SDL2, I have some doubts about some of the code. The code is as follows: sdl_audio_example.c -sharpdefine MAX_AUDIO_FRAME_SIZE 192000 TODO: 1. TODO: 2. audio_chunkaudio_pos = out_buffer?? static Uint8 *audio_ch...

    Apr.14,2021
  • About the separation of foreground and background of node and the security of background interface

    background data interface: foreground display page is: the foreground accesses the background interface across domains, while the background only opens access to qiantai . However, there are still some people who attack the interface crazily, directl...

  • How to add extensions through php.ini in linux?

    when compiling and installing, I only use the following command to install, and then I want to change php.ini as in windows to open the extension . configure --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-soap -...

    Mar.14,2021
  • WeChat Mini Programs lateral sliding failure

    forecastArray : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] the related code is shown in the figure. You want to implement a horizontal sliding list, but you can t slide it. ...

    Mar.25,2021
  • Is it really that simple to make a complete H5 application?

    as detailed in the title: the problem came in the background when I was asked to pick a set of other people s H5 pages to the local, the template is https: m.youxiake.com free, always Ctrl+s save each static page, and then throw it to the backgro...

    Mar.20,2021
  • How to modify cookies in scrapy

    problem description crawl https: auto.ru cars all ?sor.. After opening the page, you need to click a button. When you click the button, the website will set cookies.. However, there is a field in cookies that is not set through set-cookies. The fiel...

334 items Prev 1 5 6 7 8 9 10 11 12 13 17 Next
Menu