From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 28 03:41:08 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 759072FF for ; Sat, 28 Dec 2013 03:41:08 +0000 (UTC) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 406C21AB3 for ; Sat, 28 Dec 2013 03:41:08 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id j17so10400503oag.28 for ; Fri, 27 Dec 2013 19:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OKDTsqTF4JtPzUM+af6TD7kQ59IjFT/RHK1JfkFKCpc=; b=dq/IL3BFYZ5snBO8MtmzZOzWLjcGKrPUAkQqQ1d8J+8k/vSmpg+oBGOLeAzprDTm7S BW7SjVIm0W4iFDZqIzoO8Z+wZ4YlIppJ4ahLWoXLJklsDJZXknT++iZcZD15LyjbETr+ DZTxG+j85+P9NCbgdUtY/OkAMPwBd18cHuqqytzlY1zlGwwb+SXOX2hYtdTff2MxnaTr yjLTVUAvSxrGiKONrrWfUIOBcioxT6PoofItAymL495ZwsJsirs8UtLHfjctXeBwgW4J 2HfltILVQu/JKj4OuUOAgfi4lENiFOP5qFaViURvqOXQl7LJ4DC1LTjij0SeJW8UWf8s bbqA== MIME-Version: 1.0 X-Received: by 10.182.233.77 with SMTP id tu13mr8142166obc.58.1388202067388; Fri, 27 Dec 2013 19:41:07 -0800 (PST) Received: by 10.182.78.100 with HTTP; Fri, 27 Dec 2013 19:41:07 -0800 (PST) Date: Fri, 27 Dec 2013 22:41:07 -0500 Message-ID: Subject: template example From: Joe Nosay To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 03:41:08 -0000 I need a working example of C and C++ that will run using clang. I have to go head first into code and I learn by using an example, replacing variables, and then running. The standard "Hello World!" doesn't seem to work. What I would like to do is run commands from within the file.