Where is the PelleC wizard

Started by mystisk, August 02, 2009, 02:40:42 PM

Previous topic - Next topic

mystisk

Edit: This thread was originally named: POLINK: fatal error: File not found: 'advapi32.lib'. But that problem is now solved.

POLINK: fatal error: File not found: 'advapi32.lib'.
That happned when I was trying to run helloworld.c (my first program in C). I'm using this http://en.wikipedia.org/wiki/The_C_Programming_Language_(book) book and it told me to write:
#Include <stdio.h>

main()
{
       printf("hello, world\n");
}

And i saved it as hello.c in C:\Users\*\Documents on Windows Vista. What could the problem be?

JohnF

Use the PellesC wizard to create your first app then you will see what is required - that code you showed is very outdated.

john

mystisk

Thanks for replying  ;)
Where is that wizard you spoke of? Are you really sure this code is outdated? If that's so I have to throw this book out the window. Maybe I wasn't clear enough. This is second edition ANSI C printed July 2008. In the book they say that they will start with some basic elements at first not the best maybe that why it looks weird.

JohnF

Quote from: mystisk on August 02, 2009, 05:49:56 PM
Thanks for replying  ;)
Where is that wizard you spoke of? Are you really sure this code is outdated? If that's so I have to throw this book out the window. Maybe I wasn't clear enough. This is second edition ANSI C printed July 2008. In the book they say that they will start with some basic elements at first not the best maybe that why it looks weird.

Your first job is to discover the wizard in PellesC.

Yes the code is very outdated. The book was originally written many years ago.

John

mystisk

I can see no wizard.

When I looked at the wiki page that I linked to I see that this book indeed is very old. What a fraud. Im going to complain at the store. Thanks. The current version/standard is C1X judging from this wiki page http://en.wikipedia.org/wiki/C_(programming_language) correct?

JohnF

Quote from: mystisk on August 02, 2009, 06:36:45 PM
I can see no wizard.

Open the help file, select search and type wizard. There will be various topics to read.

John