Understanding compile errors due to copying code from a doc file and not a txt file

SITUATION:
My instructor for my micro-controller class refuses to save sample code to a text file and instead saves it to a word document file instead. When I open up the doc file and copy/paste the code into my IDE "CodeWarrior" it causes errors upon compile time.
I am having to rewrite all the code into a text editor and then copy/paste it into my IDE.
MY UNDERSTANDING:
I was told to always save code as a text file because when you save code as a word document file it will bring in unwanted characters when your copy/pasting the code into your IDE for compiling.
Their are students in my class using the schools computers running "Windows" that copied and pasted the code into CodeWarrior and it compiled fine. This is not only frustrating but confusing. However, I know their are students in class with "PC's" running windows that had the same trouble I did so I know it's not a Mac issue. 
Also I am running "Parallels" because my IDE for this micro-controller "Code Warrior" is not avaiable for my OS. I realize there are several IDE's out there that require "Windows OS" in general but I know this situation is not a Mac issue or Parallels issue or even a Windows issue. It's purly an issue of formatting that is done between the file being copied and the target program or so I'm understanding.
Can someone exlain to me in better words or perhaps provide a resource, documentation or article that will enlighten me on this issue. I would like to better state my case next time. I'm tired of being told this is a MAC issue and that Windows is just plain better.

The problem is (as you suggest) almost certainly a gremlin issue - characters that for one reason or another Code Warrior cannot interpret correctly. Why it happens to you and not others is a different matter. That could mean that the pofessor uses fonts that are not on your machine, or that he is using a different version of word, or it could be in how you access the data. For instance, if the prof posts this word doc on the web you may get different results if you download the file and open it in Word as opposed to opening it directly from a web browser.
The sure-fire solution is to download TextWrangler and copy the code in there first. TW has a number of tools for finding and removing unpleasant characters. it adds a step, but... you could also try resaving the doc file as a plain text file from within word.

