- Joined
- Aug 3, 2012
- Messages
- 22
- Reaction score
- 0
- Points
- 1
First, I'll post my two questions at the very beginning in case you don't want to listen to me nagging about my personal circumstances:
1. How to compile without building a .c/.cpp file? Is it possible?
2. How to run my file without rebuilding? (Seems that Xcode builds the file before running whether or not the file has been built? Don't tell me to export the executable and run, though; I mean is there a command in Xcode...)
Environment: Xcode 4.4.1 on Mountain Lion.
OK, let me explain in details:
I'm switching from Dev C++ to Xcode. Yes, this is a silly question, but you know, beginners usually stuck with silly questions...X_X
Well, I'm running Xcode 4.4.1 on Mountain Lion. I have the habit to compile codes every several minutes to shorten the annoying debugging process in the end. However, I can't find the compile option. I can choose to build the file (I am working in a project, not a single file), but you know, building takes way more time than compiling, and it is not economical to build each time if the source code is considerably long. So here comes my first question:
1. How to compile without building a .c/.cpp file? Is it possible?
By the way, when I finished a .c/.cpp file, I Cmd+B to build it and succeeds. But when I Cmd+R to run, before the program started the "Building Succeeds" message appeared on the screen. Does it mean the file underwent the building process again? If it is so, it will waste a considerable amount of time, right? So here comes my second question:
2. How to run my file without rebuilding?
Thank you in advance of your kind help!
1. How to compile without building a .c/.cpp file? Is it possible?
2. How to run my file without rebuilding? (Seems that Xcode builds the file before running whether or not the file has been built? Don't tell me to export the executable and run, though; I mean is there a command in Xcode...)
Environment: Xcode 4.4.1 on Mountain Lion.
OK, let me explain in details:
I'm switching from Dev C++ to Xcode. Yes, this is a silly question, but you know, beginners usually stuck with silly questions...X_X
Well, I'm running Xcode 4.4.1 on Mountain Lion. I have the habit to compile codes every several minutes to shorten the annoying debugging process in the end. However, I can't find the compile option. I can choose to build the file (I am working in a project, not a single file), but you know, building takes way more time than compiling, and it is not economical to build each time if the source code is considerably long. So here comes my first question:
1. How to compile without building a .c/.cpp file? Is it possible?
By the way, when I finished a .c/.cpp file, I Cmd+B to build it and succeeds. But when I Cmd+R to run, before the program started the "Building Succeeds" message appeared on the screen. Does it mean the file underwent the building process again? If it is so, it will waste a considerable amount of time, right? So here comes my second question:
2. How to run my file without rebuilding?
Thank you in advance of your kind help!