🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #10786

Re: 读程序者的苦恼 :(

#10786
From: NewBlue
Date: Fri, 13 Jun 2003 09:07
26 lines
1837 bytes
       û�ù�emacs+tags��ֻ�ù�vim + tags���ղ���linux�����ˣ������У�
       ��vim�IJ�����ʽ��һ��^_^�п������ԡ�
-- 
#include <stdio.h>

int main ()
{
  char *email;
  char *email_server="newhuanet.com";
  char *name[]="newblue";
  char *Mesage[]={"���±�˼����\n"};
  int email_len = strlen (name) + strlen (email_server) + 2;

  email = malloc ( email_len * sizeof (char));
  memset (email,"\0",email_len);
  
  strcpy (email,newblue);
  strcpy (email,"@");
  strcpy (email,email_server};
  email + email_len = '\0';
  
  printf ("Name:%s\nEmail:%s\n", name, email);
  printf ("Message:\n%s", Message);
	
  free (email);  
}
Technical Details
Message-ID: <u4r2ubb2j.fsf@batbug.org|s/batbug.org/xinhuanet.com/g>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.cn99.com!not-for-mail
References: <wkptlir9cy.fsf@yahoo.com.cn>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,996fb6b6de4d3e1d
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-06-13 02:12:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!news.bylinux.net!news.cn99.com!not-for-mail
From: NewBlue <newblue@batbug.org|s/batbug.org/xinhuanet.com/g>
Newsgroups: cn.comp.os.linux
Subject: Re: 读程序者的苦恼 :(
Date: Fri, 13 Jun 2003 17:07:00 +0800
Organization: Bentium Ltd. (CN99)
Lines: 26
Message-ID: <u4r2ubb2j.fsf@batbug.org|s/batbug.org/xinhuanet.com/g>
References: <wkptlir9cy.fsf@yahoo.com.cn>
NNTP-Posting-Host: 211.97.36.69
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit
X-Trace: mail.cn99.com 1055495520 13222 211.97.36.69 (13 Jun 2003 09:12:00 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Fri, 13 Jun 2003 09:12:00 +0000 (UTC)
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt)