f



XCode and standard C/C++ libs

Hi!

I am writing programs that are not making use of any special MacOSX 
features but only use standard C or C++ libraries, especially the I/O 
libraries.
When looking at XCode I can only find predefined projects that build 
command line tools (C or C++). Is there any predefined project that 
builds standalone applications (like Codewarrior)? If not: what do I 
have to do to build them?

Hartwig

0
Hartwig
6/20/2004 9:54:09 AM
comp.sys.mac.programmer.help 4653 articles. 2 followers. Post Follow

2 Replies
244 Views

Similar Articles

[PageSpeed] 27

In article <40d55ded$0$205$cd19a363@news.wanadoo.nl>,
 Hartwig Wiesmann <hartwig.wiesmann@wanadoo.nl> wrote:

> I am writing programs that are not making use of any special MacOSX 
> features but only use standard C or C++ libraries, especially the I/O 
> libraries.
> When looking at XCode I can only find predefined projects that build 
> command line tools (C or C++). Is there any predefined project that 
> builds standalone applications (like Codewarrior)? If not: what do I 
> have to do to build them?

A program that only uses standard C and C++ libraries is a command line tool. I 
am therefore confused by your question.

meeroh

-- 
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

0
Miro
6/20/2004 5:43:58 PM
Miro Jurisic wrote:

> In article <40d55ded$0$205$cd19a363@news.wanadoo.nl>,
>  Hartwig Wiesmann <hartwig.wiesmann@wanadoo.nl> wrote:
> 
> 
>>I am writing programs that are not making use of any special MacOSX 
>>features but only use standard C or C++ libraries, especially the I/O 
>>libraries.
>>When looking at XCode I can only find predefined projects that build 
>>command line tools (C or C++). Is there any predefined project that 
>>builds standalone applications (like Codewarrior)? If not: what do I 
>>have to do to build them?
> 
> 
> A program that only uses standard C and C++ libraries is a command line tool. I 
> am therefore confused by your question.
> 
> meeroh
> 

In Codewarrior with standard C and C++ libraries, you get linked against 
WASTE and the app opens when double clicked in the Finder and shows a 
window with stdin and stdout.  I'm guessing this is what the OP wants to 
happen with Apple's tools.

AFAIK, the closest you can get is to name the command line executable 
with a ".command" file name extension.  When double clicked, it will 
open Terminal and run itself.

-- 
Pull out a splinter to reply.
0
Peter
6/20/2004 9:12:54 PM
Reply:

Similar Artilces:

jython and C-c C-c
How do I get C-c C-c to work with jython? I have the jpython command set to jython, and I can start the interpreter with C-C ! and then use C-c C-c, but this is rather frustrating. If I try to use C-c C-c without first starting the interpreter in another window I get wrong type argument: sequencep, jpython Thanks, Dave Cook ...

Better C/C++ Than C/C++?
I am looking for a good systems programming language that can be used instead of C/C++. My qualifications for the language are: * mature compiler(s) that produce native-code binaries (for Windows) * open source - preferable, but not 100% necessary Thanks, Kevin "Kevin Albrecht" <kevin@albrecht.net> writes: > I am looking for a good systems programming language > that can be used instead of C/C++. My qualifications > for the language are: > > * mature compiler(s) that produce native-code > binaries (for Windows) Ocaml, D, cyclone, Eiffel, Beta > * open source - preferable, but not 100% necessary what's wrong with using C? Friedrich > what's wrong with using C? Too low level, no built-in garbage collection. -- Kevin "Kevin Albrecht" <kevin@albrecht.net> writes: >> what's wrong with using C? > > Too low level, Well the Smalltalk people say, have a small language and a big library. I assume C's library status beyond that of Smalltalk. > no built-in garbage collection. Use the Boehm Weisser GC. Friedrich "Kevin Albrecht" <kevin@albrecht.net> wrote in message news:<2TiYb.237892$rj7.1641209@twister.tampabay.rr.com>... > I am looking for a good systems programming language > that can be used instead of C/C++. My qualifications > for the language are: > > * mature compiler(s) that produce native-code > binaries (for Windows) > ...

