473,795 Members | 2,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

microsoft visual c++

paz
Hi,

Does anybody know how to start new C project with microsoft visual c++?

I've created a file, but Tools-Run is inActive.

How can I make it Active?

Dec 1 '06 #1
56 2844
paz
Build-compile is inActive too :-(

I created new project and add my file to it, but it didn't help.
paz ëúá:
Hi,

Does anybody know how to start new C project with microsoft visual c++?

I've created a file, but Tools-Run is inActive.

How can I make it Active?
Dec 1 '06 #2
paz said:
Hi,

Does anybody know how to start new C project with microsoft visual c++?
This question is not topical in comp.lang.c BUT personally, I think it
should be. K&R have this to say on the matter:

"This is the big hurdle; to leap over it you have to be able to create the
program text somewhere, compile it successfully, load it, run it, and find
out where your output went. With these mechanical details mastered,
everything else is comparatively easy."

The niceties of Visual Studio are of course nothing to do with C itself, and
so normally I'd recommend that you find a Microsoft site. But frankly, if I
do that, you'll probably end up becoming a Microsofty, and I wouldn't wish
that on anyone.

So - here is the URL of a quick guide to starting a new C project in Visual
Studio (covers versions 5 and 6). If you have an earlier or later version
of Visual Studio, the basic procedure is typically much the same, but
things are in different places, that's all.

http://www.cpax.org.uk/prg/windows/vcprj.php

Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying to an off-topic question with an
answer that is not a redirection to another group. I hope, however, that
they will reflect upon the possibility that "paz" may one day become an
world-class expert in ISO C programming as a result of not being sent off
to a Microsoft group...

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 1 '06 #3
Richard Heathfield wrote:
>
paz said:
Hi,

Does anybody know how to start new C project
with microsoft visual c++?
>
http://www.cpax.org.uk/prg/windows/vcprj.php

Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying
to an off-topic question with an
answer that is not a redirection to another group.
I do it differently:

I open any .c or .h file
which happens to already be in the bin directory,
which is where my compiler looks for source code.

I do a "Save as..." which is an option under "File"
and which copies the file under a new name like "new.c"

I rewrite the file and then under "Build"
I select "Compile new.c".

At this point the compiler asks me if I want to create a
new workspace and I reply "Yes".

Then under "Project", I click "Settings"
and under the "C/C++" tab, I raise the warning level to 4.

Then under "File" I select "Save Workspace".

When I want to add additional c files to the project,
then while the project is still open,
I open additional c files under "File".

I go to "Build" again and when I try to compile the additional
C files, the compiler gives me the option to add the file
to the project and I select "Yes".

I open the programs header files for viewing,
but I never add them to the project.

.... and that's how I wrote and compiled e_driver.c

http://www.mindspring.com/~pfilandr/C/e_driver/

--
pete
Dec 1 '06 #4
Richard Heathfield wrote:
paz said:

>Hi,

Does anybody know how to start new C project with microsoft visual c++?


This question is not topical in comp.lang.c BUT personally, I think it
should be. K&R have this to say on the matter:

"This is the big hurdle; to leap over it you have to be able to create the
program text somewhere, compile it successfully, load it, run it, and find
out where your output went. With these mechanical details mastered,
everything else is comparatively easy."

The niceties of Visual Studio are of course nothing to do with C itself, and
so normally I'd recommend that you find a Microsoft site. But frankly, if I
do that, you'll probably end up becoming a Microsofty, and I wouldn't wish
that on anyone.

So - here is the URL of a quick guide to starting a new C project in Visual
Studio (covers versions 5 and 6). If you have an earlier or later version
of Visual Studio, the basic procedure is typically much the same, but
things are in different places, that's all.

http://www.cpax.org.uk/prg/windows/vcprj.php

Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying to an off-topic question with an
answer that is not a redirection to another group. I hope, however, that
they will reflect upon the possibility that "paz" may one day become an
world-class expert in ISO C programming as a result of not being sent off
to a Microsoft group...

Yes. Do not worry, the other members of this group will never cry
"off topic" when heathfield does something like this. It is only when
I answer "off topic" questions like "bss" or the mapping of the
program sections to the constructs in the C language when everybody
will start screaming.

Answering about MSVC is not that bad and not off topic at all.
Dec 1 '06 #5
jacob navia said:
Richard Heathfield wrote:
<snip>
>>
Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying to an off-topic question with an
answer that is not a redirection to another group. I hope, however, that
they will reflect upon the possibility that "paz" may one day become an
world-class expert in ISO C programming as a result of not being sent off
to a Microsoft group...

Yes. Do not worry, the other members of this group will never cry
"off topic" when heathfield does something like this.
Probably not on *this* occasion, because they'll sympathise with the OP - we
were all newbies once - but "never"? Dream on. If I post off-topic stuff, I
*should* be criticised for so doing, and people are perfectly prepared to
do that. Chris Dollin did so earlier today, actually, in a thread about the
generation of unique IDs - and he was quite right. So - wrong again, Mr
Navia!
It is only when
I answer "off topic" questions like "bss" or the mapping of the
program sections to the constructs in the C language when everybody
will start screaming.
No, it's not just you. It's all of us. And no, nobody (or at least none of
the reasonable folk) will start screaming. It is possible to communicate
without screaming.
Answering about MSVC is not that bad and not off topic at all.
I wasn't giving an answer about MSVC in general, though - I was just giving
the guy a kickstart to help him get under way with his C learning.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 1 '06 #6
Richard Heathfield <rj*@see.sig.in validwrites:
paz said:
>Does anybody know how to start new C project with microsoft visual c++?

This question is not topical in comp.lang.c BUT personally, I think it
should be. K&R have this to say on the matter:

"This is the big hurdle; to leap over it you have to be able to create the
program text somewhere, compile it successfully, load it, run it, and find
out where your output went. With these mechanical details mastered,
everything else is comparatively easy."

The niceties of Visual Studio are of course nothing to do with C itself, and
so normally I'd recommend that you find a Microsoft site. But frankly, if I
do that, you'll probably end up becoming a Microsofty, and I wouldn't wish
that on anyone.

So - here is the URL of a quick guide to starting a new C project in Visual
Studio (covers versions 5 and 6). If you have an earlier or later version
of Visual Studio, the basic procedure is typically much the same, but
things are in different places, that's all.

http://www.cpax.org.uk/prg/windows/vcprj.php

Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying to an off-topic question with an
answer that is not a redirection to another group. I hope, however, that
they will reflect upon the possibility that "paz" may one day become an
world-class expert in ISO C programming as a result of not being sent off
to a Microsoft group...
Your guilty plea is rejected. You merely redirected the OP to a more
appropriate source of information. The fact that it wasn't another
newsgroup is irrelevant.

Nevertheless, you are sentenced to community service for an indefinite
period (or until you get tired of it).

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 1 '06 #7
On Fri, 01 Dec 2006 10:53:32 +0000, Richard Heathfield
<rj*@see.sig.in validwrote:
>Now that I've said all that, I must apologise to my fellow regular
contributors to this group for replying to an off-topic question with an
answer that is not a redirection to another group. I hope, however, that
they will reflect upon the possibility that "paz" may one day become an
world-class expert in ISO C programming as a result of not being sent off
to a Microsoft group...
That's the first time I've heard that particular reason for an
off-topic post, and I must admit that it's more persuasive than most
:-)

