BBS program design 4 - Basic programming ideas

xiaoxiao2021-03-06  41

Sender: loveYou (Dreamman), letter area: DAS_ROOM Title: BBS program design 4 - Basic programming ideas send station: Jincheng Station (THU APR 27 10:27:02 2000), transfer

Speaking of the programming method, can be learned in two days a day. First you have to ensure a good programming method, where you should be spaced, you should break the way. If you just want to learn BBS programming, and you should look at this article below for other programming.

BBS programming actually does not understand its procedures, because we are generally

The BBS program is not changed, that is, the change in it's basis. You should look at the source program of BBS, try to write the function that is often used, for uncommonly useless, use it, and then go to the program to use this function to see how to call this Function.

If you want to use the Prints () function, but don't know its usage. Then you can do this

Find: grep 'prints' * | More It will look for the location of the Prints in the * .c file, then you will find a file used to this function, edit this file with the VE editor, enter after entering ESC S Find the specific location of this function. If you prefer to use a VI editor, you can use / to find it.

Also, if you put the "Please enter your password:", this program is in this file, and then use Esc S to find the specific location of this function. What if you like it? You can find this, in the source program directory, use: grep 'Please enter your password' * | more you can find the location of this program.

There is also the source program of BBS, which is generally used in English. If the program about the discussion area is in Boards.c, the chat program is in Talk.c, the program of the chat room is generally in Chat.c. Wait.

Ok, I am not an expert. Some words don't dare to say, I can only say these, please ask yourself to learn slowly. : PP

- ※ Source: · Meilong Inn BBS.ECust.edu.cn · [from: 211.144.72.160]

转载请注明原文地址:https://www.9cbs.com/read-54645.html

New Post(0)