community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of Line of code


Message boards   Post comment

Line of code

The definition of a line of code, though basic to many software metrics, is ambiguous. What a "line of code" means will certainly vary across languages, but it also varies for a given language.

In the C language, for example, a line of code might be (1) a statement terminated by a newline, (2) a statement terminated by a semicolon, or (3) any line in the program terminated by a newline (comments included).

for (i=0; i<100; ++i) {printf("hello");} /* How many lines of code is this? */

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Line of code".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.