Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-15-2004, 11:16 PM   #1 (permalink)
Hosiah
Registered User
 
Join Date: Jun 2004
Location: Des Moines, Iowa
Posts: 4
Hosiah is on a distinguished road
Visual C++ command-line work-around?

<Gilbert Gotfried> I HA-A-ATE using the command line! </Gilbert Gotfried>

So, in the example of building a WinMain function that needs to use user32.lib and you would have to put your whole project in the \Bin directory and open an MS-Dos prompt and ferret through the directories in Dos and type "Cl myprog.cpp user32.lib" and then vacuum the object files out of your bin directory...

Is there a less Amish way to do this? Like specifying a parameter from the Visual IDE? Or maybe I could create my own Dos batch file for this (if I can remember how batch files go)? Or maybe go back to HTML instead? All the documentation that I've found so far is completely mute on this point.

Somehow, using a Visual, Object-oriented language to create programs for a GUI by typing from the same Dos prompt we used in 1984 strikes me as being like buying a car and discovering it has the Flintstone start-it-by-running-your-feet feature.

thanks,
Hosiah
Hosiah is offline   Reply With Quote
Old 07-17-2004, 02:00 AM   #2 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
why don't you use the nice little "build" button in the visual studio IDE? you can even have it output the executable anywhere you want.
joe_bruin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
c simple question problem with switch case if13121 Standard C, C++ 1 10-24-2004 10:43 PM
VB or C#, or something else Apodysophilia MS Technologies ( ASP, VB, C#, .NET ) 6 10-15-2004 10:48 AM
operate overloading member function in C# sureshkumar_kc MS Technologies ( ASP, VB, C#, .NET ) 2 10-15-2004 03:36 AM
edit? anon Lounge 10 11-21-2002 04:02 PM


All times are GMT -8. The time now is 12:36 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting