On May 4, 7:56am, newbie.u...@gmail.com wrote:
> On May 4, 1:10 pm, apati...@gmail.com wrote:
>
> > On May 3, 11:43 pm, apati...@gmail.com wrote:
>
> > > Now that I can compile ".cpp" files in Microsoft's Visual C++ 2008
> > > I still can't figure out how to compile a ".c" file, since
> > > every time I do it, the extension is changed to ".c.cpp"
>
> > > Any tips? (I mean here, those folks that have been used Visual C++
> > > before, because I need
> > > some advice on concrete terms, such as: "go to View-Other Windows- etc
> > > etc" than click here, etc )
>
> > > Thanks in advance.
>
> > Finally, I solved the problem.
>
> Umm with bit of divine 
>
>
>
> > I will perhaps create a youtube video tutorial for others, later on.
> > Here is what I initially didn't noticed:
> > First, you've got to click File-New-Project
> > then under "Project Type" highlight Win32
> > under Templates (on the right side) highlight Win32 Console
> > Application
> > then enter a name of your project let's say "Test1" than click ok
> > then click "Next"
> > Under Application Type leave "Console Application"
> > Under Additional Options "Empty Project", then click "Finish"
> > then, on the left side, under "Solution project"
> > right click on "Source File" click Add new item
> > here in the name enter "main.c" or some other name (make sure you
> > delete pp from .cpp), leave "Location" as it is there
> > here under "Categories" leave Visual C++ and on the right side, under
> > "Templates" click on "C++ File (.cpp)
> > click "add"
> > and now on the right side paste your code (for ex
> > #include <stdio.h>
>
> > main()
> > {
> > printf("hello, world\n");
>
> > }
>
> > then click on "Build Solution" under "Build"
> > and finally, click on "Start without Debugging" under "Debug"
> > and you'll get the command prompt with "Hello, world"
>
> > I hope this s any other usenet folks using Vista or
> > M Visual C++ (or both)
> > "- Hide quoted text -
>
> - Show quoted text -
Yeah, I know, I should start a Church of C and preach every Sunday
morning programming in C language