Преглед на файлове

fixed typos & missing vector header

git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
wx
madscientist преди 8 години
родител
ревизия
309315dfe8
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 2
    2
      configuration.cpp
  2. 1
    0
      configuration.hpp

+ 2
- 2
configuration.cpp Целия файл



int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need? int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need?
vector<char> heapBfr(BfrSize,0); // Make one that size. vector<char> heapBfr(BfrSize,0); // Make one that size.
char *Bfr = &heabBfr[0];
char* Bfr = &heapBfr[0];


copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and ignore our lines. copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and ignore our lines.




int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need? int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need?
vector<char> heapBfr(BfrSize,0); // Make one that size. vector<char> heapBfr(BfrSize,0); // Make one that size.
char *Bfr = &heabBfr[0];
char* Bfr = &heapBfr[0];


NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines. NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines.



+ 1
- 0
configuration.hpp Целия файл

#define configuration_included #define configuration_included


#include <string> #include <string>
#include <vector>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
#include <cstring> #include <cstring>

Loading…
Отказ
Запис