Help getting started w Xcode 3.0 and C++ hello world program

Friends:
I open xCode 3.0 on Leopard and I make a new project using the command line utility standard tool and enter the following application:
#include <iostream>
using namespace std;
int main()
cout << "Hello world";
return 0;
...and it doesn't build.
How can I fix this?
Thanks amigos! -Migs

The errors:
After the include: error: iostream: No such file or directory
After using namesapce: error: syntax error before namespace and warning: data definition has no type or storage calss
After cout: error: 'cout' undeclared
Thanks for helping!!!
Migs

Similar Messages

  • Need help getting started - I am a newbie and am royally confused

    I have Crystal Reports XI and VB.Net 2005 with CR functionality built in. I created reports directly in CRXI and now need to be able to use them in .Net.
    Here is where I get lost. When I created my RPT file it had me connect to a database (Access 2002) and then add a table and fields. It works great except now that I am porting to my .Net app the database it needs to connect to will always be changing (dynamic). The table and field names will always be the same. It is just the file name that changes, based on user inputs.
    So are there any tutorials, literature, help that anyone can point me to so I can get on with my steep learning curve? I started programming in VB.net and developing CR's just a short time ago and would appreciate a 'dumbed' down explanation so I can get a handle on this.
    Thanks for any help or advice offered.
    Regards
    TMA

    Here are various resources for .NET development with Business Objects products.
    Check out the developer library tutorials under the Crystal Reports section for help as well as the Crystal Reports samples in the application packages and additional code sample.
    Developer Getting Started
    [https://boc.sdn.sap.com/developer/gettingstarted]
    .NET Developer Resources
    [https://boc.sdn.sap.com/dotnet]
    Developer Library
    [http://devlibrary.businessobjects.com/]
    Links to our sample application packages:
    [http://support.businessobjects.com/communityCS/FilesAndUpdates/sample_applications_for_.NET_developers.pdf.asp]
    Additional Code samples
    [https://boc.sdn.sap.com/codesamples]
    Good luck,
    Jason

  • HT201442 my phone is not getting started,its displaying itunes sign and USB sign on the phone's screen. I have also restored and updated the phone however not getting started

    my phone is not getting started,its displaying itunes sign and USB sign on the phone's screen. I have also restored and updated the phone however not getting started

    It helped earlier but it has come back again. I don't know what to do. I tried what you said earlier but this time even this is not working either. And quite intrestingly my phone won't turn off. I turn it off, it goes off and then restarts on its own and then keep giving the same message again and again.
    Could it be a charging cable, is there any chance that the cable which was working fine one day could turn to be "incompatible" with iphone the other day????????
    Please help

  • I haven't used an Apple computer for years. I need help getting started

    I just bought a mac mini after 20 years using a PC.  I need help getting started.  Any beginning manuals out there?  Thanks.

    New User of Apple wrote:
    I just bought a mac mini after 20 years using a PC.  I need help getting started.  Any beginning manuals out there?  Thanks.
    Welcome back. Do not overlook the Finder and individual application Help menu support. The links provided above are great starter references. With tongue in cheek, they also may not be as current as the OS X release on your mini, so expect some differences.
    Here are a litany of keyboard short-cuts, last updated in June 2012, that may prove selectively beneficial.
    For actions like copy(c), paste(v), cut(x), print(p), and select-all(a), substitute the command key instead of control key.
    If you right click on a file, this menu will seem familiar. Press the option key and notice the menu changes. If you copy a file(s) from this menu, change to the destination and then press option with the right button menu to see copy file(s) changed to move file(s).
    To quickly view a file's contents, left click on the file icon, then press the space bar.
    The native file format for OS X is PDF. Thus, when you choose to print, you also have the option to save as PDF with web links preserved.
    Enjoy your mini.

  • I can't download any rented movie. When I start downloading Windows iTunes crashes and Windows close this program. What should I do?

    I can't download any rented movie. When I start downloading Windows iTunes crashes and Windows close this program. What should I do?

    If the problem is iTunes slowing down and not appearing to run correctly, you should check  this Apple article out-> Apple software on Windows: May see performance issues and blank iTunes Store
    You may want to try resetting Winsock as a temporary fix.
    1. To do so, please do the following in an administrator user:
    Windows Vista and Windows 7: Right click All Programs and choose Accessories > Command Prompt. Choose to open as an administrator.
    Windows XP: Click Start > Run and type in cmd.
    2. Enter the following command: 
    netsh winsock reset
    3. Restart the computer and test the issue.
    Note:  If the issue returns, third-party software may be reinserting the LSP.

  • While running hello world program for 12.1.3, getting error

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

    We followed the instruction given in dev tutorial and set the 12.1.3 jdev.
    When try to run the “Hello World” program, got error
    “You have insufficient privilege”
    Solution:
    I changed the setting as below and it worked.
    Jdeveloper -> Tools -> Embedded OC4J server setting -> start up
    Choose option: Default IP address
    And issue got resolved.
    I want to share this with everyone.

  • FPGA for CAN, DI, AI help getting started

    I am a new user to LabView.
    I am trying to program the FPGA on a 9144 Ethercat chassis with modules 9423 (Digital input), 9201 (Analog input), 9853 (CAN).  9144 is connected to a cRIO-9024.  There are more modules but if I can figure these out, the others should be almost the same.
    I have tried to copy the code in the following examples but not all the referenced VI's are on my computer or there is problems with the code that I don't know how to fix
    http://zone.ni.com/devzone/cda/tut/p/id/6628
    http://zone.ni.com/devzone/cda/epd/p/id/5473
    I am able to monitor the digital input and analog input using the real-time VI's, but that is pretty simple.
    Normally, I would just pound away at it for a while until I got something that worked, except there are some deadlines that have to be met.
    I need to be able to read and write CAN (this is to control a motor).  The digital input needs to measure the frequency (Hz) of the incoming signal (count edges). Analog input I would assume would be the easiest as it is just reading a voltage.  I realize that the only thing that really needs to run on the FPGA is the CAN.  I believe (and hoping) that it is possible to have all the data input come through the FPGA so that the Real-Time VI's only deal with the usable values like Hz and then equate that to RPM for example.  I am only looking to extract data at a rate of 1Hz.
    If anyone could help me out with some basic code to get me started, I would appreciate it.

    This FPGA VI has controls and indicators in it. It can only
    run on the FPGA targets that support Interactive Front Panel Communication
    (e.g. cRIO-9024) so that the host computer displays the FPGA VI front panel
    window and the FPGA target executes the FPGA VI block diagram. Please refer to
    LabVIEW Help (FPGA Module) for more information about the Interactive Front
    Panel Communication.
    However, support of Interactive Front Panel Communications
    varies by FPGA target – NI 9144 is one of the targets that doesn’t support it. With
    NI 9144, please use User-defined Variables to communicate between the host and
    the NI 9144 FPGA target, and then your FPGA VI automatically runs when you
    compile and download the FPGA VI to NI 9144 instead of clicking the Run button.
    Here is a document about the data transferring between the FPGA and the host. Section User-Defined I/O Variables for Custom FPGA I/O Data describes how to use User-defined Variables.
    Transferring Data between the FPGA and the Host (FPGA Module)
    Here is more information for your reference:
    1. Examples about programming FPGA on NI 9144:
    <NI Example Finder> >> Hardware Input and Output >> NI-Industrial Communications >> EtherCAT >> FPGA Fundamentals
    2. Help Topics:
    <Start
    Menu> >> All Programs >> National Instruments >> NI-Industrial Communications
    for EtherCAT >> NI-IndCom for
    EtherCAT Help >> Programming
    the FPGA on NI 9144 Slave Device
    Feilian (Vince) Shen

  • Business Catalyst Help | Getting started with Business Catalyst

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/using/getting-started-business-catalyst.html

    Hi,
    Welcome to Business Catalyst. 
    From the sounds of your requirement it looks very possible to acheive what you are after with a combination of perhaps APIs and using our import features + custom report generator. 
    Here's a list of our API calls -> http://kb.worldsecuresystems.com/635/bc_635.html
    Also the various import options within BC -> http://kb.worldsecuresystems.com/kb/importing-data.html
    Lastly our custom customer report generator -> http://kb.worldsecuresystems.com/kb/build-customer-report.html
    I would also if you haven't already go ahead and test out BC.  It appears identifiers are what would be "users" having back-end access to the system to either generate a report or email broadcast who may also need to analyze incoming data. 
    If still needing assistance please reach out to our direct support so we can help guide you further if needed.  -> http://helpx.adobe.com/contact.html
    Kind regards,
    -Sidney

  • Firstdata Global Gateway - Need help getting started

    I’m using Coldfusion 9,0,0,251028 on Windows 7 64-bit.
    I'm trying to change credit card processors for a website.  I've read the integration guide for the Web Service API  v 4.0, but it doesn't give me much in the way of how I integrate with coldfusion to build the xml that gets enclosed in SOAP and sent.
    I've talked to Firstdata's second level support and was told they don't help with programming beyond troubleshooting error codes.  They also told me they have no forum concerning the web service API.
    What kind of tags in coldfusion would I use to start this transaction?  Does anyone know where I could find an example or instructions besides the web service api integration guide?

    ColdFusion has pretty good support for consuming SOAP web services, you might checkout the docs to get started: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24 -7fbf.html
    Also I'd ask if FirstData if they have any ColdFusion examples they can point you to, while they will not help with specific tasks, they might point you to some resources for example: https://firstdata.zendesk.com/entries/407568-first-data-global-gateway-e4sm-web-service-ap i-sample-code-cold-fusion

  • Photoshop Elements Help | Getting started tutorials

    This question was posted in response to the following article: http://helpx.adobe.com/photoshop-elements/topics/getting-started-tutorials.html

    Do you mean photo mkail or attachments? I’ve found it usually works best with web mail via Adobe after obtaining verification. I know some email services block bulk email completely and I’ve only tested it with Gmail which works fine. Should also work with other web mail e.g. Yahoo and Hotmail. Before you start it will help to check your internet security settings. If they are set to High, reduce the settings to Medium temporarily. Then follow these instructions.
    1. Log in to your mail provider on the web and add the following email to your address/contacts book.
    [email protected]
    2. Open Organizer and on the menu click:
    Edit >> Preferences >> Sharing
    3. Choose Adobe Email Service from the client dropdown menu.
    4. Add your name and email address to the fields provided and click OK
    5. Test the system (first use only)  by selecting a photo in organizer and choosing Share >> Photo Mail then click Next (Mac users should use attachments)
    6. Choose a contact then click  Next
    7. Click Next Step, then click Next - the sender verification dialog will open.
    8. Check you have spelt your email address correctly and hit the Resend E-Mail button.
    9. Go to your inbox (also check spam) and when the Adobe mailer message is received copy (Ctrl+C) the long verification code.
    10. Return to the verification dialog and paste it (Ctrl+V) into the Sender verification field and click OK. Wait for validation confirmation then click OK to continue

  • How to get started Organizing photos with tags and albums

    Apporximately 15,000
    Mostly family, vacations, travel, etc over 30 years
    What is the BEST way to get started?  Should I tag them first or put them in albums and sub-albums and then try to tag and further identify them?  I know nothing of how is best to proceed.
    I am oveerwhelmed with the process and cannot seem to find a starting point.  I have looked at many of the tutorials, but cannot find a "1-2-3 A-B-C" roadmap.
    Message title was edited by: Brett N

    I would recommend doing all (okay, almost all) of your organizing via tags. Don't bother using albums unless there are a subset of photos that you want to display somehow (like a slideshow, or photobook) in which case albums are the right tool. Also, make sure that when appropriate, you add the proper captions and notes.
    I would start by using pencil and paper (or word processor) to make a list of categories and tags, in the appropriate hierarchy, that you might want. For example, in the people category, there are tags Jones Family, Smith Family, etc. (and sub-tags with people's names) In the event category, there are tags Vacation, Beach, Christmas, Hanuka, etc. Other categories you might want: Location (example: New York, Boston, Illinois), Content (mountain, church, waterfall, gorilla, historical site). This part completely depends on you.
    Once you have this hiearachy of categories and tags to your liking, start creating/adding the tags (and captions and notes if needed) to your photos. You can work in small batches. Eventually you will have all your photos tagged (trust me, I know, I did this too).
    Do NOT: move photos or folders from here to there, or rename them ... this is unnecessary extra work, as you will be using your tags from this point forward to locate your photos (exception: if you want/need to move the photos to a different hard disk, then by all means do so).

  • Help getting started

    So, I'm trying to get started working with Flash using
    ActionScript. I've read some tutorials, browsed through some code,
    and feel like I have enough resources to do what I want, with one
    exception: I can't figure out how to get the actions I put on my
    first frame to run. I've downloaded examples, and they all seem to
    work; I feel like I've mimicked their syntax precisely, but it
    appears I'm missing something, because my script isn't running.
    Here's what I'm doing, step-by-step (using Macromedia Flash
    MX Professional 2004, Trial):
    -Create new Flash Document
    -Import to Library: 1.jpg (picture of a panda bear)
    -Window->Library to view library, drag 1.jpg onto canvas
    -Right-click picture, Convert to Symbol: Movie Clip named
    PandaClip
    -Insert new layer above Layer 1, name it "actions"
    -In the Actions window, with "Current Selection" reading
    "actions : Frame 1", type:
    PandaClip.onRelease = function() {
    PandaClip._alpha = 0;
    which, from my understanding, should mean that, when I click
    on the picture, it'll disappear.
    -Ctrl+Enter to test movie.
    When I test the movie, I see the picture, but clicking on it
    does nothing (I don't even get the finger pointer indicating it's
    clickable).
    So... can anyone see where I went wrong? 'Cause it's been
    driving me nuts. If I attach an action to the PandaClip itself
    using on(release), it works fine and dandy, but I'd really like to
    be able to have some script run in the first frame...

    Are you giving it an instance name of PandaPic or whatever in
    the property inspector? Naming it PandaPic in the library doesn't
    make it targetable in actionscript. To target anything on the stage
    it must have an instance name in the property inspector unless that
    object is created dynamically which you are not doing in your
    example.

  • HELP GETTING Started with Sun Access Manager without TEARS.

    I am new to Sun Access Manager.
    I am quite familiar with how Sun Java Identity Manager works.
    The following is the issue I am facing.
    I've downloaded the following images from the sun website
    java_es_05Q4-ga1-solaris-x86-1-iso
    and
    java_es_05Q4-ga1-solaris-x86-2-iso
    I've installed the components on sun solaris 10
    The following components were installed
    /opt/SUNWcomds
    I am not sure what this is for
    /opt/SUNWdsvmn
    I am not sure what it is.
    /opt/SUNWma
    What is this I was expecting SUNWam the access management software!
    /opt/SUNWwbsvr -- This is the Web Server.
    I know how to use it.
    Can anyone tell me on how to go about it?
    Is there any online tutorial for the same.
    What is the difference between sparc version and x86. Can i use any of these on solaris 10?
    Anyhelp getting started would be highly appreciated.
    I am looking at doing the following things.
    ssl,fed, auth, custauth etc
    Thanks a ton in Advance.
    Regards,
    Vinod

    I documented my installation procedure for Access Manager 7.0 (2005Q4) and Portal 7.0. Take a look at my wiki page:
    http://wiki.its.queensu.ca/display/JES/Access+Manager+installation
    It's a two node Access manager Legacy site and I also implemented session-failover using Message Queue and Berkeley Database.

  • Need help getting started with the ML505 Development Kit

    First of all, an admission...I am a newb to the FPGA world. A babe in the wilderness. I am trying to run a simple little logic design to get my feet wet. Four inputs using the WEST, CENTER, SOUTH, and EAST pushbuttons feeding two AND gates which feeds an OR gate which turns on the NORTH LED. I have tried to use the Platform Cable USB to download the project to the XCF32P Platform Flash PROM using the iMPACT software. As of yet I have been unable to get the program to run. The iMPACT program says the programming was successful but after pressing the PROG button, the DONE LED does not turn on. I've tried different settings with the Configuration Address and Mode DIP switches with no success. To anyone using the ML505, given the gear I have at my disposal, what would you recommend? What modes have you used that worked? Thanks in advance.

    Here is the latest setup I have used in trying to get my FPGA to read from the Platform FLASH PROM. Configuration Address/Mode DIP switches set to 01011001 as per "My Own Platform Image Demonstration" method in the "ML505/ML506/ML507 Getting Started Tutorial" The Platform Cable USB is plugged into the JTAG connector on the ML505. Its status LED is green. In iMPACT the Boundary Scan reveals the following chain... TDI ----- xcf32p -----xcf32p-----xc9s144x1-----xccace-----xc5vlx50t-----TDO   The same mcs file is loaded into both PROMs (xcf32p). I start the programming cycle. It completes and says "Programming Successful" I press the PROG button on the ML505 and the DONE LED does not turn on and the design does not work. With the same chain I add the bit file to the xc5vlx50t so I have the PROMs loaded with mcs files and the FPGA with the bit file. I run the program function again. "Programming successful" is again indicated. The DONE LED lights and the design works. I then press the PROG button. The DONE LED turns off and the design ceases to function. I have also tried this with only one PROM loaded with a mcs file with no success. What am I doing wrong? Am I missing something? Thanks in advance.

  • Help Getting Started with the Zen Vision:M (Z

    Hi,I just got my ZVM and want to get started with it. I have a couple of questions, first:?. I have Windows Vista. Can I just plug in the ZVM and go without using the Installation CDs? Or do I still need to install something off of the installation discs?2. Why 2 installation discs? There is with a black cover that says Easy Start CD and has the Urge and Window Media Player logo at the bottom. The other is just in a plain white bordered sleeve with a light colored disc that says Zen Vision: M Installation CD at the bottom. I think I want to start with the light colored disc, but want to make sure. Thanks.

    I think that the White disk that says Zen on it is the one you want it has Creative Media Source on it and is a very useful tool for me, the other disk has Windows Media Player on it and will also install a connection to a website that you can purchase tracks from (which i took off as soon as i found this out) not the WMP though, for some reason i could not get my Zen to work properly without the WMP loaded on my pc, however i use the Creative Media Source instead of the WMP.

Maybe you are looking for

  • Automate Batch, open every 3 files in a folder?

    I'm doing some work where I mostly do the same things on three files. It's for a game-project and I've got one texture for shadows, one that's the normal diffuse layer and finally one that controls where team-colors go. I've learnt some things about

  • Calling procedure with user defined IN & OUT parameters

    I have procedure in a package which I need to call from the JDBC. My problem is, that procedure take user-defined data types as IN parameters & gives user-defined OUT paramters. How do I call a procedure like this. Do I need to write the wrapper clas

  • When do we post Deposit in SAP B1?

    Hi, I have a doubt related to posting Deposit after posting Incoming Payment. When can we post Deposit in SAP after raising Incoming Payment. Is it when the cheque is deposited into the bank for clearance.                                            

  • How to hide Top Level Navigation?

    Hi, I created a quicklink for an iview. I am able to call the iview from IE window using the quicklink. But it displays the top level navigation (Company Logo, Welcome message, Logoff, Role tabs,...). How do I hide this? Thanks Sundar

  • Why can't I watch shows I purchased and downloaded from the cloud?

    I purchased a season tv show and I cannot watch anything on my PC.  It seems that iTunes totally freezes up and cannot play the show.  I unistalled iTines and reinstalled once already.