|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|
|better touch tool command||anonymous4a||Mac Applications and Mac App Store||0||Mar 11, 2014 10:38 AM|
|command tool for mac osx||syntax.syntax||OS X Mavericks (10.9)||13||Feb 14, 2014 06:09 PM|
|Your opinions on Intech SpeedTools Utility / Disk Tool Pro?||Cox Orange||PowerPC Macs||4||Oct 26, 2013 10:58 AM|
|excecuting a command line tool from Terminal||Mark FX||Mac Programming||3||Dec 6, 2012 02:46 PM|
|Resolved: Help with Making a Clock in Objective-C Command Line Utility||faroZ06||Mac Programming||3||Aug 23, 2012 06:31 PM|
All times are GMT -5. The time now is 02:19 PM.