Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Its all good no...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 18 Topic 26054 of 26959
Post > Topic >>

Its all good now Re: That's odd...

by apaticul@[EMAIL PROTECTED] May 4, 2008 at 01:10 AM

On May 3, 11:43=A0pm, apati...@[EMAIL PROTECTED]
 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.
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 helps any other usenet folks using Vista or
M Visual C++ (or both)
"
 




 18 Posts in Topic:
That's odd...
apaticul@[EMAIL PROTECTED  2008-05-03 22:43:50 
Re: That's odd...
dj3vande@[EMAIL PROTECTED  2008-05-04 05:47:05 
Re: [OT] That's odd...
"Jim Langston"   2008-05-03 23:11:23 
Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-03 23:13:39 
Re: That's odd...
Richard Heathfield <rj  2008-05-04 07:45:54 
Re: That's odd...
"Default User"   2008-05-04 19:14:57 
Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-03 23:22:00 
Re: That's odd...
Jensen Somers <jensen.  2008-05-04 11:53:48 
Its all good now Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-04 01:10:43 
Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-04 01:36:33 
Re: Its all good now Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-04 01:50:41 
Re: Its all good now Re: That's odd...
newbie.unix@[EMAIL PROTEC  2008-05-04 06:56:39 
Re: Its all good now Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-04 20:22:08 
Re: Its all good now Re: That's odd...
CBFalconer <cbfalconer  2008-05-05 02:29:31 
Re: Its all good now Re: That's odd...
apaticul@[EMAIL PROTECTED  2008-05-05 04:25:11 
Re: Its all good now Re: That's odd...
Keith Thompson <kst-u@  2008-05-05 09:31:13 
Re: Its all good now Re: That's odd...
"Herbert Rosenau&quo  2008-05-06 19:01:56 
Re: Its all good now Re: That's odd...
CBFalconer <cbfalconer  2008-05-05 18:43:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 16:13:36 CDT 2008.