--
Al Balmer
Sun City, AZ
Dec 1 '06 #8
paz

:-)

Thanks!

Dec 2 '06 #9
paz
Thanks Pete!
I follow the steps and It's working now :-)

Paz

Dec 2 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6143
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
1
2975
by: Novice | last post by:
Hi all, I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web services. I've just recently installed the Visual Studio .net Professional trial version 2003. I have been reading up various documents that discuss - "What is Microsoft .Net" and have found some enlightening information. I'm trying to write a paper on security and software...
1
3921
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will make it easier for someone (i.e. a Microsoft person) to digest the information and respond to it. I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web...
99
6249
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a small or mid-sized business. http://groups-beta.google.com/group/microsoft.public.msdn.general/browse_thread/thread/9d7e8f9a00c1c7da/459ca99eb0e7c328?q=%22Proposed+MSDN+subscription+changes%22&rnum=1#459ca99eb0e7c328 Damn! To be that...
2
2110
by: Steve | last post by:
Having only recently migrated across from VB6 to VB.NET I'm still unsure whether or not I should be making (heavy) use of the Microsoft.VisualBasic namespace in new applications. I've read a lot of posts in the (VB).Net newsgroups and seen just about all of the For and Against arguments i.e. not using it = not coding in VB.NET, not using it = good OO. I'm also aware of the difference between this namespace and the compatibility namespace....
182
7561
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
0
3355
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the Microsoft Visual Studio 2005 Software Development Kit. By providing a full help authoring environment within the Visual Studio 2005 SDK, Innovasys is providing developers building components and products that integrate with Visual Studio 2005 a...
23
2485
by: =?Utf-8?B?TWlrZTE5NDI=?= | last post by:
This is an example that is supposed to work in VB http://support.microsoft.com/kb/175512/en-us After spending a couple of hours downloading and installing VB Express 2008 after someone told me it was easy, the thing doesn't work any better. These two instruction lines are not functional 3. Place a Common Dialog control on the form. 4. From the Insert menu, select Module to add a single code module to the project. There is no Common...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.