Similar Messages

  • HT1539 Why Do I keep getting an error message telling me "Code redemption is temporarily unavailable. Please try again later." whenever I try to redeem my digital copy code for "Oz The Great and Powerful"?

    Why Do I keep getting an error message telling me "Code redemption is temporarily unavailable. Please try again later." whenever I try to redeem my digital copy code for "Oz The Great and Powerful"?

    I had the same problem so I decided to try going to website on the back. (DisneyOzMovieandOffers.com). It will take you to a page that says to redeem code, enter the code that is given to you and click enter. It will give you options of where you would like to download it from. Click iTunes and it will give you the correct code to download the movie from iTunes.

  • How to suppress compiler errors without excluding database objects from the "Schema Compare" tool (using VS2013/SSDT)

    Hi,
    In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
    A bit longer:
    We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
    An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
    Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
    I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
    So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
    Thank you in advance.

    Hi Steven,
    Thanks for your comments.
    Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
    The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
    objects, right!
    If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
    for some newbies like us. We need something we can trust.
    BR
    Peter

  • Copy code from 1 SAP instance to another.

    Is there a way to copy code from one client to another client eg. I developed a RFC with a new table (Z-Table). How can I transport that defelopment?

    Hi
    check thi link
    http://www.sap-basis-abap.com/sapbs046.htm
    <b>reward point if useful.</b>
    rgrds
    shazia

  • Why copy option from recent call numbers is not working on ios7 [recent call logs in phone]?

    why copy option from recent call numbers is not working on ios7 [recent call logs in phone]?

    Here is a copy of my expressions and a copy of my data. The expressions match up going from left to right
    Code.CalcPTD2(Lookupset(FORMAT(Fields!REALDATE.Value,"Long Date"),FORMAT(Fields!CallbackDate.Value,"Long Date"),Fields!DailyHours.Value,"DataSet4"))
    sum(Code.CalcPTD2(Lookupset(FORMAT(Fields!REALDATE.Value,"Long Date"),FORMAT(Fields!CallbackDate.Value,"Long Date"),Fields!DailyHours.Value,"DataSet4")))
    count(Code.CalcPTD2(Lookupset(FORMAT(Fields!REALDATE.Value,"Long Date"),FORMAT(Fields!CallbackDate.Value,"Long Date"),Fields!DailyHours.Value,"DataSet4")))
    PUBLIC SHARED FUNCTION CalcPTD2(LookupArray AS OBJECT) AS INTEGER
         DIM i,Total AS INTEGER
         Total = 0
         FOR i = 0 to UBOUND(LookupArray)
               Total = Total + CINT(LookupArray(i))
         NEXT i
     NumberTimes  =   NumberTimes +1
    RETURN  Total
    END FUNCTION

  • How can I copy layers from one .fla file to another .fla file?

    Hi,
    How can I copy layers from one .fla file to another .fla file? Please do help.
    Thanks.

    Select all the frames you want to copy, right click and select copy frames then select the file you want to paste them into and right click again and then paste frames.
    The layers the frames are should come across with them.

  • How to transfer data from macbook pro to an external hard drive, im using (WD 1TB 3.0) ???. I cannot copy anything from my mac to it not a single file.

    how to transfer data from macbook pro to an external hard drive, im using (WD 1TB 3.0) ???. I cannot copy anything from my mac to it not a single file.

    ok - since you'll be sharing it with a PC - connect it to your windows pc - then format from there - instead of NTFS format - choose exFAT.
    or, you can read the link below on how to do it in dos mode.
    http://answers.microsoft.com/en-us/windows/forum/windows_7-files/how-can-i-forma t-external-drive-in-exfat-not-in/0f6bf19a-19d6-4470-ae05-53ddf26bb476?msgId=1860 eae3-3488-4eea-8326-f87b89d9851b
    once you've formatted it - you can now use it in both your macbook and windows computer.

  • Clean install on new 1TB hdd, Yosemite keeps freezing when copying data from an ext drive and also from a usb

    Hi all,
    I'm trying to figure out why my macbook keeps freezing when I try to drag my data across to it (even small files from a USB).
    I've had to force restart over a dozen times today :/
    I ran EtreCheck and there are a couple of issues (I've no idea what they mean).
    If anybody could share some light into the report below I would be very grateful:
    Problem description:
    Macbook Pro mid 2010, Yosemite, blank new install on 1 TB hdd, keeps freezing when copying data from an ext drive and also from a usb
    EtreCheck version: 2.2 (132)
    Report generated 5/2/15, 4:55 PM
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro7,1
        1 2.4 GHz Intel Core 2 Duo CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery: Health = Normal - Cycle count = 2061 - SN = W013358KQD3BA
    Video Information: ℹ️
        NVIDIA GeForce 320M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.3 (14D136) - Time since boot: 0:7:25
    Disk Information: ℹ️
        ST1000LM024 HN-M101MBB disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (968.00 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Problem System Launch Daemons: ℹ️
        [failed]    com.apple.mtrecorder.plist
    Launch Daemons: ℹ️
        [failed]    com.apple.spirecorder.plist
    User Launch Agents: ℹ️
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Caffeine    Application  (/Applications/Caffeine.app)
    Internet Plug-ins: ℹ️
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
        None
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            20%    WindowServer
             6%    com.apple.WebKit.WebContent(7)
             4%    Safari
             3%    hidd
             1%    launchd
    Top Processes by Memory: ℹ️
        1.07 GB    com.apple.WebKit.WebContent(7)
        439 MB    kernel_task
        90 MB    spindump
        57 MB    mdworker(5)
        57 MB    Safari
    Virtual Memory Information: ℹ️
        4.54 GB    Free RAM
        3.46 GB    Used RAM
        0 B    Swap Used
    Diagnostics Information: ℹ️
        May 2, 2015, 04:47:31 PM    Self test - passed
        May 2, 2015, 01:39:52 PM    /Library/Logs/DiagnosticReports/DesktopServicesHelper_2015-05-02-133952_[redact ed].cpu_resource.diag [Click for details]
        May 2, 2015, 01:23:20 PM    /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-05-02-132320 _[redacted].crash
    Regards
    Hoz

    Thanks - I had a 1TB hdd in my macbook for about 12 months but it started playing up a few days ago (I got the question mark folder on bootup) so I bought another 1TB hdd (same model) and started from scratch.
    My macbook is an early 2010... now I'm wondering if Yosemite is a bit too much for it?
    The ext hdd is my timemachine backup, so yes I have used it often and it has my TM backups - and the usb is a new usb which Ive used a few times.
    The issue seems to be when Im transferring files from an ext drive to my mac. I can use it fine and browse (worked find for 45 mins) then I tried to bring my data across.. and it copied a few gig over before total freeze.
    This has happened about a dozen times.
    I keep running disk utility and checking the disk. I also just ran the apple diagnostics tool that came in the apps cd - the hardware apears to be fine.
    I have a 250 gb partition for the OS and the rest is my second partition for data.
    I'm now wondering if I should reformat the first partition, install leopard from the CD, then upgrade to mavericks and leave it at that.
    Any thoughts would be awesome. Thank you for reading and replying!
    Hoz

  • I am just about giving up!  I have upgraded Pages to 0.9 4.3.  Now when i copy text from an incoming email and paste it it pastes in as an Object and I can't work on it.

    I am just about giving up!  I have upgraded Pages to 0.9 (4.3).  Now when I copy text from an incoming email and paste it into Pages it pastes in as an Object and I can't work on it.  It has a border round it and corner markers.  I have never had this problem before.  I have looked at every conceivable thing but cannot find how to get rid of this Object and just paste in the wanted text.  If I fiddle and fiddle within this text I can eventually get a cursor and work on the text - but how on earth can I get rid of the surrounding box?  
    I don't know if this is at all clear but I can't think of any other way to describe this - but it looks like this in Pages with corner and top, bottom and side markers.
    Monthly summary for .................March, 2013
    Four more elephant Rescues during the month - first a yearling female named “.......................................
    Lecia

    Peter hello - I have been copying and pasting for as long as I can remember and it has NEVER done this before - so why now!? Anyway, Jerry has told me about Paste and Match Style --- yet another new thing! 
    I have also discovered that I don''t need to hold down Option when I go to Save to get Save As -  I can hold down 4 keys (shift, option, command and S) and it will bring up Save As!! 
    Thanks for your response.
    Lecia

  • How do you add the name of a song to a downloaded track not reccognized in the iTunes library.  I copy songs from my own CDs and want to properly identify them instead of the current "Track 02".  Thanks

    How do you add the name of a song to a downloaded track not reccognized in the iTunes library.  I copy songs from my own CDs and want to properly identify them instead of the current "Track 02".  Thanks

    Right-click the track in your library, Get Info, go to the Info tab, and type in the correct information.  When you are done, click "OK."

  • When I try to open Itunes I get this error msg, 'This copy of iTunes is corrupted or is not installed correctly. Please re install iTunes (-42404), I have tried repairing

    When I try to open Itunes I get this error msg, 'This copy of iTunes is corrupted or is not installed correctly. Please re install iTunes (-42404), I have tried repairing, no joy, uninstalling and re installing, no joy. Any ideas?
    <Subject Edited by Host>

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • HT1923 I downloaded the latest iTunes version and now get the following error message: "This copy of iTunes is corrupted or is not installed correctly. Please re-install iTunes." Can anyone provide suggestions on what I should do next?

    I downloaded the latest iTunes version and now get the following error message: "This copy of iTunes is corrupted or is not installed correctly. Please re-install iTunes." Can anyone provide suggestions on what I should do next?

    Let's try a repair install of iTunes first.
    Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "iTunes" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "iTunes", click "Change" and then click "Repair".
    Can you launch your iTunes now?

  • Accessing comapny code from the source file name

    Hi,
    Iam doing FILE –FILE to scenario.
    My source file name is XXXX237061606.txt. (XXXX is company code)
    My requirement is …
    Based on company code from the source file name; I need to send the file to the corresponding receiver.
    How to retrieve the company code from the source file name?
    Thanks,
    Hem.

    hem chand wrote:>
    > Hi Varun,
    >
    > Could u please provide me detailed procedure to get the company code.
    >
    > Reg,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    This will get you the File name...TRuncate it to extract company code...
    Then have a mapping program with the receivers message type which is persent under SAP BASIS component....
    There map to the required receiver by getting the file name above..
    Create an int mapping for the above mapping and use that in ur enhanced recv determination

  • Tell iphoto to view photos from a predefined folder and not copy them

    Hi!
    I am using iphoto 09 and was wondering if we can tell iphoto to take photos from a particular folder and not copy the photos in its own set of folders. I don't want to have duplicates.
    I already had structured my folders in a certain way and I don't want Iphoto copying them again.
    tanks!

    Best way of working: Recreate your folders in the iPhoto Window and forget about your own.
    Here's a fuller description of a Referenced Library and the perils thereof:
    https://discussions.apple.com/thread/3062728?tstart=0

  • I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    HTML files from an existing site cannot be reused in Muse as Muse works only with files having extension as .muse.
    However, you use apps like Dreamweaver to edit your existing HTML files.

Maybe you are looking for

  • Music App on iPhone 5 (iOS 7.1.1) asking for iTunes verification???

    Recently (as in the past 2 or so days), when I am in the Music app and selecting a song to play, the little window to type in your iTunes password pops up and asks me to type in my iTunes password. I have already tried many things to remedy the situa

  • Connect to local SAP server from mac

    I have a Windows 2008 server  with SAP server software installed. i connect to it using my windows laptop through SAP logon pad . But now am using a macbook pro os x 10.8.2  and have no idea on how to connect to the my local SAP server. And i install

  • Risk violations count in GRC 10

    Recently AC 10 has gone live, and we run the risk violations reports in the Access dashboard. It shows the reports according to teh Business Process and the value is very high, like violations count - 121099 for MM00. But when we run the risk analysi

  • SSIS: Why do columns become misaligned when importing flat files?

    Hi All I am stumped with the following. When I try to load a fixed length flat file into a table, the first few thousand records load correctly but then the columns start going out of sync. Visually it looks like the data is drifting off to the right

  • Re-sizing stills (including dpi settings)?

    I'm making a film with a lot of acquired stills at 300 dpi. I need to change the 300dpi to 72dpi. Can iPhoto do this? Or could you suggest a modest application (freeware or inexpensive) that will allow me to do this? I have Photoshop myself, but the