← Back to team overview

cuneiform team mailing list archive

Re: Code style discussion

 

Hi!

Just another note: I like spaces after preprocessor directives. Other
than that I find your code very easy and pleasant to read.
 
-- 
Sincerely yours,
Yury V. Zaytsev
=== modified file 'cuneiform_src/Kern/cuneiform-cli.cpp'
--- cuneiform_src/Kern/cuneiform-cli.cpp	2008-11-21 14:38:34 +0000
+++ cuneiform_src/Kern/cuneiform-cli.cpp	2009-01-30 23:20:04 +0000
@@ -27,17 +27,17 @@
 
 /* This is a simple command line program for the Puma library. */
 
-#include"ctiimage.h" // Must be first, or else you get compile errors.
+#include "ctiimage.h" // Must be first, or else you get compile errors.
 
-#include<iostream>
-#include<sstream>
-#include<iomanip>
-#include<stdio.h>
-#include<stdlib.h>
-#include<cstring>
-#include"cttypes.h"
-#include"puma.h"
-#include"config.h"
+#include <iostream>
+#include <sstream>
+#include <iomanip>
+#include <stdio.h>
+#include <stdlib.h>
+#include <cstring>
+#include "cttypes.h"
+#include "puma.h"
+#include "config.h"
 
 using namespace std;
 


References