PPRuNe Forums - View Single Post - C Code Anyone?
Thread: C Code Anyone?
View Single Post
Old 18th March 2008 | 14:01
  #5 (permalink)  
bnt
15 Anniversary
 
Joined: Feb 2007
Posts: 755
Likes: 26
From: Dublin, Ireland. (No, I just live here.)
Post

Originally Posted by under_exposed
(Why are leading spaces removed from posts?)
On other forums you'd have CODE tags for this purpose, but since they don't work here, you can get the general idea across by using the Indent buttons like this:

#include <stdio.h>

void main (int argc, char * argv[])
{
int i,j;
int requested_value;

if (argc != 2)
{
printf( "\nUsage: %s value ", argv[0] );
return;
}
...
bnt is offline  
Reply