emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Van L <van@scratch.space>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: typo, sp at C++ Source Code Blocks in Org Mode
Date: Mon, 5 Nov 2018 19:00:20 +1100	[thread overview]
Message-ID: <8283F13A-9B49-4372-A333-2BBB8EBEDDB3@scratch.space> (raw)

Hello,

At the following page:

  https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-C.html

// CC+ should be C++

:main
can be set to "no" to inhibit wrapping of the code block in a main function call.
:includes
(C & CC+ only) accepts either a single string name, or a list of names of files to #include in the execution of the code block.

// Spelling should be ‘explicitly'

C++ needs to explicitely include either stdio.h or <iostream>

             reply	other threads:[~2018-11-05  8:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05  8:00 Van L [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-11-05 15:57 typo, sp at C++ Source Code Blocks in Org Mode Thomas S. Dye
2018-11-09 15:03 ` Van L
2018-11-09 16:52 Thomas S. Dye
2018-11-10 10:17 ` Van L
2018-11-10 16:45   ` Thomas S. Dye
2018-11-14 13:29     ` Van L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8283F13A-9B49-4372-A333-2BBB8EBEDDB3@scratch.space \
    --to=van@scratch.space \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).