Pleeeease can someone help?
All I want to do is create a c programming workspace and I can't fr the life of me do it!! It's stressing me out so I was hoping someone could give me a step by step how to guide??
Thanks so much for any help,
Helen
Pleeeease can someone help?
All I want to do is create a c programming workspace and I can't fr the life of me do it!! It's stressing me out so I was hoping someone could give me a step by step how to guide??
Thanks so much for any help,
Helen
file->new->Project, select console app and you're set..
-"What we wish, we readily believe, and what we ourselves think, we imagine others think also."PHP Code:
sadf
I try doing that and it includes a load of rubbish like test.cpp etc - which scares me anyways. I try including a hello world main.c to test it out and then get an error:
i:\test\main.c(10): fatal error C1010: unexpected end of file while looking for precompiled header directive
The precompiled header directive I presume is something to do with stdafx.h and stdafx.c which visual studio has added itself
Helen
ok - I've now created a blank project which is lovely and how it should be.
I add my basic main.c go into debug->start which i'm presuming is the new location for the execute button and nothing really happens apart from the console appearing - but not hello world.
don't think it's the codes fault. I can't believe I'm having this much trouble with an appCode:#include <stdio.h> #include <assert.h> #include <stdlib.h> main() { printf("hello, world\n"); }
H
File>New>Project -Originally Posted by thedoofus
Select Visual C++ Projects on the left panel -
Click Win32 Console Project -
Win32 Application Wizard should popup.
Click Application Settings.
Application Type: Console application.
Additional options: check Empty project.
Also make sure that you name your files with the .c extension when you create them or else they'll default to .cpp , which is C++
[p.s, instead of debug, select Release]
Last edited by xeddiex; 11-11-2005 at 07:27 AM.