-
newbie question *blush*
Hello there. I have a little problem.
I just want to setup something, WHATEVER, to start tinkering with c++ on my comp, I've already dabbled in C and PHP, I don't know ........ about programming but have fun tinkering with it.
My problem is:
Yeah, there are a lot of tutorials. That's good. But I get lost with them! I've finally managed to download bloodshed and the template code gives me errors... I can find
I'm windows XP, is anyone kind enough to point me in some direction? Any advice will be appreciated.
-
What errors?
Are you trying to build a Windows project or a console (command prompt) application?
For windows apps, I can foresee that you may need additional components (such as the Windows Platform SDK - Now called Windows SDK, formerly Platform SDK).
Edit: Start simple. Create an EMPTY project that is "console application", add a new file "Hello.c", then copy in this code:
Code:
#include <stdio.h>
int main()
{
printf("Hello, World\n");
return 0;
}
If it doesn't compile, please post errors here.
--
Mats
-
I used what you posted and doesn't compile, says the following:
[Linker error] undefined reference to `__cpu_features_init'
-
Seems like you are missing some startup code. Are you sure you installed everything as it should?
--
Mats