|Mar 11, 2008, 11:27 AM||#1|
Xcode Command Utility Tool C++ HELP
I need help compiling in the command utility tool for Xcode. When I compile my source file, everything works fine, but when I go and make changes to the CPP source file, the compile won't compile the changes. It instead, compiles the original source file [without all the changes]. Can anybody help me?
This is the process I use to compile:
1. select command utility tool C++
2. New Project
3. Open main.cpp
4. paste source code
Macbook with Tiger
here is the original source file:
|Mar 11, 2008, 02:25 PM||#3|
If you look at XCode's build errors, you can see that:
In timeinfo you don't have the payroll variable declared (probably want to use it as a parameter to the method) -- and you have 4 <s instead of 2.
Theres a warning because timeinfo should return an int, but returns nothing.
And theres a typo in main (paroll should probably be payroll).
If you look at the bottom right hand corner of XCode after doing a build, it shows how many build errors and warnings you have. You can click on that to show you the problems.
I took a screenshot (XCode 3) for you: http://home.earthlink.net/~valiantsoul/xcode.png
If your XCode is < 3, it won't show the actual errors/warnings in the editor, but you will still see the markers and part at the bottom right.
12" iBook 1GHz 768MB RAM 60GB HD Airport Extreme [sold and missed]
17" iMac G5 1.6GHz 768MB RAM 160GB HD [sold]
PowerMac Quad 2.5GHz G5 2.5GB RAM
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Help with command line tool on xcode!||noahgolm||Mac Programming||5||Aug 19, 2010 08:18 PM|
|C++ Command line tool - Issue other CLI commands||hiddenpremise||Mac Programming||5||Jan 13, 2009 06:38 PM|
|what unix command line tools do you use most often?||SHankara||Mac Applications and Mac App Store||9||Mar 30, 2008 08:22 AM|
|Xcode 2 Freezes in C++ Command line tool||CookieMook||Mac Programming||7||Oct 1, 2006 09:39 PM|
|Help with embedding a command line tool within a Cocoa application?||mrichmon||Mac Programming||2||Feb 23, 2006 01:25 AM|
All times are GMT -5. The time now is 04:45 PM.