这似乎打败了代码块的目的,但我希望能够在代码块中加粗内容.例如,如果我想加粗返回行:
int main(void) {
**return 0;**
}
Run Code Online (Sandbox Code Playgroud) 我正在使用最新的automake(v1.12)跟踪文档,但构建仍然失败.
这是我的configure.ac:
AC_PREREQ([2.69])
AC_INIT([helloworld], [0.1], [bugs@hw.com])
AC_INIT_AUTOMAKE([1.12 foreign no-define])
AC_CONFIG_SRCDIR([src/hello.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
# Checks for programs.
AC_PROG_CC([gcc cc])
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_OUTPUT(src/Makefile)
Run Code Online (Sandbox Code Playgroud)
执行:
$ autoreconf
configure.ac:3: error: possibly undefined macro: AC_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
$ automake
configure.ac: error: no …Run Code Online (Sandbox Code Playgroud) 这是show engine innodb status;我尝试创建表时的错误消息:
------------------------
LATEST FOREIGN KEY ERROR
------------------------
110628 16:56:07 Error in foreign key constraint of table test/menu_items:
foreign key(id_menu)
references menus(id)
on update cascade
on delete cascade,
foreign key(id_item)
references items(id)
on update cascade
on delete cascade,
primary key(id_menu, id_item)
) engine=InnoDB:
Cannot find an index in the referenced table where the
referenced columns appear as the first columns, or column types
in the table and the referenced table do not match for constraint.
Note …Run Code Online (Sandbox Code Playgroud) 我所有其他的键绑定工作正常,但jj由于某种原因我无法绑定逃脱.捣碎jk或kj不起作用.这是我的整个.vimrc:
"Maps for jj to act as Esc
inoremap jk <Esc>
inoremap kj <Esc>
"inoremap jj <Esc>
ino jj <Esc>
cno jj <C-c>
set number
set nocompatible
set paste
"fix cygwin backspace problem
set backspace=indent,eol,start
fixdel
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
"use spaces instead of \t
"set expandtab
set nowrap
syntax on
highlight ExtraWhitespace ctermbg=darkgreen guibg=lightgreen
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
"remove trailing whitespace
"http://vim.wikia.com/wiki/Remove_unwanted_spaces#Automatically_removing_all_trailing_whitespace
"autocmd BufWritePre * …Run Code Online (Sandbox Code Playgroud)