US-NH: Concord-C# Developer - C# Engineer - C# Programmer
************************************************************** JobCircle.com is the largest regional job board in the Mid-Atlantic region, with tens of thousands of job offerings in PA, NJ, DE, MD, NY, and Washington D.C. To learn more, visit http://www.jobcircle.com?source=ng ************************************************************** Job Title: C# Developer - C# Engineer - C# Programmer - C# -... Job Location: NH: Concord Pay Rate: competitive Job Length: full time Start Date: 2010-12-08 Company Name: Cybercoders Contact: Shea Stone Phone: ...

Help Needed: C/C++ Standard Libraries
Hi. I am starting to learn C++ and am curious to find out if there are any Word documents or PDF files that list all of the standard libraries, the functions contained within them, a short description of them, and how to use them. Basically, what is listed on www.cplusplus.com under the reference area. It would be a major help to have a hard copy reference list on hand that lists all of this data. Thanks in advance... DV [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] da Vinci wrote: > I am start...

C/C++ Help.
This is the closest Newsgroup that looks like it could help me with a C/C++ question, so here goes! I need a way to extract a string from another, larger string. I've tried this, but get compile errors: /* Function: LIST_READ */ int LIST_READ(t_StringType *strInput, t_IntegerType *intFrom, t_IntegerType *intTo) { char *strin = strInput->_value; int *intfrom = intFrom->_value; int *intto = intTo->_value; char *str; strncpy(str,strin+intfrom,intto); return (str); } This is what I get: userdefttcn.c:2121: warning: initialization makes pointer from integer withhout a cast u...

C++ for C programmer
I know C, and i want to learn c++. can someone recommend an on-line source? - I also already know javascript. will that help? Thanks. ~M ---- http://www.NovelTracker.com - top ten novels, ranked hourly. On Mar 13, 10:08 am, marywilliams1...@yahoo.com wrote: > I know C, and i want to learn c++. can someone recommend an on-line > source? - I also already know javascript. will that help? See the FAQ: http://www.parashift.com/c++-faq-lite/how-to-learn-cpp.html I'd suggest you get _Accelerated C++_ by Koenig and Moo. It will teach you the right way from the ground up (and ...

c------->c++ and c++------>c
We can write c program in turbo c++ editor.But reverse is not true why? i.e The program will not compile if u write c++ program in turbo c editor vim wrote: > We can write c program in turbo c++ editor.But reverse is not true why? > i.e The program will not compile if u write c++ program in turbo c > editor This isn't about C; this is about some editor. Why the fircone should /we/ know? Ask in a relevant group. [And /why/, in an editor specialised to some specific programming languages, would you expect it to compile a /different/ one? Would you expect turbo perl to compi...

C/C++ in matlab and matlab in C/C++ ?
Is it possible to read C/C++ code in matlab and the other way around too? Hi, as long as C or C++ are written in text files you can edit them in the matlab editor. To see the special character of C or C++ coding language, in the editor go to menus: file>preferences>Edito/Debugger>language and on popup "Language" select "C/C++". This does not allow you to run the C/C++ code, just to view it i nicer way... regards, chris saneman <asdfsdf@asd.com> wrote in message <frl846 $f8i$2@news.net.uni-c.dk>... > Is it possible to read C/C...

C/C++ in MATALB or MATLAB in C/C++?
Hi I've been asking on the net how to use MEX properly so that I can use C/C++ in MATLAB, but information is not forthcoming. There seems to be a lot on using MATLAB in C/C++ but not the other way around. I understand Mathworks is trying very hard to sell the Matlab Compiler, but even so, why is it SO hard to get information about MEX? Or is it that I've missed something very fundamental, meaning that I'm struggling over something that is actually quite easy? Any thoughts and info would be great. Thanks BullDog BullDog wrote: > Hi > > I've been asking on the net ...

slime C-c C-c annoyance
Does anyone have a good workaround for this problem other than: just be careful! When I've compiled a large package and slime has given me a *slime-compilation* buffer, I like to work through this buffer issue by issue, fixing the errors, warnings, etc. But If I ever press C-c C-c in the editor window while fixing an error, slime destroys the *(slime-compilation* buffer with the compilation output of C-c C-c. Jim Newton <jimka.issy@gmail.com> writes: > Does anyone have a good workaround for this problem other than: just be careful! > > When I've compiled a ...

C as a Subset of C++ (or C++ as a superset of C)
Isn't it a lame use of human time and effort to maintain completely separate C and C++ standards? As in the words of Betty White about Facebook: "It seems like an incredible waste of time". Why don't the two standards groups get together and agree on a common specification for the ground which both standards cover? There would still be two separate standards, but they'd both be exactly the same for the common ground. The common ground document could be referred to by both standards instead of being maintained by both groups in individual efforts resulting in...

