Want to write a program that will count no. of comments line in a program

Hi,
I want to write a program that will count the no. of comments in a program which is given as an input from command line.
Any help is appreciated.
Jacky

hi..
I mean to say that If you can help me in writing the
program as I cannot think of any approach right nowI can only guess that right now your definition of "help" is "write it for me", which of course I will not do, nor will anyone else (at least they shouldn't). Is this how you approach life - do you just walk over to your classmate's desk and say "Here's my homework assignment - I don't know how to do it, just basically do it for me and I'll check back later"? I hope not.
You need to get started on your own - apparantly you're in some class and they've tried to teach you some stuff to get this done and you've been doing something else other than pay attention in class?

Similar Messages

  • I want to use Boot Camp to run a tax program that will only use explorer. Whick windows program do I need to install in Boot Camp

    I want to use Boot Camp and windows 7 or 8, preferrably 7 to run a tax program that will only let me use explorer.  I am using a Mac Book Pro with OSX Maverick 10.9.  There are so many windows programs out there it is confusing which one I need.  I don't think that I will need Office.

    http://www.apple.com/support/bootcamp/
    I would use Windows 7 any full version except the trial, or a branded Dell, HP, etc. versions

  • I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    The only way that would work out is if you ran exactly the versions that were made for old PowerBooks. Anything newer may require Intel and not run, or will strain the poor old G4 CPU.
    Your needs have to be modest, too, because the problem with older music and video software is that they are not current as far as formats and codecs for the Web. If you want to output H.264, the current standard for YouTube/Flash video, older software may not support it, and in addition, H.264 is processor-intensive and is tailor-made for today's multi-core, 2+ GHz processors. It will overwhelm a G4. A PowerBook G4 can barely play YouTube videos.
    More perspective: The PowerBooks worked great for miniDV format editing. In other words, 480i SD/standard definition video in use from the late 1990s to the late 2000s. If that is all you want to do, edit tape from an old miniDV camera to SD output, then OK.
    But if you want to edit today's HD video, whether 720p from a snapshot camera/iPhone 4 or 1080p from a DSLR, the PowerBook and the software for it will either not recognize AVCHD/H.264, or it will slow the PowerBook to a dead crawl.
    I'm in agreement with the above: Intel Macs have been out for so many years that getting a used one is a much better deal than a dead-end PowerBook. And I loved (still love) my PowerBooks.

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

  • Programs that will synch character's lips to a voice track?

    I was told by someone that there are programs that will
    automatically
    synch lips and eye motion to a vocal track. Does anyone know
    anything
    about these?
    Thanks.

    I am referring to a 3rd party external program (I think
    external and not
    a plugin for Flash).
    I guess it is possible he was referring to a service and not
    a program.
    Thanks.
    ooba wrote:
    > Depends:
    > Are you talking about a service that you can buy if so,
    > there are a few programs (services) out there that you
    can pay for that can
    > take an audio file and synch it to lips. As for the
    eyes, I dont see how an
    > audio track would do that. These services out there can
    generate for you an
    > animated swf file for your site but as far as I can tell
    you do NOT get the
    > program. You get access to the service they provide off
    of their servers where
    > u submit the audio file and maybe even a text file and
    it will return to you
    > the final product.
    >
    > If you are refering to something that you can leverage
    to help you create your
    > own lip synching audio to mouth or text to speeach flash
    engine / animation.
    >
    > I have been working on for the past month just such a
    thing with another
    > developer who does .NET. He used the microsoft text to
    speech API where we pass
    > it in text and it generates for me an xml file that
    specifies the timestamp and
    > phoneme to use at a given point in time of the audio
    file created.
    >
    > When I am playing the audio file i compare the current
    playhead position to
    > the times given in the xml to determine what to display
    to the user.
    >
    > Working out well so far still doing upgrades to it.
    >
    > If you want names of things out there Site Pal is one of
    them.
    >
    >
    >

  • Need a free download for a Video Capture program that will work on my Mac Powerbook G4.

    I need a free download for a video capture program that will work on my Powerbook G4 OSX 10.5.8 lap top, not sure but I think has 32 bits. Have already  tried Debut and it just wasn't what I wanted. Anyone know of any that would work?

    Do you not have iMovie?

  • I have photoshop CS5 Extended problem comes when I try to install it as I cannot seem to find an unzip program that will do it

    I have photoshop CS5 Extended but my motherboard flashed over so I have now purchased a new computer and of course wish to download another copy, I have my Serial No from my account and I have downloaded a new copy of the program, the problem comes when I try to install it as I cannot seem to find an unzip program that will do it as they are asking for file names etc which of course I don't have until I unpack it !! can anybody please advise what program will unzip this automatically bearing in mind there are two files with the download. Or is there a way that I can download without having to unzip?
    Thanking you for your help.

    download both the exe and 7z, put both in the same directory and click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • Is there one converter program that will convert these three formats:  cda, wma, and midi to mp3?, Is there one converter program tha t will convert these three formats:  cda, wma, and midi to mp3?

    Is there one converter program that will convert these three audio formats:  cda, wma, and midi to mp3?

    Hi Illaass,  Oh yes for days and I even called and email some asking this question and no one I could find did all three so I only have to buy one program.  The one I was going to download because it did two of them I read the reviews and 2 people said that a hacker was attached to the download and they changed all his search features amoung other things.  So I got out of there and that was the end of that.  That's why I decided to try this in case someone knows the answer.  Thanks for responding though.  Sandi

  • Looking for a third-party affiliate program that will integrate well with Adobe Business Catalyst.

    Dear Adobe Community,
    I am looking for a third-party Affiliate Program that will integrate well with the Adobe Business Catalyst platform.
    The requirement is fairly basic, i.e.,  to track multiple affiliates and down-stream affiliate-to-affiliate referrals. Also looking to report and display these referrals an affiliate’s dashboard.
    We have looked into Affiliate Program Software, Affiliate Tracking Software Marketing and would like to entertain other options before making a decision.
    Any assistance would be greatly appreciated! —Thank You!
    Kind Regards,
    Doug McClure

    For what it is worth, I am a fan of NuGen, I have both SEQ 1 and 2 and two stereo enhancing tools (stereoizer and stereoplacer I think they're called). Since I have the SEQ 1 it replaces all Channel EQ's. And the stereotools sound great and very lush, in stead of the more usual cheezy combfilterthingies that pass for stereo enhancing tools.
    And I actually like the interfaces. Simple, but stylish, functional and ergonomic (in this case meaning you can see all parameters in a quick glance, no guessing at settings).

  • I want to buy a cellphone that will work WELL as a modem for my Mac Book Pr

    I want to buy a cellphone that will work WELL as a modem for my Mac Book Pro.
    What cellphone works WELL as a modem?
    What is the script to activate the phone to work as modem?
    I have a Samsung a707 sych cellphone does not work as modem as far as I can tell.

    Any of the Sony Ericsson models will work well as a modem, either by Bluetooth or USB Cable (depending on the model).
    Instructions for setting up are here.

  • Does any one hav a program that will detect duplicate photos on iophoto

    Can any one help with a program that will detect duplicate photos in i photo
    Thanks in advance

    Hi,
    You can ask in the iPhoto forum as well.
    https://discussions.apple.com/community/ilife/iphoto
    Carolyn  

  • What do your recommend in Mac programs that will do what MS Publisher will

    What do your recommend in Mac programs that will do what MS Publisher does, but better for less?
    I am not sure where I should post general software questions so if this is not the correct one please let me know where I should post a question like this in the future.
    Thanks
    Martin Brossman

    http://store.apple.com/us/product/MB624Z/A?mco=MTIxODk3Mw
    Read the section on "Pages".

  • How to create a program that will accept a series of strings of 0 and 1 onl

    how to create a program that will accept a series of strings of 0 and 1 only then displays 0 as 48 and displays 1 as 49.

    Isn't one thread enough for your homework?
    http://forum.java.sun.com/thread.jspa?threadID=5253850&messageID=10051155#10051155

  • I need a program that will creat registration marks.  can I do this in Adobe elements 11?

    I need a program that will creat registration marks.  can I do this in Adobe elements 11?

    Most of the users look for copyrighting or having a watermark on their images to protect them from illiegal usage.
    If you are looking for this perfect use then below links can help you:
    There are multiple ways to add captions/watermark/copyright info in Photoshop Elements
    Below KB articales should be helpful in this context depending on your need and usage and expertise
    http://kb2.adobe.com/community/publishing/851/cpsid_85114.html
    http://kb2.adobe.com/community/publishing/851/cpsid_85127.html
    http://kb2.adobe.com/community/publishing/851/cpsid_85128.html
    Thanks,
    Garry

Maybe you are looking for

  • How to submit InfoPath form data to multiple SharePoint lists at one time?

    Hi, I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in th

  • Blocking Ad servers via etc/host file not working

    In Snow Leopard I add a list of ad servers and direct them to 127.0.0.1 via the /ect/host file. I've configured the host file on my mac mini server and it doesn't work. i just want to block ads when using browsers ON the Mini. How can I achieve this?

  • Images Not Showing On Webpage

    Hi All - I've been using Dreamweaver off and on for my website. Recently I've discovered I'm having a problem with my images. I had to create a new page for my upcoming HS Reunion and since I've uploaded the page and images, you can see the images. T

  • Connection lost contact error

    Hello, I get the following error: RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows ORACLE error from target database: ORA-03135: connection lo

  • 10.5.6 update - How to make a Backup copy

    hi guys - new to Mac's so be patient - I've updated my system from 10.5.5 to the latest 10.5.6 - no problems yet - how do I make a copy, on disc - that I can use in future, to restore the "new" system, if need be - as I would, using the 10.5.5 system