![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 19
Rep Power: 0
![]() |
Help!!!!!!!!!!!
Hello now that I have your attention. Just a quick question, don't know if its been asked before, but is there a good site where I can find a tutor for one of my classes. Or is someone on here willing to help me out with some of my programs. Ive tried multiple sources including my school and no one is available for help including the professors. I am even willing to PAY. I just need someone to help me with the concepts of the programs that I need to write. Guess MONEY TALKS doesn't work anymore with poeple. I was hoping to understand what Im doing in my class so I can use it in my future career.
I am looking for someone that knows about OPERATING SYSTEMS using C/C++. If you or someone you know on this forum can help. Pleaseeeeeee just get back to me ASAP. Also if you want you can contact me via e-mail. <snipped email> Don't even ask about what the e-mail address means, at school I was called dr.Abbey for some reason. Thanks in advance Last edited by Ancient Dragon; May 2nd, 2008 at 3:27 PM. Reason: removed email |
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 551
Rep Power: 4
![]() |
Re: Help!!!!!!!!!!!
Why don't you just post your question(s) here? Someone is bound to answer you -- and for free.
__________________
True Terror is to wake up one morning and discover that your high school class is running the country - Kurt Vonnegut Jr. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2008
Posts: 19
Rep Power: 0
![]() |
Re: Help!!!!!!!!!!!
Can someone please assist me in how I should approach this problem. Its for my operating class.
Write a program with two threads sharing a variable. One threads repeatedly subtracts a constant values from the shared variable, while the second repeatedly adds the same value. If the number of transactions that the threads execute is the same, then the value of the shared variable after the threads complete should be the same as the initial value – that is assuming access to the shared variable is mutually exclusive. First write the program without any code to protect the critical section, and test it with a large number of iterations (hopefully the final value should deviate from the original). Then incorporate a mutex lock into the solution and test it again. That should ensure data consistency, and the program output should confirm it. Last edited by nannu; May 2nd, 2008 at 4:16 PM. |
|
|
|
|
|
#4 |
|
Professional Programmer
|
Re: Help!!!!!!!!!!!
there are reasons for removing emails, they don't just do it to be cute
__________________
Steven Skiena - Algorithms ,[->+>+<<]>>[-<<+>>]>++++++++[-<++++++++>]<+[-<->]>+<<[[-]+++++++++++++++.[-]>]>>[+++++++++.[-]],brainf**k -- It's such a pretty language |
|
|
|
|
|
#5 |
|
Expert Programmer
|
Re: Help!!!!!!!!!!!
Why are you in (or rather how did you get into) an Operating Systems class when you clearly have no clue how to program?
No one will do your homework for you. If you want help, post the code you have written and make it clear which part(s) you need help with. |
|
|
|
|
|
#6 |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
Re: Help!!!!!!!!!!!
you're a teacher?
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Apr 2008
Posts: 19
Rep Power: 0
![]() |
Re: Help!!!!!!!!!!!
WOW OK, first of all I'm a financing major. The only reason I am taking this class is just to familiarize myself with the technical world that we all live in. My company is paying for the class and this was one of the classes being offered. So I just thought it would be good for me to familiarize myself with something new. I'm sorry that I don't know how this works, but instead of just bashing on me, you guys should not reply if you don't have anything useful to say to me that I can use for this class. It's kind of my fault too, because I should have mentioned it earlier. I have posted this question before too and someone left me some useful websites where I can retrieve some information, but I am still having some trouble. Not being a computer major, makes it difficult to understand what is going on. I am good at picking up information quickly, but this class has become a challenge for me that I really enjoy. I just thought that it would be a good experience because I am really interested in computers and how they work, and some of the people in the IT department at work told me that this would be a good skill to have and to learn something new.
Thanks |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Oct 2007
Posts: 29
Rep Power: 0
![]() |
Re: Help!!!!!!!!!!!
Yeah, go on, you open a (cool, calm and collective) can, man!
Most people with a forte in programming tend to have the opinion that if you don't have some kind of natural understanding then just give up before you start, or 'they' just seem to have forgotten that there is actually a learning curve to conquer, then a few more. Once you get over the first hurdle you will be subject to a huge revelation, so how far are you now? I understand your overall experience in this area is zero percent however, what have you learned even in the past few days? What resources do you have? I would get some book suggestions if I were you and those sites you were directed to - come here with your uncertainties on particular elements (tackling a relatively big problem as a whole right now will only hinder your development, break it up). Although your class is Operating System based I would recommend that you personally develop general programming skills using C or C++ (pick one), as you will go nowhere without this experience. |
|
|
|
|
|
#9 |
|
Newbie
Join Date: Apr 2008
Posts: 19
Rep Power: 0
![]() |
Re: Help!!!!!!!!!!!
Thank you very much ALIAS
OK, I am using Microsoft Visual C++ for all of my C++ programming. We have done some very basic code just to get an overview of what is going on. I have found some code below, this code is pretty long compared to what we have done as we skimmed over the programs. But in MS Visual C++ how would I put this into the program. THREADS: c Syntax (Toggle Plain Text)
Thanks in advance Last edited by Ancient Dragon; May 5th, 2008 at 8:13 PM. Reason: add code tags |
|
|
|
|
|
#10 |
|
Expert Programmer
Join Date: Jun 2005
Posts: 852
Rep Power: 4
![]() |
Re: Help!!!!!!!!!!!
See my reply in your other thread.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|