C_Cpp
文章平均质量分 60
iqueen
这个作者很懒,什么都没留下…
展开
-
Beginning C stdin pipe programming
#include #include int main(int argc, char *argv[]){ FILE * fi; fi = stdin; int i; int ch; while ((ch = getc(fi)) != EOF) { putchar(ch); } return 0;}原创 2007-08-20 13:17:00 · 665 阅读 · 0 评论 -
Sseq the Enhanced Version of Seq
As we all know there is a seq (seq.exe for windows), but we can do more with sseq.main.h#include stdio.h>#include stdlib.h>#define MAX 9#define LINE_LEN 1024#define WORD_LEN 80#define BLOCK_LEN 2原创 2008-01-21 10:40:00 · 1007 阅读 · 0 评论 -
Hide Title Bar in C Windows Programming
#include windows.h>/**//* Declare Windows procedure */LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);/**//* Make the class name into a global variable */char szClassName[ ] = "Win原创 2008-03-04 15:06:00 · 680 阅读 · 0 评论 -
Running Without vcl60.bpl borlndmm.dll
Borland C++ Builder 6, in project options1 uncheck Packages->Build with Runtime Packages2 uncheck Linker->Use Dynamic RTLrelease .exe size ten times but without borlndmm.dll vcl60.bpl cc3260.dll ...原创 2008-12-28 20:13:00 · 657 阅读 · 0 评论 -
By Reference or By Pointer in Method Arguments
Why Use Reference/Pointer in Method Argument To allow you to alter a data object in the calling functionTo speed up a program by passing a reference instead of an entire data objectWhen Should B原创 2008-11-13 15:47:00 · 740 阅读 · 0 评论 -
C Socket Forwarding
csocket_forward.c#include #include #include int error (char *s){ printf ("%s/n", s); return 0;}void info (char *s) { puts (s);}int usage(){ printf ("forward req原创 2009-04-03 11:38:00 · 429 阅读 · 0 评论 -
Retreive First Enabled Modem Device Using .Net System.Management
In case we want to send some AT Command to the first workable mobile device connected to the computer, normally we start the devmgmt.msc to find out which COM port is the right port, but if there原创 2010-01-18 16:17:00 · 429 阅读 · 0 评论