US-NH: Concord-C# Developer - C# Engineer - C# Programmer
************************************************************** JobCircle.com is the largest regional job board in the Mid-Atlantic region, with tens of thousands of job offerings in PA, NJ, DE, MD, NY, and Washington D.C. To learn more, visit http://www.jobcircle.com?source=ng ************************************************************** Job Title: C# Developer - C# Engineer - C# Programmer - C# -... Job Location: NH: Concord Pay Rate: competitive Job Length: full time Start Date: 2010-12-08 Company Name: Cybercoders Contact: Shea Stone Phone: ...

C / C++ / C# Programmers Wanted For Game Development
Are you confident in games programming for windows based PC's? We require your assistance in developing our first games software title. The game will be first person perspective 3D and most likely we will use a tried and tested games engine. Please email dan@sonok.co.uk and attach your CV in MS Word or PDF format. If possible provide a link to some of your sample work. Best Regards, Dan ...

Help needed with a C++ syntax (legal in C, but not C++)
Greetings, I'm trying to use a vender-supplied API in my C++ program. The vender's API is in C and it contains something similar to: type int INT; struct S { int i; double INT; /* OK in C, not C++ */ } According to a C/C++ book (C, A reference manual by S Harbison and G. Steele JR), the above struct is actually legal in C, as typedef names can be redeclared as objects in inner scopes. However, in C++ it is not permitted to do so within a structure or union -- which are scopes -- if the original typedef name has been used in the structure or union already. The problem I'm f...

C,, C++, Java, C#
I come from C,C++,Java and C#. What can SmallTalk do for me and for what cost? Regarding the Squeak thing, it's interesting though confusing. Is it an IDE? Why are the menus so wacky? "DM McGowan II" <nospam@nospam.net> wrote in message news:PLednX2vnLd11IncRVn-rA@comcast.com... > I come from C,C++,Java and C#. What can SmallTalk do for me ...? Ask not what Smalltalk can do for, but what can you do with Smalltalk. :-) In very few words, it significantly reduces time to market, while enhancig the development experience. This is because: 1. It...

C, C++ and C# Forums
Throne Software has opened up C, C++ and C# Forums at: http://www.thronesoftware.com/forum/ Join us! In article <1120963701.862698.160260@g14g2000cwa.googlegroups.com>, Throne Software <mail@thronesoftware.com> writes >Throne Software has opened up C, C++ and C# Forums at: > >http://www.thronesoftware.com/forum/ > >Join us! Why? The beauty of news groups is that they come to me I don't have to go to them. Also all the people who have been around a while know what they are doing and are here. I noticed that there are some C and C++ Forums on another system...

c,c++,obj-c
Of the 3 languages titled in this post is c++ older than obj-c ? Would someone experienced in C be able to dive right into C++ rather than obj-c ? Java is out for me now except applet programming I think I'm going to go with just C and C++. Bill Bill Cunningham wrote: > Of the 3 languages titled in this post is c++ older than obj-c ? Why does that matter? Do you want to use an old language? Try Fortran or LISP. > Would > someone experienced in C be able to dive right into C++ rather than > obj-c ? Not quite dive in, at least not into the OO parts of C++. ...

C, C++ and C# Forums
Throne Software has opened up C, C++ and C# Forums at: http://www.thronesoftware.com/forum/ Join us! ...

C, C++ and C# Forums
Throne Software has opened up C, C++ and C# Forums at: http://www.thronesoftware.com/forum/ Join us! Throne Software wrote: > Throne Software has opened up C, C++ and C# Forums at: > > http://www.thronesoftware.com/forum/ For all of your forums newsgroups already exist. > Join us! Why? Don't see any reason to support your marketing. ...

c++/c
hi i have been recently told that there is no exception handling ic c+ +.?? as far as i remember i have read, it has. also java has exception handling for sure but there we can use finally also which we cant use in c ++. what other differences do we have in the two languages c++ and java in exception handling. and which one is better? rupika wrote: > > i have been recently told that there is no exception handling ic > c++.?? You should ask about C in comp.lang.c, about C++ in comp.lang.c++. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home...

