Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > codewarrior 5

codewarrior 5
Thread Tools
Moderator
Join Date: Sep 2000
Location: Irvine, CA
Status: Offline
Reply With Quote
Sep 30, 2000, 09:53 PM
 
okay, Iam starting to learn C in college now and they are using Microsoft Visual Studio and I have an iMac so I bought Codewarrior 5 to make a few console applications. If i start a mutitarget stationary and name it something.mcp then i add the text file(source code) by choosing add window and then run the program then i get an error saying that the universal main is already being used by helloworld.c or something like that. I believe that i have to delete that file to work but how can i do that? please help me.
{{{ mindwaves }}}
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Oct 1, 2000, 09:16 AM
 
try reading the manual... and this is in the wrong forum.
     
Dedicated MacNNer
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 2, 2000, 12:58 AM
 
CodeWarrior puts a placeholder file. It is probably "hello.c", "hello.cpp", "sillyballs.c", or something like that. You must either put your code in this file or when in your Project Window, drag it to the trash. It won't put anything in the Trash, just delete it from the project. There also may be other placeholder files, such as resource files, which can be deleted.

I'm just a novice programmer, and am relying from memory, so the advice of the previous post is really the best, but this may help to get you started. You might find that CodeWarrior is putting files in unexpected places (depending on which environment you are using) if you do not specify in the Project Manager preferences ...
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2