⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struct的对齐 - 陈晓勇的专栏 - csdnblog.htm

📁 最全的介绍C语言结构体的使用方法和使用技巧!
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0062)http://blog.csdn.net/linuxchen/archive/2007/04/11/1560699.aspx -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>struct的对齐 - 陈晓勇的专栏 - CSDNBlog</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content=linux_chen,struct的对齐 name=keywords>
<META content="再看一下struct 对齐" name=description>
<SCRIPT src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/jsframework.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/tabber.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/feedBackToolTips.js" 
type=text/javascript></SCRIPT>
<LINK media=screen href="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/tabber.css" 
type=text/css rel=stylesheet><LINK 
href="http://profile.csdn.net/linuxchen/picture/1.ico" rel="Shortcut Icon"><LINK 
media=all href="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/style.css" type=text/css 
rel=stylesheet><LINK media=print 
href="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/print.css" type=text/css 
rel=stylesheet><LINK title=RSS href="http://blog.csdn.net/linuxchen/rss.aspx" 
type=application/rss+xml rel=alternate>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<FORM language=javascript id=Form1 name=Form1 
onsubmit="javascript:return WebForm_OnSubmit();" action=1560699.aspx 
method=post><INPUT id=__EVENTTARGET type=hidden name=__EVENTTARGET> <INPUT 
id=__EVENTARGUMENT type=hidden name=__EVENTARGUMENT> <INPUT 
id="&#13;&#10;__VIEWSTATE" type=hidden name=__VIEWSTATE>
<SCRIPT type=text/javascript>
<!--
var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
// -->
</SCRIPT>

<SCRIPT src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/WebResource" 
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
//<![CDATA[
var Anthem_FormID = "Form1";
//]]>
</SCRIPT>

<SCRIPT src="E:\新建文件夹\struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files\WebResource(1).1]" 
type=text/javascript></SCRIPT>

<SCRIPT src="E:\新建文件夹\struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files\WebResource(2).1]" 
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
<!--
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
// -->
</SCRIPT>
 
<DIV id=top>
<DIV>
<TABLE>
  <TBODY>
  <TR>
    <TD class=HeaderTitles>
      <H1><A class=headermaintitle id=Header1_HeaderTitle 
      href="http://blog.csdn.net/linuxchen/">陈晓勇的专栏</A></H1>
      <P id=tagline><IMG class=UserStatus id=imgTitleIsOnline alt="" 
      src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/blank.gif">静心志远<SPAN 
      id=TopicAuthor 
style="DISPLAY: none">linuxchen</SPAN></P></TD></TR></TBODY></TABLE></DIV>
<DIV class=HeaderBar>
<TABLE class=HeaderBar id=HeaderBar>
  <TBODY>
  <TR>
    <TD class=HeaderBarTab noWrap>&nbsp; <A href="http://www.csdn.net/" 
      target=_blank>CSDN</A>&nbsp;|&nbsp; <A href="http://dev.csdn.net/" 
      target=_blank>技术中心</A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_HomeLink 
      title=到聚合站点 href="http://blog.csdn.net/" 
      target=_blank>BLOG首页</A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_PersonalHome 
      title="访问 陈晓勇的专栏" href="http://blog.csdn.net/linuxchen/" 
      target=_blank>我的首页</A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_MyArticles 
      title="查看 陈晓勇的专栏 所有文章" 
      href="http://blog.csdn.net/linuxchen/MyArticles.aspx" 
      target=_blank>我的文章</A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_ContactLink 
      accessKey=9 
      href="http://blog.csdn.net/linuxchen/contact.aspx">联系作者</A>&nbsp;|&nbsp; 
      <A id=Header1_MyLinks1_Syndication 
      href="http://blog.csdn.net/linuxchen/Rss.aspx">聚合</A> <A class=XMLLink 
      id=Header1_MyLinks1_XMLLink 
      href="http://blog.csdn.net/linuxchen/Rss.aspx"><IMG 
      src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/xml.gif" 
      border=0></A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_FeedLink 
      href="http://feeds.feedsky.com/csdn.net/linuxchen" target=_blank><IMG 
      src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/feedsky.gif" 
      border=0></A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_HyperLink1 
      href="http://search.csdn.net/search_blog.asp" 
      target=_blank>搜索</A>&nbsp;|&nbsp; <A id=Header1_MyLinks1_Admin 
      href="http://writeblog.csdn.net/">登录</A> <IMG id=Header1_BlueTab 
      src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/BlueTabRight.jpg" align=absMiddle 
      border=0> </TD>
    <TD class=HeaderBarTabBack noWrap width="100%">
      <DIV class=BlogStatsBar>
      <TABLE class=BlogStatsBar>
        <TBODY>
        <TR>
          <TD width="100%"></TD>
          <TD class=BlogStatsBar noWrap>&nbsp; 14篇原创: 0篇翻译: 6篇转载: 4069次点击: 
            24个评论: 0个Trackbacks 
</TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV><!-- check user online status 20070530 meizz -->
<SCRIPT type=text/javascript>Include("Csdn.Blog.UserOnline");</SCRIPT>

<SCRIPT type=text/javascript>Include("Csdn.Blog.ShowmeDataDeal");</SCRIPT>
</DIV>
<DIV id=leftmenu><SPAN id=RecentVisitors>
<H3 class=listtitle>最近访客</H3>
<TABLE border=0>
  <TBODY>
  <TR>
    <TD align=middle><IMG 
      onmouseover="try{BlogShowme(event, 'lwei_cxdn2007')}catch(ex){}" 
      style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
      alt="lwei_cxdn2007 的头像" src=""><BR><A title="访问时间: 8/2/2007 10:37:57 PM" 
      href="http://blog.csdn.net/lwei_cxdn2007/">lwei_cxdn2007</A></TD>
    <TD align=middle><IMG 
      onmouseover="try{BlogShowme(event, 'nanyangyeren')}catch(ex){}" 
      style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
      alt="nanyangyeren 的头像" src=""><BR><A title="访问时间: 7/29/2007 9:05:20 AM" 
      href="http://blog.csdn.net/nanyangyeren/">nanyangyeren</A></TD></TR></TBODY></TABLE></SPAN>
