473,657 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

header comment-- is there a std?

1 New Member
Hi Everyone,
I'm a complete beginner to C++ and I'm trying to teach myself quickly because I'm using it for a project.

I noticed that programs begin with comments like below (example taken off the web)

/*************** *************** *************** *************** *************** **
* fixed.cpp Blitz++ array using a custom type
*
* $Id: fixed.cpp,v 1.1.1.1 2005/06/15 14:31:20 tveldhui Exp $
*
* $Log: fixed.cpp,v $
* Revision 1.1.1.1 2005/06/15 14:31:20 tveldhui
*
*
* Revision 1.1 1997/07/19 14:19:35 tveldhui
* Initial revision
*
*
*************** *************** *************** *************

I was wondering whether there is a standard for it and if yes can someone refer me to more info pls
. also is there an automatic way to put the Revision version and time??

I am programming in emacs in KDE/Linux environment.

Any help is hugely appreciated.

Thanks heaps.

CeciliA
Aug 26 '05 #1
0 1645

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1344
by: Shane Spraggs | last post by:
Hi, I'm using Xerces to produces XML output. No matter what I do, the first line is always the Xerces comment: <?xml version="1.0" encoding="UTF-16" standalone="no" ?> I need to get rid of it, since the app I'm passing the XML to doesn't ignore it. I'm building the doc using DOMDocument and I'm writing the doc using
11
4011
by: wenmang | last post by:
Hi, all: What will happen if header files with the exact same names but with different contents and declared/defined without include guard reside in the include path for the compiler? Are these header files are included more than once? If so, is it the lastest included file always overwrite the previous one? Is this behavior predictable? thanks.
1
1661
by: Chuck | last post by:
I am working with C# on Visual Studio 2003 SP1 on an XP professional SP2 system. All of the *.htm files generated by "Build Comment Web Pages" are flagged as restricted sites when I try to view them on IE 6.0. This problem occurred after installing the recent service packs. The only work around I have found is either to reduce the protection enforced on a restricted site or to manually replace the header line in every generated htm...
7
2871
by: Monty | last post by:
Something odd is happening. Scripts on several sites that collect form data, save it to a DB, then redirect the user to another page are slowing to a crawl during the redirect using the header() function. For example: header("Location:member.php"). I tried changing the header() command in a few ways: header("Location:/member.php"), header("Location:./member.php"), header("Location:http://www.site.com/member.php"). But none of these made...
1
1942
by: klimmass | last post by:
Hello Does anybody know a tool/macro with can automatically add a header comment to a .cs file at saving it ? I want something like this: eg. ///Automatic comment //CREATED BY: klimmass //MODIFIED BY: klimmass //MODIFICATION DATE: DateTime.Now()
16
2075
by: wdh3rd | last post by:
Hi everyone. I'm new to C and I have a few questions: I am making files for permutations and combinations. Files to be made are perm.c, perm.h, combo.c, and combo.h. Since both combinations and permutations use factorial to solve their problems, factorial is supposed to be in both perm.c and combo.c, and declared private. (1) You wouldn't ever put a prototype in a header if that function was
2
1684
by: arunkumaryespee | last post by:
Hii i have a problem in display a empty datagrid with header during page_load(). actually i use the datagrid for searching purpose. During the page load i want to display an empty grid with header. After the search button gets clicked, the dataset data should filled in the datagrid. Thank you
1
6511
by: franc sutherland | last post by:
Hi, I am using Access 2003. I have set up an invoice in a report. I have set up the name and address as text boxes in the Page Header which I've made as small as possible then set the Can Grow property to Yes. This works fine. Below that, there is the column headers for the sales lines which appear in the Detail section.
0
2111
by: JRough | last post by:
I have the following code at the end of a page that lists some query results. It starts in a form that asks the user for input, one of two template pages. One template is a form for user input if there is input otherwise it changes the template and lists the results on the other template page. That is why there is a $template variable. ==== $template = "template_carlist.html"; if ($_POST!='Open in Excel'){
0
8323
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8838
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8613
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7351
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.