C++ to C
Hi all, does anyone out there have an awk/sed/perl script to assist me with manual rewriting from C++ to C? (Class --> struct, method --> function, << >> to printf, etc...) I have to rewrite a lot of legacy C++ code into a C-dialect of Plan 9 OS [sweetest Os around ;-) ] http://plan9.bell-labs.com/plan9/ Thanks, regards, ++pac. tyapca7@gmail.com wrote: > does anyone out there have an awk/sed/perl script to assist me with > manual rewriting from C++ to C? I'd ask a C language group... Yours, Laurenz Albe This is a MIME GnuPG-signed message. If you see this t...

c to c++
hi, i was wondering whether its worth converting from c to c++? i'm lazy but if its worth the effort... ______________________ http://monsterbeans.com/ | --------------------------------------- eminhanif@googlemail.com wrote: > hi, > i was wondering whether its worth converting from c to c++? > i'm lazy but if its worth the effort... Rather than participating in the language war flamefest your message invites, I will simply make the most obvious point: it is worth your while to learn any language that will be used in connection with your work. This includes learning a ...

About C and C++...
Hello, I have saw some programmers talking about C on the C's forums... But as you have seen me talking before on my post titled "Software life cycle" , you have noticed that i have talked about the criterions that is "Maintainability" and "modifiability", what i don't like in C is that if you want to group efficiently functions and some propoerties that are shared inside an object , you can not do that efficiently as can do Object Pascal or C++, if you are writing in C you have to use global variables, but that's not good for "maintenance" and "clarity" of the code, in C++ or Object pascal you will not use global variables but you will use an object that enhance the clarity and maintainability... this is why i don't like C, other than that since Java is garbage collected it enhance the "Reliability" and "Security" criterions, ADA also is good at Reliability and security, i think C and C++ score less on those criterions that are reliability and security than Java or ADA. Thank you, Amine Moulay Ramdane. Hello, Even if you can use structs to group functions and there shared variables in C, that's not as efficient as C++ or Object Pascal, in C++ or Object Pascal you can use public and private... properties and that's efficient and you can use also generics and lambda expressions to write less code and to easy maintenanc...

C++ or C?
somebody told me that c++ is superior to c while others insist that c++ is just a junk. I don't know which to follow.I want to know exactly the difference between them, and their respective advantage and disadvantage. Magcialking wrote: > somebody told me that c++ is superior to c while others insist that > c++ is just a junk. > I don't know which to follow.I want to know exactly the difference > between them, and their respective advantage and disadvantage. www.google.com and read about the differences until you're blue in the face. Oh, while you're at it, loo...

Web resources about - XCode and standard C/C++ libs - comp.sys.mac.programmer.help

Standard - Wikipedia, the free encyclopedia
St. Catharines Standard , a St. Catharines, Ontario, newspaper Text is available under the Creative Commons Attribution-ShareAlike License ;additional ...

Aiken Standard - Local News Updated throughout the Day
Your Source for local news in Aiken, South Carolina. Visit our site for recent updates, video, breaking news, and much more.

Business Standard :: Business News,Finance News, World Business, India Stock News, Indian stock market ...
Business Standard, Indias leading business newspaper, provides latest news on stock markets, investing, companies, industry, banking, finance, ...

Leader Standard
Former England striker Beattie, a former team-mate of Monk's at Southampton, was appointed first-team coach this summer, with his prime responsibility ...

Manila Standard Today - Latest News in the Philippines
Manila Standard Today - Latest News in the Philippines

The Weekly Standard - A Weekly Conservative Magazine and Blog of News and Opinion.
The Weekly Standard - A Weekly Conservative Magazine and Blog of News and Opinion.

Bulletin Standard
Breaking USA News & Headlines; Latest News and Current News from America, New York, Los Angeles, Chicago, Houston, Philadelphia, Phoenix, San ...

Standard Of Review: ‘Better Call Saul’ Returns With A Con And A Light Switch
The second season premiere of Better Call Saul represents a solid start, according to culture columnist Harry Graff.

2017 Ford Shelby GT350 Mustang gets standard Track Pack goodies
Filed under: Rumormill , Ford , Performance The Track Pack is dead, but many of its bits and pieces will now be standard - and no longer mutually ...

We Need to Hold the Line on Analytical Standards Here: Bernie Sanders Blogging
I have learned an immense amount for Gerald Friedman, and I will always be extremely grateful to him for being one of the two people who thought ...

Resources last updated: 2/20/2016 10:44:36 AM