<H3 class=listtitle>文章</H3>
<UL class=list>
  <LI class=listitem><A 
  href="http://blog.csdn.net/linuxchen/category/186851.aspx">Code</A><A 
  href="http://blog.csdn.net/linuxchen/category/186851.aspx/rss">(RSS)</A></LI></UL>
<H3 class=listtitle>收藏</H3>
<UL class=list></UL>
<H3 class=listtitle>相册</H3><!--category title-->
<UL class=list></UL>
<H3 class=listtitle>存档</H3>
<UL class=list>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2007/06.aspx">2007年06月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2007/04.aspx">2007年04月(3)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2007/03.aspx">2007年03月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2007/01.aspx">2007年01月(3)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/12.aspx">2006年12月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/11.aspx">2006年11月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/10.aspx">2006年10月(2)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/09.aspx">2006年09月(4)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/08.aspx">2006年08月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/04.aspx">2006年04月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/linuxchen/archive/2006/03.aspx">2006年03月(2)</A></LI></UL><SPAN 
id=Anthem_RecentComments_ltlComments__><SPAN 
id=RecentComments_ltlComments></SPAN></SPAN><BR><BR></DIV>
<DIV id=main>
<DIV class=Tag>
<SCRIPT language=javascript 
src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/urltag.aspx"></SCRIPT>

<DIV style="CLEAR: both"></DIV></DIV><SPAN class=PreAndNext 
id=viewpost.ascx_PreviousAndNextEntriesUp>
<DIV align=center><A 
href="http://blog.csdn.net/linuxchen/archive/2007/04/27/1587640.aspx">上一篇:&nbsp;mysql 
cluster insert 测试结果</A>&nbsp;|&nbsp;<A 
href="http://blog.csdn.net/linuxchen/archive/2007/04/05/1553245.aspx">下一篇:&nbsp;哲学家就餐问题实现--多线程同步(unix 
- windows)</A></DIV></SPAN><BR>
<SCRIPT>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</SCRIPT>

<DIV class=post>
<DIV class=postTitle><A 
href="http://blog.csdn.net/linuxchen/archive/2007/04/11/1560699.aspx"><IMG 
height=13 src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/authorship.gif" width=15 
border=0>&nbsp;struct的对齐</A> </DIV>
<DIV class=postText>
<P><BR>关于struct对齐的问题,很多用来做例子的一个典型</P>
<DIV 
style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 95%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/None.gif" 
align=top><SPAN style="COLOR: #0000ff">#pragma</SPAN><SPAN 
style="COLOR: #000000">&nbsp;pack(8)</SPAN><SPAN style="COLOR: #000000"><BR><IMG 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/None.gif" align=top><BR><IMG 
id=_31_56_Open_Image 
onclick="this.style.display='none'; document.getElementById('_31_56_Open_Text').style.display='none'; document.getElementById('_31_56_Closed_Image').style.display='inline'; document.getElementById('_31_56_Closed_Text').style.display='inline';" 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/ExpandedBlockStart.gif" 
align=top><IMG id=_31_56_Closed_Image style="DISPLAY: none" 
onclick="this.style.display='none'; document.getElementById('_31_56_Closed_Text').style.display='none'; document.getElementById('_31_56_Open_Image').style.display='inline'; document.getElementById('_31_56_Open_Text').style.display='inline';" 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/ContractedBlock.gif" 
align=top>  </SPAN><SPAN style="COLOR: #0000ff">struct</SPAN><SPAN 
style="COLOR: #000000">&nbsp;s1...</SPAN><SPAN id=_31_56_Closed_Text 
style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">...</SPAN><SPAN 
id=_31_56_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG alt="" 
src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/InBlock.gif" align=top>  </SPAN><SPAN 
style="COLOR: #0000ff">short</SPAN><SPAN style="COLOR: #000000">&nbsp;a;<BR><IMG 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/InBlock.gif" 
align=top>  </SPAN><SPAN style="COLOR: #0000ff">long</SPAN><SPAN 
style="COLOR: #000000">&nbsp;b;<BR><IMG alt="" 
src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/ExpandedBlockEnd.gif" 
align=top>  }</SPAN></SPAN><SPAN style="COLOR: #000000">;<BR><IMG alt="" 
src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/None.gif" align=top><BR><IMG 
id=_74_108_Open_Image 
onclick="this.style.display='none'; document.getElementById('_74_108_Open_Text').style.display='none'; document.getElementById('_74_108_Closed_Image').style.display='inline'; document.getElementById('_74_108_Closed_Text').style.display='inline';" 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/ExpandedBlockStart.gif" 
align=top><IMG id=_74_108_Closed_Image style="DISPLAY: none" 
onclick="this.style.display='none'; document.getElementById('_74_108_Closed_Text').style.display='none'; document.getElementById('_74_108_Open_Image').style.display='inline'; document.getElementById('_74_108_Open_Text').style.display='inline';" 
alt="" src="struct的对齐 - 陈晓勇的专栏 - CSDNBlog.files/ContractedBlock.gif" 
align=top>  </SPAN><SPAN style="COLOR: #0000ff">struct</SPAN><SPAN 
style="COLOR: #000000">&nbsp;s2...</SPAN><SPAN id=_74_108_Closed_Text 
style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">...</SPAN><SPAN 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -