Trigonometry problem- help needed big time!

Hello, thanks for clicking. I am filling in a Flash template
for a client- and the template purchased turned out to be in
Spanish. I don't speak more than 2-3 words of Spanish and I'm stuck
in one place. I don't think Spanish is required to solve the
problem, if you're already good at trig. Can someone please help me
out?
Here is what I need to fix. The "rollaround" menu at the top
of the page here-
http://www.rollwiththetank.com/l2
is not lining up correctly when the 3rd, 4th, and 5th menu
buttons are clicked. Try them out and see what I mean. If this code
was in english I know I would be able to crack it, but as it is I'm
stumped.
Here is the code controlling the rollaround-
Thanks to anyone who can help clue me in on what I'm
missing.

http://translation2.paralink.com/
for the comments anyways....
Sorry I don't speak Spanish either, this is where I go when I
need it

Similar Messages

  • Help needed big time

    can some 1 pls help i have just got a Apple I Mac Power PC G3 Processor Speed: 333 MHz Memory (RAM): 160 MB i only wanted it for itunes but its come with no software at all and i have got a clue about apple macs what so ever is there anyway of buying the disks i would need to restore and could any 1 point me in the right way of a guide that can help me set this up it Includes OS 9.2 but i real dont no the first thing about them and very keen to learn more if any 1 could help pls thanks apple newbe

    If you want to use the iTunes store you will have to upgrade to at least OSX 10.2 (Jaguar), more probably (Panther), or possibly even Tiger (10.4). As I said before, you'll have to double check on the iTunes forum which version is required for the minimum version of iTunes you will need in order to get access to the store.
    Although you theoretically have the minimum RAM in order to run Panther, it helps to have at least double what you currently have. A 6 GB drive is also very small for running OSX because not only does the OS require a lot of space for permanent files it also make a lot of temporary files. You might be able to just run the OS but you wouldn't be able to fit any music on the drive!
    So right now I'd say you are looking at getting a bigger drive, more RAM, and buying an OS for this computer to do what you want to do. I haven't looked at the used prices for Jaguar or Panther but Tiger is currently going for around $70+ used.
    If you didn't want to use the iTunes store you could pretty much use the computer as it is right now (depending upon how much music you have). If you want to do a clean install of OS9 you will have to purchase (used) a retail version OS9 CD which is gold in color (not a gray one).
    P.S. It isn't the spelling, which is fine, it is the lack of punctuation that makes it very difficult to read and will discourage others from replying.

  • BIG HELP NEEDED BIG TIME!!!!!

    my iPod is not turning on for some reason!! No its no on hold, and yes I tried too reset it. Its just completley blacked out! I was sitting there listening to my music then I was going to charge it but, all of a sudden it went blank!
    can someone PLEASE help me please!!

    First, let's make sure you're resetting properly;
    Hold the MENU and SELECT (center) buttons until you see the Apple logo to reset. It may take several attempts and is best performed while connected to power. You may need to hold the two buttons for ten seconds or so before it actually resets.

  • My airport problem has returned big time --Need some Help!!

    Aloha once again:
    I though that this was fixed by simply changing channels on my airport router, but that fix only lasted for a few days, but now it's back and even worse. Let me give you some background on this problem. Here's my original message concerning the problem:
    I have my Airport Router connected to the Internet via DSLcable. I then tie my two computers into the internet via their airport cards. For about 6 months this system has been working just fine. Recently my desktop computer quit listening to the router and can no longer connect to the internet. It shows no signal strength and the name of the network on the Airport is not seen in the "connect to internet" panel. The same Airport works just fine on my LapTop and I am using it right now to get this message off to the internet.
    I have fixed permissions, removed the airport card and cleaned the connector, the antenna plug and removed the system configuration folder from library preferences all to no avail!
    This problem has been hounding me, intermittently, for over a year now What can I do to remedy this??? HELP!!!!
    Dan Page
    Maui, Hawaii
    The suggestion to change channels, that came from this original request, worked but just for a very short time. Now I have to shut down my computer overnight to get connected and then it only lasts for several hours and the connection quits.
    I thought maybe heat was a problem, but the last time it happened I opened the computer and played a large fan right on the card. This did not help. I shut it down for the night and it was fine the next morning for about 2 hours.
    One new data point; if I turn off just the airport on my laptop computer overnight, that will fix the problem for a short time also.
    Still need some help!!!
    Dan

    First, power off both the Time Capsule and AirPort Express.
    Wait a few minutes, then power up the Time Capsule first, and let it run for a few minutes.
    Temporarily, move the AirPort Express to the same room or close proximity to the AirPort Express and power it up.
    If the Express powers up correctly, power it off again and move it approximately half the distance between the Time Capsule and the general area that needs more wireless coverage. Try to minimize obstructions like walls, ceiling, heavy furniture, etc as much as possible. 
    Please report on your results.

  • Need big time help !!!! (THANKS)

    Just came home from work. Tryed a creazy OC like 360FSB but the computer woulden boot.
    After that nothing happen. So i closed the comp down tought out the PSU and pressed the on botton to clear the last power in it.
    Then i first cleared cmos (BIOS) but it still woulden boot. Then i tough out the battery and waited 1 min. now when i try
    to turn it on. It just click with a short light.
    Nothing happen. It just turns on for very very short time and then down again. Keeps doing that all the time.  :( up/down up/down
    What to do.
    E6700 P965 Platinum with bios 1.51b

    This is creazy stuff.
    Went out and bought a fairly cheap Asus P5B MOBO and a new E6600 CPU because one of my friends should have this anyway.
    So i bought it for him so i could try use it.
    The new issue.
    After all the stuff with my P965 Platinum and all.
    I first tryed the MOBO with my old E6700 CPU. 1 long beep 3 short beep.
    Ok. new E6600 CPU on P5B MOBO. Same thing.
    Alright. no more  here. Tryed both the new MOBO and the new E6600 together with all my other hardware.
    Same thing. 1 long beep 3 short ones   :(
    In the Asus manual it says. 1 long beep with 3 short one is (VGA not detected)  JESUS
    Now this is not fun anymore. How can it be the 8800 ?????????
    One thing there crossed my mind was. Maybe it is my RAM that got after my big OC.
    Since non of the new hardware (MOBO & CPU) works with my old hardware, there is only ram, gpu and psu left.
    Its not the psu i'm sure. The computer starts and all fan is running included the GPU fan.
    Last thing i cant see or control is the RAM.
    Could that really be the problem ONLY. That only my ram was smoked in the OC.
    So both my E6700 and MSI Platinum MOBO is maybe working alright, but the ram died. Could it really ?

  • Hi. Need big time help with PS CS4 crash log

    Hi.
    My Photoshop CS4 keep crashing on me ones a wile.
    I have tried everything now.
    Even tried a totally new install. OS X & Creative Suite from beginning.
    Still i get a crash ???
    Please need some translation fast.. Thank you.
    Log file:
    Process: Adobe Photoshop CS4 [330]
    Path: /Photoprogrammer/Adobe CS4/Adobe Photoshop CS4/Adobe Photoshop CS4.app/Contents/MacOS/Adobe Photoshop CS4
    Identifier: com.adobe.Photoshop
    Version: 11.0 (11.0x20080919 [20080919.r.488 2008/09/19:02:00:00 cutoff; r branch]) (11.0)
    Code Type: X86 (Native)
    Parent Process: launchd [87]
    Date/Time: 2009-02-16 19:06:04.791 +0100
    OS Version: Mac OS X 10.5.6 (9G66)
    Report Version: 6
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000eeea9f96
    Crashed Thread: 0
    Thread 0 Crashed:
    0 libSystem.B.dylib 0xffff07c2 __memcpy + 34 (cpu_capabilities.h:246)
    1 com.apple.HIToolbox 0x06bf998e CHandleStream::ReadBytes(void*, long, unsigned char) + 70
    2 com.apple.HIToolbox 0x06bebf21 CTextensionIOSuite::SearchIOSuiteType(unsigned long, TDataHeader*, unsigned char) + 85
    3 com.apple.HIToolbox 0x06bebe5f CTextensionIOSuite::FreeSuiteObjects(unsigned long) + 41
    4 com.apple.HIToolbox 0x06bebe2e CTextensionIOSuite::FreeSuiteObjects() + 48
    5 com.apple.HIToolbox 0x06bf98ef CTextensionIOSuite::Free() + 25
    6 com.apple.HIToolbox 0x06bb5bf7 CTextensionEditCommand::Free() + 25
    7 com.apple.HIToolbox 0x06bb4f10 OpaqueTXNObject::BuildListCommands(CTextensionEditCommand*) + 248
    8 com.apple.HIToolbox 0x06bb4c8f OpaqueTXNObject::NewCommand(short, AttrObjModifier const*, TKeyDownParams*, TReplaceParams*) + 979
    9 com.apple.HIToolbox 0x06bb4271 TXNSetTypeAttributes + 457
    10 com.adobe.CameraRaw 0x355a15e0 EntryFM + 1920434
    11 com.adobe.CameraRaw 0x355a3370 EntryFM + 1928002
    12 com.adobe.CameraRaw 0x3556d4a2 EntryFM + 1707124
    13 com.adobe.CameraRaw 0x3556d193 EntryFM + 1706341
    14 com.adobe.CameraRaw 0x3556f7ec EntryFM + 1716158
    15 com.adobe.CameraRaw 0x355ff902 EntryFM + 2306260
    16 com.adobe.CameraRaw 0x3538a631 0x351a5000 + 1988145
    17 com.adobe.CameraRaw 0x35392a84 0x351a5000 + 2022020
    18 com.adobe.CameraRaw 0x353edc91 EntryFM + 136291
    19 com.adobe.CameraRaw 0x353c6650 0x351a5000 + 2233936
    20 com.adobe.CameraRaw 0x35588620 EntryFM + 1818098
    21 com.adobe.CameraRaw 0x3558b06e EntryFM + 1828928
    22 com.adobe.CameraRaw 0x353ecdfc EntryFM + 132558
    23 com.adobe.CameraRaw 0x35527ab1 EntryFM + 1421955
    24 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    25 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    26 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    27 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    28 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    29 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    30 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    31 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    32 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    33 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    34 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    35 com.adobe.CameraRaw 0x35527ad6 EntryFM + 1421992
    36 com.adobe.CameraRaw 0x355a12c5 EntryFM + 1919639
    37 com.adobe.CameraRaw 0x3559fadb EntryFM + 1913517
    38 com.apple.HIToolbox 0x06af9143 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
    39 com.apple.HIToolbox 0x06af857d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
    40 com.a

    Thread 13:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 AdobeACE 0x047a438d 0x4773000 + 201613
    6 AdobeACE 0x047a3d85 0x4773000 + 200069
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 14:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 AdobeACE 0x047a438d 0x4773000 + 201613
    6 AdobeACE 0x047a3d85 0x4773000 + 200069
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 15:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 AdobeACE 0x047a438d 0x4773000 + 201613
    6 AdobeACE 0x047a3d85 0x4773000 + 200069
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 16:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 AdobeACE 0x047a438d 0x4773000 + 201613
    6 AdobeACE 0x047a3d85 0x4773000 + 200069
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 17:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 AdobeACE 0x047a438d 0x4773000 + 201613
    6 AdobeACE 0x047a3d85 0x4773000 + 200069
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 18:
    0 libSystem.B.dylib 0x068d22e6 mach_wait_until + 10
    1 libSystem.B.dylib 0x069493ad nanosleep + 314
    2 com.adobe.PSAutomate 0x30e63755 ScObjects::Thread::sleep(unsigned int) + 143
    3 com.adobe.PSAutomate 0x30e637b5 ScObjects::Thread::wait(unsigned int) + 23
    4 com.adobe.PSAutomate 0x30e54502 ScObjects::BridgeTalkThread::run() + 332
    5 com.adobe.PSAutomate 0x30e63a77 ScObjects::Thread::go(void*) + 239
    6 libSystem.B.dylib 0x06903095 _pthread_start + 321
    7 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 19:
    0 libSystem.B.dylib 0x069216f2 select$DARWIN_EXTSN + 10
    1 libSystem.B.dylib 0x06903095 _pthread_start + 321
    2 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 20:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 com.adobe.CameraRaw 0x3535875d 0x351a5000 + 1783645
    6 com.adobe.CameraRaw 0x35358123 0x351a5000 + 1782051
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 21:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 com.adobe.CameraRaw 0x3535875d 0x351a5000 + 1783645
    6 com.adobe.CameraRaw 0x35358123 0x351a5000 + 1782051
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 22:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 com.adobe.CameraRaw 0x3535875d 0x351a5000 + 1783645
    6 com.adobe.CameraRaw 0x35358123 0x351a5000 + 1782051
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 23:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 com.adobe.CameraRaw 0x3535875d 0x351a5000 + 1783645
    6 com.adobe.CameraRaw 0x35358123 0x351a5000 + 1782051
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_start + 321
    9 libSystem.B.dylib 0x06902f52 thread_start + 34
    Thread 24:
    0 libSystem.B.dylib 0x068d93ae __semwait_signal + 10
    1 libSystem.B.dylib 0x06903d0d pthread_cond_wait$UNIX2003 + 73
    2 ...ple.CoreServices.CarbonCore 0x072a4ef7 TSWaitOnCondition + 126
    3 ...ple.CoreServices.CarbonCore 0x07283e36 TSWaitOnConditionTimedRelative + 202
    4 ...ple.CoreServices.CarbonCore 0x072a4b74 MPWaitOnQueue + 208
    5 com.adobe.CameraRaw 0x3535875d 0x351a5000 + 1783645
    6 com.adobe.CameraRaw 0x35358123 0x351a5000 + 1782051
    7 ...ple.CoreServices.CarbonCore 0x072a310b PrivateMPEntryPoint + 56
    8 libSystem.B.dylib 0x06903095 _pthread_s

  • Need big time help

    I am leaving pc and getting imac 20" with windows. How do I install software that works with pc and is it easy to access and use? Will my existing printer work with this setup? Just give me an overview how this works. I really need help in layman's terms. Thanks

    "I am leaving pc and getting imac 20" with windows. "
    Macs don't come with Windows. You can install it separately using Apple's Boot Camp software. Is this your intention? Please clarify.

  • Thanks everybody (Need big time help !!!)

    Hi there.
    First of all.
    Thank you for all your help about my OC situation      
    Really glad this place excisted and all of you guys where friendly and so helpful.
    Today i got my 8800GTS + Cellshock ram back from RMA
    Fixed everything and fired the thing up.   
    Now i'm back in buisness again accept for my MSI P965 Platinum MOBO still in RMA.
    Lets see what they say ? I got a email today where they was telling me that 2 pins
    on the LGA775 slot was bended. Huh? Weird
    I never touch those pins and i'm always very carefully about hardware.   lol  (Accept when OC)
    But ok. We will see what they say in the end.
    Again everybody. Big thx from MuggeGHQ

    Hehe. no. Will try to keep my fingers away from the lovely bios.
    Its hard not to. Ofcause you always want to see how high you can work you way op.
    Now i have locked my PCIE (100Mhz) and my PCI (33,33Mhz) so they cant go any higher !
    Running a mild OC then. 320FSB 3.2ghz for now with my P5B, i want go any higher with this MOBO.
    DDR2 800 4-4-4-12 4:5 (800Mhz)
    Maybe when i get a P35 MOBO we can play again.
    Then i'll be back for help   

  • Help needed Regarding Time Problem

    Dear all,
    I am using FM POINT_IN_TIME_CONVERT to convert seconds into HH:MM:SS format.But once HH bcome more than 24,it starts from 00 amd hence my total time goes wrong.What can i do?Is there any other FM?

    Hi Rahul,
    You have picked up the right function module.Do as following -
    This FM have default date 01.01.1980 . Keep in mind that this date have got changed every 86,400 seconds and your time counter reset after that.
    At last you need to calculate difference of date and simply add 24 * ( difference you got ) into your hour counter. Thats it.Done.
    Thanks
    Nimesh S. Patel

  • MOVED: Need big time help !!!!

    This topic has been moved to Overclockers & Modding Corner.
    https://forum-en.msi.com/index.php?topic=108463.0

    "I am leaving pc and getting imac 20" with windows. "
    Macs don't come with Windows. You can install it separately using Apple's Boot Camp software. Is this your intention? Please clarify.

  • Linked lists problem -- help needed

    Hello again. I've got yet another problem in my C++ course that stems from my use of a Mac instead of Windows. I'm going to install Parallels so I can get Windows on my MacBook and install Visual Studio this week so that I don't have to deal with these discrepancies anymore, but in the meanwhile, I'm having a problem here that I don't know how to resolve. To be clear, I've spent a lot of time trying to work this out myself, so I'm not just throwing this up here to have you guys do the work for me -- I'm really stuck here, and am coming here as a last resort, so I'll be very, very appreciative for any help that anyone can offer.
    In my C++ course, we are on a chapter about linked lists, and the professor has given us a template to make the linked lists work. It comes in three files (a header, a source file, and a main source file). I've made some adjustments -- the original files the professor provided brought up 36 errors and a handful of warnings, but I altered the #include directives and got it down to 2 errors. The problematic part of the code (the part that contains the two errors) is in one of the function definitions, print_list(), in the source file. That function definition is shown below, and I've marked the two statements that have the errors using comments that say exactly what the errors say in my Xcode window under those two statements. If you want to see the entire template, I've pasted the full code from all three files at the bottom of this post, but for now, here is the function definition (in the source file) that contains the part of the code with the errors:
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    As you can see, the problem is with the two statements that contain the 'setw' function. Can anyone help me figure out how to get this template working and get by these two errors? I don't know enough about linked lists to know what I can and can't mess with here to get it working. The professor recommended that I try using 'printf' instead of 'cout' for those two statements, but I don't know how to achieve the same effect (how to do whatever 'setw' does) using 'printf'. Can anyone please help me get this template working? Thank you very, very much.
    For reference, here is the full code from all three files that make up the template:
    linkedlist.h (header file):
    #ifndef LINKED_LINKED_H
    #define LINKED_LINKED_H
    struct NODE
    string name;
    int test_grade;
    NODE * link;
    class Linked_List
    public:
    Linked_List();
    void insert(string n, int score);
    void remove(string target);
    void print_list();
    private:
    bool isEmpty();
    NODE *FRONT_ptr, *REAR_ptr, *CURSOR, *INSERT, *PREVIOUS_ptr;
    #endif
    linkedlist.cpp (source file):
    #include <iostream>
    using namespace std;
    #include "linkedlist.h"
    LinkedList::LinkedList()
    FRONT_ptr = NULL;
    REAR_ptr = NULL;
    PREVIOUS_ptr = NULL;
    CURSOR = NULL;
    void Linked_List::insert(string n, int score)
    INSERT = new NODE;
    if(isEmpty()) // first item in List
    // collect information into INSERT NODE
    INSERT-> name = n;
    // must use strcpy to assign strings
    INSERT -> test_grade = score;
    INSERT -> link = NULL;
    FRONT_ptr = INSERT;
    REAR_ptr = INSERT;
    else // else what?? When would this happen??
    // collect information into INSERT NODE
    INSERT-> name = n; // must use strcpy to assign strings
    INSERT -> test_grade = score;
    REAR_ptr -> link = INSERT;
    INSERT -> link = NULL;
    REAR_ptr = INSERT;
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    void Linked_List::remove(string target)
    // 3 possible places that NODES can be removed from in the Linked List
    // FRONT
    // MIDDLE
    // REAR
    // all 3 condition need to be covered and coded
    // use Trasversing to find TARGET
    PREVIOUS_ptr = NULL;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    if(CURSOR->name == target) // match
    { break; } // function will still continue, CURSOR will
    // mark NODE to be removed
    else
    { PREVIOUS_ptr = CURSOR; } // PREVIOUS marks what NODE CURSOR is marking
    // JUST before CURSOR is about to move to the next NODE
    if(CURSOR == NULL) // never found a match
    { return; }
    else
    // check each condition FRONT, REAR and MIDDLE
    if(CURSOR == FRONT_ptr)
    // TARGET node was the first in the list
    FRONT_ptr = FRONT_ptr -> link; // moves FRONT_ptr up one node
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    }// why no need for PREVIOUS??
    else if (CURSOR == REAR_ptr) // TARGET node was the last in the list
    { // will need PREVIOUS for this one
    PREVIOUS_ptr -> link = NULL; // since this node will become the last in the list
    REAR_ptr = PREVIOUS_ptr; // = REAR_ptr; // moves REAR_ptr into correct position in list
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    else // TARGET node was the middle of the list
    { // will need PREVIOUS also for this one
    PREVIOUS_ptr -> link = CURSOR-> link; // moves PREV nodes' link to point where CURSOR nodes' points
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    bool Linked_List::isEmpty()
    if ((FRONT_ptr == NULL) && (REAR_ptr == NULL))
    { return true; }
    else
    { return false;}
    llmain.cpp (main source file):
    #include <iostream>
    #include <string>
    #include <iomanip>
    using namespace std;
    #include "linkedlist.h"
    int main()
    Linked_List one;
    one.insert("Angela", 261);
    one.insert("Jack", 20);
    one.insert("Peter", 120);
    one.insert("Chris", 270);
    one.print_list();
    one.remove("Jack");
    one.print_list();
    one.remove("Angela");
    one.print_list();
    one.remove("Chris");
    one.print_list();
    return 0;

    setw is the equivalent of the field width value in printf. In your code, the printf version would look like:
    printf("%8s", CURSOR->name.c_str());
    I much prefer printf over any I/O formatting in C++. See the printf man page for more information. I recommend using Bwana: http://www.bruji.com/bwana/
    I do think it is a good idea to verify your code on the platform it will be tested against. That means Visual Studio. However, you don't want to use Visual Studio. As you have found out, it gets people into too many bad habits. Linux is much the same way. Both development platforms are designed to build anything, whether or not it is syntactically correct. Both GNU and Microsoft have a long history of changing the language standards just to suit themselves.
    I don't know what level you are in the class, but I have a few tips for you. I'll phrase them so that they answers are a good exercise for the student
    * Look into const-correctness.
    * You don't need to compare a bool to 1. You can just use bool. Plus, any integer or pointer type has an implicit cast to bool.
    * Don't reuse your CURSOR pointer as a temporary index. Create a new pointer inside the for loop.
    * In C++, a struct is the same thing as a class, with all of its members public by default. You can create constructors and member functions in a struct.
    * Optimize your function arguments. Pass by const reference instead of by copy. You will need to use pass by copy at a later date, but don't worry about that now.
    * Look into initializer lists.
    * In C++ NULL and 0 are always the same.
    * Return the result of an expression instead of true or false. Technically this isn't officially Return Value Optimization, but it is a good habit.
    Of course, get it running first, then make it fancy.

  • Multiple problems - help needed please

    I've got so many problems that I've completely confused myself. So, if anyone can help….
    I was previously using a D-Link D-320T DSL modem on BT Broadband in the UK. The modem was set up in bridge mode, and hooked up via ethernet to my Airport Extreme (n). The AEBS would use PPPoE and successfully connected to the internet, as well as handling all my network needs.
    Everything worked and everything was fine, allowing screen sharing and file sharing between my Mac Mini, MacBook and MacBook Pro.
    Earlier this week, the internet connection dropped and I couldn't find the cause. Resetting the router and hooking it up directly to my Mac Mini, I connected to it (192.168.1.1) and had it connect to the internet itself.
    It did so, and distributed IP addresses to the Mac Mini…but after 30 seconds my internet connection dropped, and looking in network preferences, I found that the modem had jumped from a router address of 192.168.1.1, to an 82.xx.xx.xx address, which was clearly the public IP address forwarded by my ISP. So it seemed like it was working in a sort of bridge mode still.
    I reset the router numerous times, tried switching it into full bridge mode etc, but the AEBS was unable to use it to connect via PPPoE as before, because the D-Link would play nice for 30 seconds, then jump around with addresses.
    Very strange, but I assumed the modem was just broken.
    I dug out my spare router, being the Netgear DG632.
    I managed to get this hooked up to the internet really quickly, and using an ethernet connection to the Mac Mini, it all appeared fine. However, as I started looking around the internet, I noticed that although google.com would open up, any subsequent links, and indeed any other domains I tried to visit would not open.
    Resetting the router seemed to solve this.
    I then hooked up my AEBS to the Netgear and, after pondering which way to use it, I found the only way I could get it to play nice was to have the AEBS in bridge mode itself, meaning that the Netgear would do all the routing work.
    The MacBook connected to the airport, and all seemed okay….
    …However, I then noticed that the internet connection would randomly drop. Web pages would not open (in any browser), and downloads which were under way could be seen in the Safari download manager to suddenly crash.
    The same was true on the Mac Mini - web browsing stopped at random. I had however hooked this up to the airport via an ethernet cable, I noticed that, although the "internet" wasn't working, other connections like torrents were still active.
    Reconnecting the Netgear router directly to the Mac Mini allowed me to see in its diagnostics that it still held a connection to the ISP and still had an external IP address.
    Again, a reset of the router seemed to resolve things….but only for a few hours. And whilst the Mac Mini seemed resilient, the airport connection to the MacBook was terrible. (I haven't even tried using the MBP yet).
    Furthermore, I noticed that networking between devices had severely been crippled. Although the Mac Mini and MacBook were visible to each other in the shared devices section of finder, clicking the link meant waiting literally four minutes for a connection to establish, and screen sharing timed out, from either direction.
    I then tried assigning everything static IP addresses, but this seemed to confuse matters with the router.
    Under the impression that the Netgear clearly couldn't handle the job of routing my network, I tried to set it up in bridge mode and use the AEBS as before.
    Reading around the internet (on my iPhone at this stage), I realised there was no obvious "bridge mode" option, but I was told to set the device mode as router, and then say "no" when it asks if there are any login details for the ISP (under Basic Router Settings). This was done.
    However, setting up the AEBS with PPPoE had no success, and the connection was never made.
    At this stage, I'm living with a crippled network and two routers, neither of which do what I want.
    Can anybody advise me on a solution to fix either router/modem?
    I want to use the modem in bridge mode and have the AEBS handle everything as before, as it was perfect.
    At this stage, which a frazzled brain (after messing with everything for several hours), something step-by-step would be great.
    Help! (and thanks)

    I have also recently developed problems with my airport network. I was playing my air tunes when it started freezing so i reset my airport extreme and expresses. When I tried to setup my networks again I en counted problems like airport utility couldn't find the extreme base station or when it did it couldn't read the setting. I eventually managed to create a network then when i tried to connect to the network it either asks for the password (even though its saved in keychain) When I enter the password it keeps saying "connection time out". I then turn airpot off & on and it the sometimes reconnects automatically without requiring a password.
    My internet then will sometime start working again but then drop out completely or take an age to load.
    The network will then sometimes disappear from the network list and I'm unable to see it at all.
    No matter how many time i reset the base station it doesn't make a difference.
    I my broadband modem is also a wireless router and Im experiencing similar problems with that. I took my laptop to work and tried to connect to the network at work and it seems to work ok except it did ask for a password the time out but did it only once.
    I did download a security update recently but im not sure if its that that is causing it
    please help me as well as I'm stuck without my network

  • Interesting problem - Help Needed

    I am currently working on developing a report that has a cross tab layout. The number of columns are arbitrary and decided at run time. I am trying to create a
    report template. The XML feed for the report has the following structure
    <group name="SETTLE_INFO" source="settlementlvl">
         <element name="SETTLE_DATE" value="umb_settlement_date"/>
         <element name="BANK_NAME" value="bank_name"/>
         <element name="PRODUCT_NAME" value="product_name"/>
         <element name="PRODUCT_LVL_TOTAL_BAL" value="prtdlvl_balance"/>
         <element name="PRODUCT_LVL_TOTAL_ACCNTS" value="prtdlvl_account_count"/>
    </group>
    Here each settlement date may have many banks having many product levels. I am trying to summarize this information in a cross tab report which has the following structure:
    For each settlement date (row) -> for each group of Banks(column) -> for each group of products under each Bank(column) -> display total summation of bal and accounts for each product (cell).
    How do I generate these multiple levels of dynamic columns at run time?
    Ashwin

    Thanks for your help. I am able to generate columns at run time but my problem is a bit more complex.
    I have to generated a table structure like following:
    | UMB Settlement Date | Bank Name1 | Bank Name2 |
    | ------------------------------------------------------------------------------------------------------------------
    | | Product Name1 | Product Name2 | Product Name1 | Product Name2 | Product Name3 |
    |--------------------------------------------------------------------------------------------------------------------------------------------------
    The problem that I am facing is that I am not able to get the desired structure like this, i.e encapsulating the products columns under the bank column.
    My RTF template look like the following:
    UMB Settlement Date <?horizontal-break-table:1?> |     <?for-each-group@column:SETTLE_INFO;./BANK_NAME?><?BANK_NAME?><?end for-each-group?> |
    | <?for-each-group@column:SETTLE_INFO;./BANK_NAME?><?variable@incontext:G3;BANK_NAME?><?for-
    | each-group@column://SETTLE_INFO;./PRODUCT_NAME?><?if: count(current-group()
    | [BANK_NAME=$G3])?><?PRODUCT_NAME?><?end if?><?end for-each-group?><?end for-each-group?>
    --------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------
    The bank header column and the product header column are out of sync. How do I make sure that the product name column is contained within the header of the bank name column.
    Please let me know if you need more information about this.
    Ashwin

  • Audio Console Problem - Help Need

    Hey everyone.
    I'm having a problem here with my creative audio console. I have a Soundblaster Audigy 2 Value series. I've been using this card for about month now and everything has been working great. I've been using the latest beta drivers since i got the card and i've had no problems. I'm using the latest audio console too and it's great. I need the console for the Advanced EQ settings.
    The problem is: I went into the console to change the EQ to 'rock' but when i accessed the 'EAX' tab, it was all blank, no settings, nothing. If i go to the 'speakers' tab, there is nothing to choose from also. Anyone got any idea what the problem is?
    Audio works fine, just not these features.
    I have had this problem occasionally before, but after a restart of windows, everything re-appears again. This time nothing is coming back after a restart.
    I've tried re-installing the drivers and console, but nothing works.
    Any help would be very greatly appreciated. I do love my Advanced EQ.
    Here is a few screenshots of what the console looks like:
    http://www.serenityindarkness.com/images/creativescrn.JPG
    http://www.serenityindarkness.com/images/creativescrn2.JPG

    I am thinking, the beta read me states, some audio console apps may not fuction. The only last resort thing I can think of is a 00% clean sweap. Unistall drivers and ALL media source ap
    ps.
    Also make sure to delete install sheild and delete C:\Program Files\Creative folder .
    Use driver cleaner after you uninstall drivers also, this is to remove all reg keys.
    In C:\Program Files folder you should have an installshield folder (hidden) in there are GUID named folders.
    Go through them all and any that have a reference to creative, delete the folder.
    Install your drivers and apps from the CD. Then update all the media source ap
    ps.
    Then update you driver. Do not uninstall the drivers though, just over right them and make sure to say yes to over right shared driver files.
    NOTE: When you update media source apps, use the auto updater.
    Before you do this though, as a test go to windows control panel and you should have audio HQ in here, open it and see if you can change EAX settings in here. If you can, then its just a bad install of media source ap
    ps.
    Hope this hel
    ps.

  • Calendar Problem- Help needed

    Hi:
    I have a google calendar but I did not use a Gmail account to set up the calendar. Instead, I used a pop account from my isp service provider- who is cogeco.ca
    I am trying to sync my google calndar to my Blackberry built in calendar. I can't seet to do it.
    Can someone give me the steps and the server addresses I would need to use.
    Thanks so much. I appreciate your help and time.
    MusicF

    MusicF wrote:
    Where it says "
    In the Server Address field, enterhttps://www.google.com/calendar/dav/<emailaddress>/events  where <emailaddress> is the Google email address.
    I don't have a google/gmail address. I have an ordinary email address from my isp. That's what I am using . Is that what I should be using in this step?
    Thank-you
    To use Google calendar, you typically have to have a google email address, for that is what goole uses to authenticate all of their services. If your ISP has some sort of relationship with google to provide, via your ISP, some google services, then you will need to inquire with your ISP as to how to use those, for that is a rather special situation, not covered by any of the normal methods. If your ISP does not have this special relationship with google, and you wish to use google for calendar, then you would need to create a google account.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for