Did you read the "READ THIS FIRST....." file before you posted ?
Especially the part about Dev-C++ not working on Vista nor Win-7.
You will continue to get linker error.
That's because the last version of windows it ran on (with many knows
problems) was XP.
The current release of Dev-C++ (4.9.9.2) is 6 years old and no fixes have been
made since 2005.
The developer has abandoned this sourceforge project.
If you want to learn C/C++, I recommend you consider :
1) Code::Blocks with MingW
2) VS-VC++ Express
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just learning C++ and tried this book example of using resource files.
.cpp file:
include <cstdlib>
include <iostream>
using namespace std;
void BigDog(int KibblesCount);
int main(int argc, char *argv)
{
BigDog(3);
system("PAUSE");
return EXIT_SUCCESS;
}
.rc file:
void BigDog(int KibblesCount){
cout << "I'm a lucky dog" << endl;
cout << "I have " << KibblesCount << " pieces of food." << endl;
}
Compiler says this:
can't open font file `KibblesCount){': No such file or directory
C:\Dev-Cpp\Makefile.win Error 1
Using Ver 4.9.9.2 on Vista.
It works if I place all in .cpp but not in a separate .rc file.
TY
Did you read the "READ THIS FIRST....." file before you posted ?
Especially the part about Dev-C++ not working on Vista nor Win-7.
You will continue to get linker error.
That's because the last version of windows it ran on (with many knows
problems) was XP.
The current release of Dev-C++ (4.9.9.2) is 6 years old and no fixes have been
made since 2005.
The developer has abandoned this sourceforge project.
If you want to learn C/C++, I recommend you consider :
1) Code::Blocks with MingW
2) VS-VC++ Express