JIYIK CN >

Current Location:Home > Learning >

All

Executing Shell Scripts in Node.js

Publish Date:2025/04/17 Author:JIYIK Category:Node.js

Executing Shell Scripts in Node.js

In this short article, we will learn how to execute shell scripts using Node.js. Execute Shell Scripts in Node.js using the shelljs module ShellJS is a portable implementation of Unix shell commands on top of the Node.js API. We can use it...

Full

Node.js sends files to the client

Publish Date:2025/04/17 Author:JIYIK Category:Node.js

Node.js sends files to the client

In this article, we will learn how to send files to the client in Node.js using Express. Sending files using Express in Node.js Express.js or Express is a backend web utility framework for Node.js. Express is a Node.js web application frame...

Full

Throwing Errors in Node.js

Publish Date:2025/04/17 Author:JIYIK Category:Node.js

This article will explain how to throw errors in Node.js. Throwing Errors in Node.js Errors are statements that do not allow the system to function properly. Errors in Node.Js are handled through exceptions, which are created with the help...

Full

Using shmget in C to allocate shared memory

Publish Date:2025/04/17 Author:JIYIK Category:C语言

shmget This article will demonstrate various ways to allocate shared memory in C using the function. shmget Allocating shared memory in C using Shared memory is one of the ways of inter-process communication, which allows two or more proces...

Full

Exponentiation in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will demonstrate various ways on how to use exponential functions in C language. In C language, use pow as the method of exponential function pow The math function is part of the C math library and math.h is defined in the head...

Full

Copying character array in C language

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will demonstrate various methods on how to copy a character array in C language. memcpy Copy a character array in C using the function char Arrays are probably the most commonly used data structure in C code, and copying array...

Full

Dynamically allocating arrays in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will demonstrate various ways to dynamically allocate arrays in C. malloc Dynamically allocate arrays in C using function malloc The allocate_by function is the core function for allocating dynamic memory on the heap. It alloca...

Full

Initializing character array in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will demonstrate various ways of initializing a character array in C language. {} Initializing a character array in C using curly brace list notation Character arrays are mostly declared as a fixed-size structure and are often...

Full

Clearing a character array in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will introduce several methods to clear character arrays in C language. memset Use function to clear char array in C language memset The _set_storage_region function is commonly used to set a storage area to a constant value. T...

Full

Printing Character Array in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article will introduce various methods on how to print character array in C language. for How to use loop to print character array in C language If we want to print array elements individually and format the output with more details, f...

Full

Initialize array to 0 in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This article explains how to initialize an array to 0 in C language. The declaration of an array in C language is as follows. char ZEROARRAY[ 1024 ]; It becomes all zeros at runtime in the global scope. If it is a local array, there is a si...

Full

How to get the size of an array in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

This tutorial explains how to determine the length of an array in C. sizeof() The operator is used to get the size/length of an array. sizeof() Operator determines the size of an array in C sizeof() The operator is a compile time unary oper...

Full

Using the feof function in C language

Publish Date:2025/04/17 Author:JIYIK Category:C语言

feof This article will introduce several ways to use functions in C language . Use feof the function to check the end-of-file indicator on a file stream in C language feof The function is part of the C standard input/output library and is d...

Full

Flushing stdout output stream in C

Publish Date:2025/04/17 Author:JIYIK Category:C语言

stdout This article will demonstrate various methods on how to flush an output stream in C language . Use function in C language fflush to refresh stdout output stream I/O The C standard library provides a stdio buffered version of the I/O...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial