大神们,请问ubuntu phone 会像android一样公开源代码吗,到现在我找了好长时间都没看到哪里能下载到啊。 玩android好长时间了,都有点腻了,想换个东西玩,哪位大神能给个明示啊,有的话可否给个链接。
by wunaideshen - 移动操作系统 - 2013-11-19 22:49:36 阅读(1330) 回复(0)
1. 安裝Cygwin [1],要安裝的packages如下:
where can i download the sample source code..?? as i try to download from www.awl.com/cseng/ but failed.. the book name is Linux 与 unix shell 编程指南 thx
#include "aboutme.h" AboutDialog::AboutDialog(QWidget *parent):QDialog(parent) { about=new QLabel(tr("creatory@163.com"),this); exit=new QPushButton(tr("&OK"),this); hlayout=new QHBoxLayout(this); hlayout->addWidget(about); hlayout->addWidget(exit); connect(exit,SIGNAL(clicked()),this,SLOT(accept())); this->setWindowTitle(tr("About Me")); } #include #include #include #include class AboutDialog...
刚从FreeBSD的hackers邮件列表上看到了这么一则消息,Diomidis Spinellis又出了一本新书【code Quality: The open source Perspective】,是以NetBSD和FreeBSD为基础写作的。:D
信中给出的网页上有一些示例章节。
[quote]code Quality and FreeBSD
--------------------------------------------------------------------------------
From: Diomidis Spinellis
如何阅读代码,电子版 [ 本帖最后由 T-Bagwell 于 2009-12-7 17:14 编辑 ]
#include #include #include #include #include #include #include #include /*get file type sub routine 0:directory 1:regular file -1:error occured */ int getfiletype(const char *filename) { struct stat statbuf; if(stat(filename,&statbuf)==-1) return -1; if(S_ISDIR(statbuf.st_mode)) return 0; if(S_ISREG(statbuf.st_mode)) return 1; } /*output file attribute sub routine*/ void outputfileattr(con...
#include #include #include #include #include #include #include #define BUF_SIZE 1024 int main(int argc,char **argv) { int fromfd,tofd; int bytes_read,bytes_write; char buffer[BUF_SIZE]; char *ptr; /*command run parameter test*/ if(argc!=3) { fprintf(stderr,"Usage:%s srcfile destfile\n",argv[0]); return 0; } /*open source file*/ if((fromfd=open(argv[1],O_RDONLY))==-1) { fprintf(stderr,"open ...
版本为redhat enterprises as4 u4,内核为2.6.9-42.由于安装网卡驱动时需要提供kernel source code,请问我需要安装哪些rpm包才能满足要求,redhat安装盘上是否提供?希望碰到过相同问题的朋友指点下,不胜感激,谢谢!!!!