Permalink
Browse files

changed c to cpp

  • Loading branch information...
1 parent df42f31 commit b4e1dfd41c0d6ed7aa6cf47701f2677236c2fa7d Siddardha G committed Aug 8, 2011
Showing with 18 additions and 15 deletions.
  1. +0 −7 access.c
  2. +8 −0 access.cpp
  3. +4 −3 cache.c → cache.cpp
  4. +2 −2 main.c → main.cpp
  5. +4 −3 memory.c → memory.cpp
View
@@ -1,7 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <malloc.h>
-
-void get(int index) {
-
-}
View
@@ -0,0 +1,8 @@
+#include <iostream>
+#include <cstdlib>
+
+using namespace std;
+
+void get(int index) {
+
+}
@@ -1,6 +1,7 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <malloc.h>
+#include <iostream>
+#include <cstdlib>
+
+using namespace std;
char* cache = NULL;
View
@@ -1,5 +1,5 @@
-#include <stdio.h>
-#include <stdlib.h>
+#include <iostream>
+#include <cstdlib>
#include "access.h"
#include "cache.h"
#include "memory.h"
@@ -1,6 +1,7 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <malloc.h>
+#include <iostream>
+#include <cstdlib>
+
+using namespace std;
char* memory = NULL;

0 comments on commit b4e1dfd

Please sign in to comment.