Checking Programming Language Version Xcode ide

Pretty straight forward Topic line. With xcode (2.5) how do I check which version of any particular programming language.   
But I am asking because I am in the learning stages, and that is a very important question, so I would like a answer that suites all of the programming languages that come default with xcode ide.

Launch the Terminal application and go to the following directory:
/usr/bin
Run the ls command to list the contents of the directory. Look for the gcc and g++ entries. GCC is the compiler Xcode 2.5 uses for C and Objective-C, and g++ is the compiler Xcode 2.5 uses for C++. To see the default version of gcc, run the following command:
gcc -v

Similar Messages

  • My Epson photo 1280 will only print 1/2 of a page from a document in Pages program. First print was fine. Have printed out a Mac templet and printer does same thing. Cleaned heads, checked nozzels etc. Any ideas?

    My Epson photo 1280 will only print 1/2 of a page from a document in Pages program. First print was fine. Have printed out a Mac templet and printer does same thing. Cleaned heads, checked nozzels etc. Any ideas?

    Hello, I have exactly the same problem. I could have written the same text. And I have'nt found solutions. Except, perhaps, change this printer (and quit HP?).
    Any suggestions would be really much appreciated.
    Thank you for your possible responses.

  • When I open iTunes I get message 'This version has not been correctly localised for this language. Please run the English version' - any ideas?

    When I open iTunes I get message 'This version has not been correctly localised for this language. Please run the English version' - any ideas?

    Hi there nisbetk,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    -Griff W.

  • What programming language should i learn first?

    Hi, i'm Francis, from Rome. As you can see, i have a MacBook White with Mac OS X 10.5.8.
    Yesterday i downloaded *Xcode with iPhone SDK (version 3.1)*. I want to create Mac and iPhone/iPod/iPad applications.
    I read that there are several programming languages: Java, Cocoa, Cocoa Touch, C, C++, Objective C, Objective C++, Carbon, Classic, BSD, etc...
    What should i begin with? +I think Cocoa, Cocoa Touch, C and Objective C, but i'm not sure!+
    Can you help me? Thanks!

    Java, C, C++, Objective-C are languages. Cocoa, Cocoa Touch, Carbon, and Classic are what are known as APIs - resources you can use in your programs but not languages in their own right. BSD is short for BSD UNIX, and it's an operating system (that's the foundation for OS X). HTML is a document format more than a language.
    What language(s) to learn depends on your objectives or needs. OS X comes with Python, Ruby, PERL, AppleScript, and PHP languages (and JavaScript in the web browser). Current versions also include Java. If you install the OS X development tools, it adds C, C++, and Objective-C along with the XCode development environment.
    Each of the languages has it's strengths and weaknesses. From a purely educational standpoint, C is a high-level language that will teach you about low-level programming. Java teaches very strong object-oriented programming.
    Objective-C would permit you to develop using the iOS toolkits for iPhone and iPad, and also application programming for OS X.
    PERL, Python, and Ruby are all simple to learn scripting languages and very powerful for all sorts of automation tasks, text processing, and CGI scripting.

  • SharePoint stp template is missing Language, Version and Feature ID.

    I uploaded a new template(.stp file) to List Template gallery.
    But it is not showing Language, version and Feature ID.
    As a result, I am not able to create a new library using the template.
    Any idea how to fix this?

    Hi,
    According to your post, my understanding is that you wanted to SharePoint stp template missed Language, Version and Feature ID.
    Firstly, please check whether you create list template correctly.
    Secondly, please make sure you don’t edit the template.
    Finnaly, please use PowerShell to enable the 'ParserEnabled' property for the web site.
    More information:
    Copy or move a list by using a list template
    Feature id not assigned when saving a list as a template
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to learn swift programing language

    i want to learn swift programing language.it seems i need xcode 6  for learning swift.so
    should i buy both of developer accounts (ios developer,mac developer) for learning swift???

    ershad459 wrote:
    Can you explain it with more details.?
    it seems swift is more easiyer than objective c.
    and you said i most learn objective c and swift.right??
    Not sure how much easier Swift will be to learn over C/Objective-C, took a quick look through the manual and while somethings are simpler overall the impression I got is that it will have it's own problems. Any language that is complex enough to do complex programs will be difficult, at least at first. What makes one language harder then another is how consistent. If you do one thing one way one time and then do it another way another time the language will be a pain to work with no matter how 'easy' it is.  From what I've read I'm a bit leery of Switf's consistency, but only time will tell.
    As for learning C/Objective-C as ckuan wrote knowing more then one language is always a good thing, especially if you are looking to do this for work. But more importably as I wrote those languages won;t be going away anytime soon. All of the system and UI code is in C and-or Objective-C. The UI is all Objective-C. I'm still waiting to see how Swift will interface with the UI, but I have to believe that for more then the simplest interfaces a certain amount of Objective-C code will need to be written.
    I suppose long term Apple's idea is to have all third part development done in  Swift. But I think that day is still off in the future. I see no waste of resources for a programmer new to Apple spending time with C/Objective-C.
    good luck
    regards

  • What programming language should a beginner use for developing apps for mac and I phone etc

    Hi all
    I have just made the transition from pc to mac, years a go I dabbled in visual basic and was going to give it another go but having made the move to mac, now owning an iMac/ iPhone and iPad I am now thinking I would be better off learning a programming language that would enable me to create program's /apps for apple products. Can someone please point me in the right direction.

    If you want to develop apps natively, you'll have to go with Objective-C (language), Xcode (IDE), and the Cocoa Touch libraries. Objective-C is a super-set of C. So, if you've no background in C, start there. In fact, here are three books I recommend:
    Dave Mark, Learn C on the Mac:
    http://www.amazon.com/Learn-C-Mac-Dave-Mark/dp/1430218096
    Aaron Hillegass, Objective-C Programming: The Big Nerd Ranch Guide:
    http://www.bignerdranch.com/book/objective-c_programming_the_big_nerd_ranch_guid e
    Joe Conway & Aaron Hillegass, iOS Programming: The Big Nerd Ranch Guide (3rd Edition):
    http://www.bignerdranch.com/book/ios_programming_the_big_nerd_ranch_guide_rd_edi tion_
    Dave Mark's book covers C, and you probably don't need all of it. Once it gets to really elaborate storage issues (for which you'll end up using Core Data on iOS), you can skim. On the up side, you have some programming experience, which will make learning C easier. On the downside, it's in VB, which isn't as similar to C as most other languages are. But, it's a start.
    Hillegass covers some basic C in his book on Objective C as well. So you might can start with that. The final book only touches on Objective-C lightly and is really about using the iOS frameworks to do real work. It's entirely project based and will get to you building things and testing them and really creating iOS apps.

  • Custom language for xcode

    Hi,
    Is there a relatively easy way to add a custom language to xcode?  (templates, syntax highlighting, etc.)
    I often work in "R", a statistical programming language and would love to use xcode to write my code.
    Thanks!

    noah977 wrote:
    XCode must have something similar.  Finiding it and deciphering the file format is the tricky part.
    Finding and deciphering isn't all that difficult. The files are here:
    /Developer/Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/Resource s/
    /Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/
    How to get Xcode to recognize a new language is another story. I have tried to inspire the FORTRAN people to do that since they seem very upset that FORTRAN doesn't have syntax coloring in Xcode4. There is a "Fortran.xclangspec" file in there, but I wasn't able to get Xcode to use it. I admit that I didn't try that hard. If you could figure out how to get FORTRAN syntax highlighting to work, the FORTRAN programmers would really appreciate it, and you could probably hack-in R support as well. Of course, it may not be possible at all, so don't get too excited.
    PS: Make sure to have good backups before hacking on Xcode internals.

  • Maxdb - programming language interface

    Which is the best programming language to interface with MAXDB database ?
    Is there any framework that provides easy integration of MaxDB with the programming language ?
    Regards,
    Tom Jerry

    Tom Jerry wrote:>
    > what is the name of the framework designed based on maxdb - java integration.
    > I am referring to frameworks like struts, ruby on rails, velocity, etc.
    Ok, I admit, I'm not a professional java developer but....
    STRUTS is a general web application development framework.
    VELOCITY is a language for using templates to use java objects.
    RUBY ON RAILS is also a language/framework for creating web applications.
    None of them is specifically a database integration framework.
    If you want an example for a application framework that works seamless  with MaxDB and all other major databases - go for SAP NetWeaver
    It has a lot to offer, a huge user/developer base, professional support, really is mission-critical-proof and you can download the developer version here in SDN as well.
    > I am a beginner in using maxdb database. And I want some proper guidance in using Java for interfacing with the database.
    > Agreed that the documentation has already been made available, but it is not user-friendly especially for beginners.
    Ok, the documentation may be a bit more extensive - but it already covers quite enough to get started.
    E.g. [Example: HelloMaxDB|http://maxdb.sap.com/doc/7_7/46/7bb199e97150d1e10000000a155369/content.htm].
    Make sure to check the [Java Manual|http://maxdb.sap.com/doc/7_7/46/7bb193e97150d1e10000000a155369/content.htm].
    > hence, requested for baby steps to build an java application.
    You've got the 'baby steps' right there.
    But there's not going to be anybody taking them for you - programming is not following screenshots ...
    So, have fun!
    Lars

  • What are the programming language used in adobe livecycle development?

    hi friends,
                    I am a fresher.I woundered what adobe has done in livecycle import option.so i want to know wht is the programming language used and how they read graphical fields like line,circle.

    Programatically, Java is the language used to implement business logic that would plug into LiveCycle.  I believe you can use C# for older versions.  However, that information is irrelevant to your problem.
    That being said, it's typically not advisable to be modifying PDF files generated by different applications (iText, Adobe LiveCycle, etc.).  While both documents may render out as "PDF", they will not be created internally in the same manner.  I would advise that it may be easy to add PDF files generated by other applications as attachments, they are not going to be easily handled unless you address each specific document in a custom manner.

  • How to check the JDK version of a compiled java file

    can anybody tell me how to check the JDK version of a compiled java file ?
    Edited by: gbhatia8 on Sep 9, 2010 7:04 AM

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • Pulling a program out of the IDE

    I have been playing with pulling small progrograms out of my Integrated development environment (IDE); writing them to CD; and installing them on other desktops, just as an exercise in the case I want to deliver some applications to a friend.
    The overall requirements(steps) are not clear to me.
    1.the directory organization
    2. the file (jar) creation
    3. the D0S (java.exe) window
    Are some of the issue that come to mind.
    I have been able to use a desktop icon and set the path to a program.class file and run it--making the program window appear but the java.exe Dos window also appears.
    So far, the number of texts I have give no step by step instructions on how to configure an environment without an IDE with the java VM already intalled, or how to pull a program out of the IDE and install it along with a copy of the VM on another machine.

    Good question. Lot's of people don't know this, and I can't even say I have all the right answers. There are probably numerous ways you could do this. The best way, if you have the money, is to buy something like InstallAnywhere or Wise that provide professional installations. Not only will your install look like professional installation of stuff like Photoshop, etc but it will also handle issues like OS platform specifics, environment variables, registry entires (if possible), the proper JRE/JDK installed... if not install it, uninstallation features, and so forth. That is by far the best way to go.
    However, often you just want to bundle something up and send it out to a few friends, family, etc. You could of course look for an open source or freeware utitlity and no doubt there are some out there. Or, you could do what a lot of people do now, use the Ant tool (written in Java) and have a build script that does everything for you. I have a simple template build script that is used for various tasks. In our work setup, it does local dev (incremental) compiles, and if necessary packaging it up into .jar/.zip files. My single build script can also run junit tests and reports, builds executable packages into .zip and .jar's as necessary, will do a clean build (great for making sure any code changes don't break some code elsewhere, thus ensuring that your normal incremental build process is not missing something), it can FTP or copy files to locations, it can email results, and so forth. If you don't know about ant, I STRONGLY suggest you learn it quickly, and to me there is no better way than buy the book Java Development with Ant. Two of the main Ant developers/committers wrote the book and it does an excellent job of teaching you about all the different uses of Ant, including the template build script I now use. It is well worth the $40 or so you'll find the book for, and within a week you'll have a good build template that you can modify for specific projects.
    Now, in terms of the 3 things, well, the directory organization is always changing. Each project may have something different, but here is one that I usually use:
    <root project dir>: (below this you'll find)
    /src - location of all src files
    /src/java - the location of the project specific java code
    /src/examples - if need be (especially useful for frameworks and API's you wish to share) show example applications using the output of the /src/java code
    /src/test - location of JUnit, jfcUnit and other test files to unit test your code (very important, should be done no matter what!!)
    /lib - location of any 3rd party libraries you need, both for compilation and runtime. Keep in mind that your build script may pull only a subset of these libraries in for runtime. For example, the /src/test that uses JUnit will require the junit.jar file. You won't need this for runtime, so your build script sets up a compile classpath with junit.jar, and a runtime classpath that will exclude junit.jar, perhaps others.
    /dist - the location that the build script puts all distributable files. This would be any executable .jar file, any .zip file, perhaps other files necessary for distribution. If you were making a large application and planned to burn it to disk, instead of a single .zip file, you may actually build the sub-dirs below the /dist/<your app> type of dir, so that you can simply burn from that <your app> dir to the root of the cd.
    /build - location of all compiled classes, including from /src/java, /src/examples, /src/test.
    /build/classes - the location of compiled java code
    /build/test - the location of test results, including perhaps test data to be used by the test code, and possibly the output dir of test reports
    - /build/test/reports for example for output of test reports.
    /doc - location of any documentation, including the JavaDoc produced by the build script from your src.
    <project root> - this is the location of your build.xml ant build script, if need be. The build script, as you would learn in the book, is set up so that you can move it anywhere and it will still build your project correctly. You may opt to put it in the /scripts dir instead and keep the project root super clean.
    /misc or /etc - common location to put things like properties files, misc files used to build projects. For example, in the building of a EJB application (.jar or .ear file), you will no doubt need the META-INF/application.xml file. Or in a .jar file you need a special META-INF/manifest.mf file. The /misc or /etc dir is a good candidate for these types of things. You can even package it up in your app so that in the .jar file you have /etc/properties/somepropertyfile.properties, and in your code do a simple getClass().getClassLoader().getResource("/etc/properties/somepropertyfile.properties") to always ensure you pull it from this directory. OR, your build script can "change" the location this file goes. It is all up to you.
    That is what I use for all my projects, the dir structure anyway. What you do to build your .jar/.zip files is up to you. You usually don't need to pull the /src dir, the /dist dir, etc into your .jar/.zip files. Normally you'll have the compiled classes at the root. So in your project dir on your disk, you may have <project root>/build/classes/java/org/mycompany/ui/Main.class, and in your .jar file it would simply be <root of .jar file>/org/mycompany/ui/Main.class, and your build file can easily "change" the root path (using <zipfileset prefix=""> task) to change the path of any file. But more of that can be learned in that book and by looking up resources on the net. The Ant JavaDoc API is very good at explaining most of these as well, and there are TONS of ant scripts in most projects to look at for examples.
    The file creation, well, as I said Ant has built in tasks you can use to create .jar files, .zip files, etc. All of that is all built in to how Ant works.
    As for java.exe, well, in a professional app, you usually do one of two things. You either write a simple C/C++/Delphi/some other languages .exe wrapper (for windows) that internall executes the java.exe and runs the JVM to hide the window, as well as provide a .exe file to look more "native", or you run javaw.exe, which hides the Console output window for most apps. NOTE: if you create a .bat shortcut on your desktop to javaw.exe, you will STILL get a console window that shows up. ALL shortcuts to .bat files will always create a console window. Many java developers don't understand why they run javaw.exe from a shortcut on their desktop and still see the console window.
    Now, hopefully that helped a bit. But if not, or you still have questions, I am watching this thread so fire away and I'll help more.

  • Choose a programming language

    I want a program that can
    analyse http://www.youtube.com/browse?s=mr&t=&l=&e=en_US&p=*  (*=1-5) every 10 minutes
    then pick out  the link that start with http://www.youtube.com/watch?v=
    export their related information and their links to a form that I want
    sort them as their youtube added time
    and it can run on my webpage
    so what programming language should I choose to write this program?

    Your program consists of two parts, to query the site in a given interval and to display the videos/information on your website. I think PHP would suite best for displaying the videos on your page, but then, if you have a python/ruby powered website then use the one you make your website with. For the query part I would use python and write a small script that gets triggered via a cron job in the interval you like. Instead of parsing the contents of the page itself I would use the RSS feed provided by the youtube page, there's a python module named "feedparser" with which you can easily access the feed contents and extract the related information (shouldn't be more than maybe 50 lines of code), write it to a database (sqlite), in the form that you like, and retrieve the contents via your PHP script on your webpage. Or completely skip the time interval query part and just check for new videos when someone visits your website .
    Last edited by chimeric (2008-01-19 11:12:56)

  • How to know if firefox is using a master password from a some programming language?

    I am working in a security check project and I need know from an programming language or open some file if firefox is using a master password.

    Generally speaking, there is nothing in the HTTP request to indicate to a server the type of window the request originates from. So you will have to manage it at the application level.

  • ADRMAS and international language versions for Bus Partners

    How will MDM address international language versions for vendor masters?  Will it allow for matching on the these at this time?  Will it copy from load client store in central repository and pass back down to other R/3 and legacy systems?

    On Master Data Server (MDS) a Third Party Tool to check country-specific postal data can be connected. However these checks are only possible in the Enterprise Portal User Interface. It will not work during Consolidation (Upload from clients to MDS).

Maybe you are looking for

  • My imessage is no longer working along with sms

    My friend and i both have iphones and imessage all the time. There is the occasional moment when we send sms because imessage is not avalible. I started getting the messages from his email. I added his email to his contact. His messagess began coming

  • Cant find my music

    please help I can't finkd my music that I backed up...

  • Windows Search and pooled VDI Clients

    Hello The management of our customer want to use necessarily the Windows Search on floating VDI Clients. What's the best way in your opinion to enable this? The Search Index (Database) will be computer-based and should not be generated after each p

  • Opening .stc files?

    Is there a way to force Numbers to open .stc files? I mean a solution that does NOT involve opening the file first in MS Excel, saving it in a compatible format, and then opening it in Numbers?

  • Query regarding patch 7461070

    Hi, We are in the process of upgrading from 11.5.10.2 to R12.1.3. As part of applying patch #7461070 the Readme.txt says customers who are on R12.AD.A version must apply patch 6767273:R12.AD.A. We have installed R12.1.1 with Upgrade option. Please le