it works!!! at last - thanks all! :-)
Type: Posts; User: makit
it works!!! at last - thanks all! :-)
i dont have the header file so that wont work!
I dont have the curses header file. Can you tell me a site. please, where I can download header files?
Error:
(65) : error C2065: 'getch' : undeclared identifier
start of code:
#include <string>
#include <iostream>
#include <fstream>
how do i declare a identifier? I have changed what you said and now I only have one error saying undeclared identifier so I want to fox it
anyways thanks for your help
well I changed one of them and there was still 69 errors so that can't be an error. Also I get this error:
'=' : cannot convert from 'char [8]' to 'int'
which is on the first string line...
doing that only caused one error:
fatal error C1083: Cannot open include file: 'cstring.h': No such file or directory
[edit]I just downloaded cstring and it has thew 69 errors again[edit]
with the using namespace thing all the errors are like this:
error C2780: 'class std::basic_istream<_E,_Tr> &__cdecl std::getline(class std::basic_istream<_E,_Tr> &,class...
102 errors now! weird or what?
im using MS visual c++ 6.0
Where would I include the memset. And do you want the full code ?
#include <iostream.h>
#include <string.h>
#include <stdlib.h>
#include <conio.h>
#include <fstream.h>
#include <stdio.h>
...
it has 69 errors but If I put it back to how I had it, it only has the one. The top two are:
'string' : undeclared identifier
syntax error : missing ';' before identifier 'font'
but now it says:
error C2065: 'string' : undeclared identifier
I'm new at C++ and I have found the source for a program but when I compile
it, it says:
error C2447: missing function header (old-style formal list?)
the line number is 28 which is the line...