I think instead of
int i;
. . .
for(int x=0; x < tmpFiles.size(); x++)
{
endList.push_back(tmpFiles[i].cFileName);
}
you should have
Type: Posts; User: Viorel
I think instead of
int i;
. . .
for(int x=0; x < tmpFiles.size(); x++)
{
endList.push_back(tmpFiles[i].cFileName);
}
you should have
There is no such function DDV_MinMax, your probably mean DDV_MinMaxInt.
It seems your m_strLastName variable is of type CString, therefore I think you will not be able to use any of DDV_MinMaxXXX...
It seems you are using an un-initialized n here:
int n;
while (n!=0)
{
. . .
}
Probably it should be
I think if you have an "extern double * b;" declaration, you should also have somewhere a definition like "double * b;" (on file level, not inside a function), and also initialize it before calling...
The isalpha(c) function checks if c is an alphabetic character like 'a', 'b', etc. The previous program counts such letters only, excluding spaces or digits. If you need the number of all of bytes,...
Since you probably do not need the file length (which can be obtained with other methods), but the count of alphabetic characters, then I think your loop should look like this:
int c;
while(...
What happens if you comment everything except
int main (int argc, char* argv[])
{
return 0;
}
What is the value of Entry Point and No Entry Point fields in Project Properties --> Linker...
I think STL and namespaces are not supported by Borland C++ 3.1.
Maybe you should try other compiler? For instance you can try Visual Studio 2005 from...
The proposed solution seems to work in case of particular compilers, like Visual Studio. I think you should specify which kind of compiler you are using.
I think you should try this:
#include <iostream>
#include <string>
int main()
{
std::string s;
return 0;
I think the end-of-file marker in files opened in text mode is represented by 0x1A (26) character.
Maybe at first stage you simply should allocate enough space for destination strings?
char fs[64] = "\\hello ";
char fe[64] = "\\hello ";
I hope it helps.