Browse Source

fixed typos & missing vector header

git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
wx
madscientist 8 years ago
parent
commit
309315dfe8
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      configuration.cpp
  2. 1
    0
      configuration.hpp

+ 2
- 2
configuration.cpp View File



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 View File

#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…
Cancel
Save