Re: [Vietlug] day la doan text tui dinh gui len

2006-09-14 Hội thoại Ngo Trung Nhan
http://c-faq.com/stdio/scanfprobs.html

On 9/14/06, NAHieu [EMAIL PROTECTED] wrote:
 On 9/14/06, G TT [EMAIL PROTECTED] wrote:
  Vi` white spaces ddu+o+.c xem nhu+ string terminator, ne^n xem ma~:
 
  #inclue stdio.h
  int main()
  {
  char str[80];
  printf(Enter some words (or 'ctrl-c' to break): );
  scanf(%s, str);  == buffer length unchecked HERE

 It is a very *stupid* idea to use scanf() to get input!
 fgets() is certainly a better choice in this case.
 RTFM!


 Cheers,
 H

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 VietLUG-users mailing list
 VietLUG-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/vietlug-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
VietLUG-users mailing list
VietLUG-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vietlug-users


Re: [Vietlug] vnlinux logo

2005-12-26 Hội thoại Ngo Trung Nhan
how about this? :)


kernel.gif
Description: GIF image


Re: [Vietlug] vnlinux logo

2005-12-26 Hội thoại Ngo Trung Nhan
cứ xài tự nhiên sir :), cũng toàn là đồ chôm mà bác :p. 
Cái nón đó là của bác Quý thì phải ( /me not sure). Em chỉ cắt ghép thôi.On 12/26/05, Larry Nguyen [EMAIL PROTECTED]
 wrote:On 8:23:44 am 12/26/05 Ngo Trung Nhan 
[EMAIL PROTECTED] wrote: how about this? :)Đẹp á. Nếu bác không phản đối thì mình sẽ dùng logo nàyvà logo Minh làm để mọi người bỏ phiếu nên dùng cái nào.-Larry---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click___VietLUG-users mailing list
VietLUG-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/vietlug-users