Tuesday, July 14, 2009

Help with Washington D.C. Trip....?

Im going to D.C. at the end of May. Im trying to get plans finalized. Any help would be appreciated. ok. first-Do we need to rent a car for our stay? (1 wk) or is the public transportation sufficient? I have read that parking is awful, and you are better off using public trans., but i need to make sure. Also, if i use public transport...we are wanting to go to Quantico, VA to the Marine Corps Museum...how could we get there? is there a system that runs there from D.C. or would we need our own vehicle? Next- best places to stay for a reasonable cost?? im lost on that one....can be in D.C., or close in Maryland or VA. Only serious responses please....Id like to get this trip mapped ASAP. Thanks in advance.

Help with Washington D.C. Trip....?
I live in Metro DC so I can probably give you some advise. First of all, parking is not that hard to find in DC, paid parking that is. I suggest that you don't rent a car while you're in DC because you will find a hard time finding available parking meters or pay a lot in parking in the garages. Everything around DC is only a few miles in radius and is definitely within walking distance especially that you have a week to do it. You wouldn't need any kind of transportation if you will be going to the places listed below.





Lincoln Memorial


Jefferson Memorial


National Monument


World war 2 Memorial


Vietnam Memorial


Korean Memorial


National Mall


Capitol Building


The White House (outside only of course)


Smithsonian Museums (Holocaust Museum, Spy Museum, African Heritage, Air and Space, etc..)





If in any case that you would like to venture outside the DC area or within DC area then you can use the Metro rail or buses. The metro rail would be better because its fast and predictable. It's clean and very safe also. It travels around DC, Northern Virginia, and parts of Maryland.





The Marine Corps Museum is not reached by metro rail but you can probably use the VRE rail but I suggest not to make it complex. Leave like your last day in going there. That's when you can rent a car to go to other places outside DC that is only a few minutes away. Please see the places below.





National Cemetery (you can use metro rail)


Iwo Jima Memorial (car)


Marine Corps Museum Quantico (car)


Navy Yard US Navy Museum and Marine Corps Museum (use metro rail)


Pentagon (use metro rail-you can't go inside without an invitation but you can see it on the way..That's all you need to see anyways)


Tyson's Corner Mall (car- state of the art mall-real nice)


Tyson's 2 Galleria (car-just across Tyson's Corner mall but is very expensive and usually have rich customers-no food court per se)


Pentagon City Mall - The Fashion Center (train-near Pentagon)


Chinatown near Verizon Center (car or train- Wizard team)








I would suggest for you guys to taste the food in Five Guys Fast Food because it's ranked as having the best burger in this area.





As far as hotels are concerned. You can either stay in DC hotels or you can also stay on the ones by Arlington or Alexandria which is only about 15 to 20 minutes away. Most of the hotels have free shuttle services that goes to Reagan National Airport and Metro Stations. If you decide to stay in DC, all you need to do is step out and immediately start your sightseeing compared to taking the train which is not really a hassle but just a matter of preference.





As far as hotels, I would suggest calling around. Of course, cheap ones here start at a very rare $75 outside of DC. Sheraton, Inns of Virginia, Hilton, and Holiday Inn are fairly okay with price but not constant. I really would suggest that you call around. Try Marrioot first in NW DC because its only 4 blocks away from the White house but not sure about the price. The Sheraton National Hotel near the Pentagon is also okay and might have a good price but it really depends on the demand. Hotels in DC gets overbooked all the time so I suggest that you reserve right away and arrive no later than 5 pm so your slot won't be given away, oh yes they do that.





Do everything in DC first and then rent a car for a day or two to go around. Parking is also really expensive in the hotel. Around $15 per night in Virginia and $25 per night in DC..





Good luck and enjoy your trip.





Try to get
Reply:1) Public transport is awesome! If you're flying into DCA (Reagan) there is a metro stop at the airport. You can public transport from Dulles (take the bus to the West Falls Church metro stop) but that might be a bit much for a tourist especially if you have kids with you. Another option is to simply take a cab into the city. Parking's a nightmare so I'd avoid the car rental.





2) You need a rental car to get to Quantico. Just pick one up for the day (metro to Reagan airport then rent a car from there).





3) Depends what you mean by reasonable costs. Like $150-200 a night, I would recommend Hotel Lombardy. It's one block north of The George Washington University and is only three blocks west of the White House. The Watergate (26th and Virginia NW) is around the same price and is close to everything. If you don't want to spend as much, check out Herndon, VA (Near Dulles Airport). The only problem with staying outside of the city is that any savings you had are eaten up by parking/rental car.
Reply:Public trans is more then sufficient. Renting a car is something you would only regret...especially w/ parking and parking costs in DC. Just find a hotel somewhat near a metro, or you can always depend on a cab.


Quantico has an AMTRAK stop in the center of it, and the Marien Corps Museum is a short ride away by cab.


You could also look into renting a car just for that one day...OR you could look into the ZIP car program here in DC.


The hotel stay would be another thing. Kind of difficult. You could stay in a cheaper hotel in DC but risk a bad region. OR stay outside of DC and have a horrible long distance to travel to get to the sites. IF you are interested in hearing more let me know and I will see what you have in mind as far as $, area, dates, etc.


Good luck!


NATE


:)
Reply:I have lived in the Washington DC Metro area for nearly nine years now. If you are going to spend most of your trip in Washington DC, I suggest taking the Metrorail System; it is the subway system. Parking is terrrible in the city. On the weekdays, it runs from about 5:30AM until Midnight (some stations vary). On the weekends, it runs from about 7:00AM until 3:00AM (some stations vary). There is usually a Metro Station near all the main attractions in DC, but there are some decent buses (RED circulator). You will have to rent a car to get to Quantico. Check-out car rentals at Union Station and Reagan National Airport. I am not sure about lodging, but I would suggest the Crystal City, VA area. Good luck on your trip.

deliver flowers

Microsoft Visual C++ RUntime Libary abnormal program termination help? PLZ HELP!?

I downloaded this game silkroad i installed but when i try playing it this error comes up and it reads like this





Microsoft Visual C++ Runtime Libary





Program C:/Program files/silkroad/sro_client.exe





abnormal program termination





Thats how it read the error please please help i really wanna play this game and i dont know what is it i already installed it and everything and when i press play it reads that error message plz help!!!!

Microsoft Visual C++ RUntime Libary abnormal program termination help? PLZ HELP!?
I would assume it is a programmer's error. A mistake was probably made and the error checking in the program or the runtime library shut it down.


(The runtime library is a collection of things to help a designer write a program)


This could be a corrupt version of the file you downloaded, or maybe a corrupted or old version of the runtime library. You could try to download and replace "msvcrt.dll" or reinstall the game, or there might be something else wrong with the computer that's keeping the game from playing. Have you played the game before?


Help with C++ Programming?

Below is my first C++ Program I have written for my C++ class. I compiled it and it said there was a problem concerning my forloop. Am I allowed to have a forloop inside an IF statement? Any help or tips would help alot. Explanation necessary. Redirecting me to an outside website won't do.





#include %26lt;iostream%26gt;


using namespace std;





int main()





{


char letter, confirm, x;


cout %26lt;%26lt; "What is your favorite letter?:\n";


cin %26gt;%26gt; letter;


cin.ignore();


cout %26lt;%26lt; "You chose ";


cout %26lt;%26lt; letter;


cout %26lt;%26lt; " as your favorite letter.\n";


cout %26lt;%26lt; "Are you sure? (Y=1/N=2)\n";


cin %26gt;%26gt; confirm;


if ( confirm == 2 ) {


for ( char x = 0; x %26lt; 1; x++ );


}


else {


cout %26lt;%26lt; "I like ";


cout %26lt;%26lt; letter;


cout %26lt;%26lt; " too. Thanks for playing.\n";


}


system ("pause");


}

Help with C++ Programming?
Next time it would be helpful to post the actual compiler error.





Your program compiled fine for me using gcc but you do have some logic errors.





(1) Your for loop doesn't actually do anything so you need to code an action for it. Using char x is fine by the way. A char is a valid numeric type to use in a loop.





(2) Your if statement will always be false. You are reading in type char for either 1 or 2 but your if statement is comparing against an int value. You need to change it to





if (confirm == '2')
Reply:Yes you are. But, your not allowed to declare x as a character.





for (int x = 0; x %26lt; 1; x++) {


/* your code */


}
Reply:Actually what happens when u store 0 in x is it stores ascii value of 0 in x that is 48 . when it checks x%26lt;1 which it checks 42%26lt;1... which does not satisfy ...


Solution


use x as integer


or


check the condition as x%26lt;'1'


Please help me in C language?

1. What are the programming process?


2. Components of C


3. Features %26amp; Characteristics of C


4. C Program Structure


5. Preprocessor Directives


6. Declaration Section


7. Executable Section


8. Comment, Remakrs %26amp; annotations


9. Keywords, Data Types %26amp; Constants


10. Rules in naming variavbles %26amp; constants


11. assignment %26amp; calculations








please help me.. lady_joy024@yahoo.com

Please help me in C language?
What you are asking would be a semester course in college Computer Science. Go to your favoriite book store, and try to find a book, one of those ... For Dummies, or something like that. Something that starts you off very simply, and may or may not include a compiler disk, depending on the cost.





If you have programmed before, you may not need a book at all, but for beginners it can be hard.





Try, if you have time for online study, free:





http://cplus.about.com/library/blctut.ht...





or with your favorite search engine, for:





c manual programming beginner





And, you should get around 7 millions hits.
Reply:Wow. Thanks for posting your homework assignment up in broken english. I'll make sure I get right on that!
Reply:Go to prydain.futurecis.com and click on utilities. They have a quick down and dirty C guide
Reply:you need a C text book.
Reply:ask a single question?????????


don't ask like this


Microsoft visual C++ runtime library (can you help)?

when i try to go into a web page i get this message microsoft visual C++ runtime library


buffer overrun detected!


program:c:\program files\internet explorer\ iexplore.exe


a buffer overrun had been detcted witch had corrupted the programs internet state. the program cannot safely continue execution and must now be terinated. click on ok what can i do to fix this is there someone out there who knows how to fix it . please help me .

Microsoft visual C++ runtime library (can you help)?
Hi,


You have a corrupted file just do a "Windows Repair" using your Install disk and I think this will fix it for you. Hope this helps.

floral bouquets

Help with C++ programming...?

I'm taking an independent study course on C++ programming through my college. So far I've created a mean and standard deviation program, a linear regression program, and a few other much simpler programs. I am now working on a program to add up to 12 vectors together, and am having a lot of trouble with it. If anyone could help me find an example C++ vector addition program to use as a template, it would be greatly appretiated. Thanks a lot.

Help with C++ programming...?
I assume you are using standarrd template classes ?


have a look here :





http://www.mochima.com/tutorials/STL.htm...





( btw I dont recommand atl as part of an introductionary copurse in c++ it is a difficult syutax)
Reply:This is a good reference site:


http://www.cplusplus.com/main.html





You almost certainly want to use a structure or class. The exercise that you're doing is a very standard application that screams for use of those parts of the language.


Help with c++?

ok, here is the assignment my comp sci teacher gave me:





2. The roots of the quadratic equation ax2 + bx + c = 0, where a, b, %26amp; c are real numbers, and a ≠ 0, are given by the following formula:





http://www.people.iup.edu/ykwl/...





In this formula the term b2-4ac is called the discriminant. If b2 - 4ac = 0, so the equation has a single repeated root. If b2 - 4ac %26gt; 0, the equation has two real roots. If b2-4ac %26lt; 0, the equation has two complex roots. Write a program that reads the following values [{1, 3, 1}, {1, 2, 1}, {2, 1, 1}] from the keyboard and assign them to the three sets of coefficients [{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}]. The program then outputs the type of the roots of the equation for each set. Furthermore, if b2 - 4ac ≥ 0, the program should output the root(s) of the quadratic equation.





So, i dont understand when he says the "root of the equation". Can someone help me uderstand what i am suspose to do and how i would star off the program?

Help with c++?
Look here


http://en.wikipedia.org/wiki/Quadratic_f...





By "roots" he simply means the value of x.


Your program is supposed to solve the quadratic function.
Reply:The root of the equation is the value x, such that ax2 + bx + c = 0


Help me please b/c I jst don't know what to do anymore.?

Okay I'm only 14 yrs. old and I live w/ my aunt and grandmother.My moms mentally ill and my dad never there 4 me.I hate my life and all I wanta to is die.I'm always getting punished for no reason and it never is my fault.I wanta go live / my aunt but my aunt that i'm living with won't let me b/c she has custody over me.I like really hate them though.I've been through everything.yes and i mean it.Raped, Abused , anything and I been through it.I can't live here anymore and yes i do pray to God every nite but it seems like he even hate me b/c he never answer my prayers.I have an older sister that's 16 but she only think about herself.I hate her now.I have a friend that's just like me and we're saving up money to run-away.I've saved like 150.00 and she saved up like 200.00 but i still don't know.Please help me b/c I'm like going through stuff.And yeah me and my friend already have a place to stay and know where we're going but I still don't know.I'm like cinderella or something.

Help me please b/c I jst don't know what to do anymore.?
hey sorry to hear that. i think u need a friend add me on yahoo slick1899 ok. we can talk
Reply:wow that's not cool that you are having such a hard time.. i know that right now you feel that everyone is against you.. you have found god and that should be a first step find a counselor in school that you can talk too..maybe its not a good idea to continue hanging out with that friend of yours who also needs help.. try to surround yourself with positive people and remember that people don't like people who don't like themselves
Reply:First of all, me saying 'sorry for U' won't make a damn difference. U've suffered too much and it's amazing that U still believe in that entity called 'God'. Well, about running away, most of the people who have answered are probably right. Need to be old enough to face even a tougher and meaner outer-world. U think U'll be able to get out of this present mess, but what lies ahead, is unknown. Do not think about dying. There are people who will care for U, irrespective of what has happened to U. If U want I can be Ur friend, just mail me at prabhat_dreamz@yahoo.co.in. If U don't, then it's absolutely fine. It's just that U need someone to divege Ur annihialting thoughts to something more sane and realistic. Giving away your life or runnng away isn't the solution. And, yes U shud try to report this to the authorities if possible. Hopefully, they might be of immense help, but before that be sure that U have enough evidence on Ur hands against the people who dragged U to this part of Ur life. Just hope I managed to rekindle the hopes in U. Take care.
Reply:very long question...
Reply:sorry for u. but try to be older enough to find the right decision. u have a long way in front of you. be patient.
Reply:dear 1st get old enough to live alone


i m realy sorry for you


i sujjest you must go to police and tell them every thing they will definately help you
Reply:Sweetie.. first im sorry that at such a young age that u've been through so much.. god hears all prayers and u just have to listen with your heart to hear the answers and it seems like right now your so mad at the world (which is understandable) that your not listening to the signs god is probably giving u..





Sweetie you've survived so much , surely u can continue to survive for 4 more years then when your 18 poof your an adult and can go do whatever u want..





But honey 350.00 wont even get u anywhere.. keep saving ur money for the next 4 years so u can get a car and a place of your own so u wont have to depend on anyone but yourself.. U've been strong enough to handle all this so far.. surely u can handle it long enough to reach ur goal.. to leave as soon as u hit 18..





Stay put.. work hard at school so u can have a good job later so u can take off when ur 18 and never have to look back.. but u have to have a goal and a game plan and right now at 14 , its not going to work.. ur not even old enough to get a job something u'll need to survive.. Tuff it out for right now use your friend as your support system to get each other through for the next 4 years.. u'll be better prepared and they cant make u come back once your 18..





I hope u listen cause im being honest the world isnt as easy as it seems to survive in.. finish school.. get a job.. save your money then bolt when ur 18.. prove to the world that u went through hell and u made it and did everything right and they can all kiss your rear end cause u didnt need them ur stronger then any of them and u didnt have to depend on anyone but yourself to do it and u didnt have to stoop to anyones level to reach ur dreams.. good luck i hope u make the right choices..
Reply:GO TO THE POLICE
Reply:God does love you.just keep praying to Him.others may hurt you but if you really trust Him fully He will help you.He may not answer your prayers right away but that does not mean that He does not care.we must pray for things that please Him.i will pray for you.


Need help C# do while statement?

i have just wrote all this now I have to use a do while statement loop and so sleepy its due in the morning. Could someone help me figure out a fast way to enter it as a do while?


static void Main()


{ string userin;


char selection=' ';


double beginBalance;


double newBalance;


int numChecks=0;


double checkAmount=0;


double depositAmount=0;


int numDeposits=0;


Console.Write("Please enter the beginning check-book balance: ");


userin = Console.ReadLine();


beginBalance = Convert.ToDouble(userin);


newBalance = beginBalance;


while ((selection != 'q' || selection != 'Q')%26amp;%26amp; newBalance %26gt;0)


{


Console.WriteLine("Please enter the type of transaction you would like to make?");


Console.WriteLine("Transaction codes you must enter are as follows:");


Console.WriteLine("D or d Deposit");


Console.WriteLine("C or c Check");


Console.WriteLine("When you have completed entering the transactions please enter Q or q to quit");


userin = Console.ReadLine();

Need help C# do while statement?
CONSIDER YOURSELF REPORTED AGAIN. I really hope no smart programmer is dumb enough to answer your questions. This is ridiculous!

dried flowers

Help with c++ assignment?

ok, here is the assignment my comp sci teacher gave me:





2. The roots of the quadratic equation ax2 + bx + c = 0, where a, b, %26amp; c are real numbers, and a ≠ 0, are given by the following formula:





http://www.people.iup.edu/ykwl/





In this formula the term b2-4ac is called the discriminant. If b2 - 4ac = 0, so the equation has a single repeated root. If b2 - 4ac %26gt; 0, the equation has two real roots. If b2-4ac %26lt; 0, the equation has two complex roots. Write a program that reads the following values [{1, 3, 1}, {1, 2, 1}, {2, 1, 1}] from the keyboard and assign them to the three sets of coefficients [{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}]. The program then outputs the type of the roots of the equation for each set. Furthermore, if b2 - 4ac ≥ 0, the program should output the root(s) of the quadratic equation.





So, i dont understand when he says the "root of the equation". Can someone help me uderstand what i am suspose to do and how i would star off the program?

Help with c++ assignment?
The root of the equation is where the y is zero.





Get the values:





double a1, b1, c1;


cin %26gt;%26gt; a1 %26gt;%26gt; b1 %26gt;%26gt; c1;





Calculate the discriminant and test it:





double d1 = b1 * b1 - 4 * a1 * c1;


if (d1 %26lt; 0)


cout %26lt;%26lt; "Two complex roots" %26lt;%26lt; endl;


else if (d1 %26gt; 0)


cout %26lt;%26lt; "Two real roots: " %26lt;%26lt; ( -b1 + sqrt( d1 ) ) / ( 2 * a1 ) %26lt;%26lt; " and " %26lt;%26lt; ( -b1 - sqrt( d1 ) ) / ( 2 * a1 ) %26lt;%26lt; endl;


else // d1 == 0


cout %26lt;%26lt; "One real root: " %26lt;%26lt; -b1 / ( 2 * a1 ) %26lt;%26lt; endl;
Reply:If b2-4ac =0 then b2-4ac =1,3,1 of complex 1


Then complex 2 which is = to -4ac (Root of 2,1)kb config


Root of the equation means u will have to find the root of b2-4ac





that's it!


What does c.m stand for? can ya please help me out here? (please answer)?

I've heard rumors that c.m stands for cookie monster, or chick magnet. I've been confused for awhile but what does c.m stand for from cm punk. I don't get can ya please help me out?





BQ: the ecw originals(rvd, sabu, sandman, tommy dreamer and new jack) vs the new breed(elijah burke, marcus cor von, matt striker, kevian throne and big daddy v) in the first ever 10 man extreme rules and it will be held in the WAR GAMES. Who would win and how?

What does c.m stand for? can ya please help me out here? (please answer)?
It stands for Cookie Master, not Monster, you've been watching too much sesame street. He said that's what it stood for in an interview.





WQ: the new breed
Reply:He said in ann interview that CM stands for cookie monster bcz when he was a kid that's all he ever ate.His mom then gave him that nickname %26amp; he's had it ever since.


Elijah Burke will get the win over Sandman with his Elijah Express.
Reply:Cookie.Monster Punk, because he said in his inerview, "Iv'e always been a fan of chocolate-chip cookies when I was a kid".





BQ: ECW Originals because they will make the new Breed bleed, with barbed-wire and tacks.
Reply:the cm in cm punk stands for chick magnet it comes from a former team he was in
Reply:u were right...its cookie monster





the originals would win
Reply:Its a Mr. Burns reference from the Simpson show.
Reply:CM Punk stands for "Chick Magnet Punk", a name he used in his first promotion, Lunatic Wrestling Federation, as one half of the Chick Magnets.





If the War Games match is booked in WWE, New Breed wins with Big Daddy V pinning Tommy Dreamer.





If it is booked in ECW, RVD pins Elijah Burke.
Reply:correct moonsault
Reply:it (cm)originally stood for chick magnet...but he has since made it clear that it stands for nothing other then just cm!
Reply:Centimeters. Lol.
Reply:I had always heard it was because of his old tag team and thus was Chick Magnet. However he did an interview and said it was cookie monster from when he was younger and chubby. Who knows- wouldn't be the first time Vince has had a wrestler ignore what they have done in other promotions, but it cold also be the truth and just a huge coincidence that they are the same letters.





I just can't see a parent actually calling their kid CM because they ate a bunch of cookies...





Bonson- the ones I read said monster, not master. Not my fault if they got it wrong!
Reply:coc mongol. do i love dis girl i cant say uhh i dont no i am going crazy ctk is loser


Help with C++ programming...?

I'm taking an independent study course on C++ programming through my college. So far I've created a mean and standard deviation program, a linear regression program, and a few other much simpler programs. I am now working on a program to add up to 12 vectors together, and am having a lot of trouble with it. If anyone could help me find an example C++ vector addition program to use as a template, it would be greatly appretiated. Thanks a lot.

Help with C++ programming...?
Here are some things I used when I was in that class..





http://www.ann.jussieu.fr/free.htm


Vintage Minox C Camera help?

I just recently acquired a WWII Minox C Camera made between 1960-1974. I would like to get some film for it, to see if it still works. Where can I get the film? Is it the same as the current Minox C film? Does it need to be developed any special way?


Any help is greatly appreciated!!

Vintage Minox C Camera help?
http://www.cameras.com
Reply:MINOX camera is precision photographic instrument; the "Ur" MINOX in 1935 (production starts in 1937) was the corner stone of all others, even today but with better technology, they remain the same, as Walter Zapp designed.





MINOX GmbH, of Wetzlar, Germany, is now producing the MINOX CLX.


You can go to "bhphotovideo.com" or "Adorama.com" if not, search google.

gift baskets

I stayed b/c I loved him but now...I can't do this b/c it not me Help?

How Can you effectively explain to a sensitive man that you can't be together b/c you can't trust him, he has a kid with somebody else,and there is no communication.





About the kid thing I can't be with somebody that has kids with somebody else I want to be the one who has my husband's first kid. Plus i'm not ready to play 2nd mommy when i'm not ready for kids right now.


can you help me please b/c its becoming a burden.

I stayed b/c I loved him but now...I can't do this b/c it not me Help?
go for what you want
Reply:Say it like you just said it here.


Double c necklace?! please help me!?

i really want a double c necklace with crystals in the c's. can anyone help me find a website where i can get one? i've checked ebay, amazon, and sell.com


thanks!

Double c necklace?! please help me!?
try here: http://www.b2cjewels.com/necklacesandpen...





I hope so you will get here.
Reply:you want the original Chanel necklace or a cheaper version? i am not finding the original.......... just google it....... there is a ton of results of cheaper versions.
Reply:Do you mean Chanel?





http://cgi.ebay.com/100-Auth-Chanel-CC-C...
Reply:just search for chanel necklaces and you should find plenty!





http://jewelry.search.ebay.com/chanel-ne...
Reply:try www.silver-legends.com or www.cabela's.com and look under silver legends they have the cutest necklaces in turquoise humming birds and dragonflys. cute.


Help windows XP C:\windows\system32\shell32.dl...

C:\windows\system32\shell32.dll,Control_... I CANT OPEN ANY PROGRAMS, SYSTEM RESTORE. I DONT HAVE AN XP BOOT DISK CAN ANYONE HELP ME? I DONT MIND LOSING THE FILES ON THE COMPUTER.

Help windows XP C:\windows\system32\shell32.dl...
.... try to run in run command





sfc /scannow


Need help with c- programming?

A few problems i need help with...


1. I have to have the user clear scores before entering the first set of test scores because the test score number starts of in the millions.


2. I can't get the program to enter a second set of numbers after the first set has been cleared.


3. How to get the program to count the sets as i enter them in. ( I will be saving them in a file)





#include %26lt;stdio.h%26gt;


#include %26lt;stdlib.h%26gt;


#include %26lt;math.h%26gt;














int main()


{





int eLoop=0,bsinp;


char menuResponse;


float score;


float average;


float x;


float max = 0;


float min = 1000;


float total = 0;


float sum;


int i = 0;


char buffer[BUFSIZ+1];


int scoresEntered;


int setsEntered;

















do{


/*Print the Menu*/





printf ( "\n\n\**********************************...


printf ("*****Test Score Statisics v2.0*****\n");


printf ("***********************************\n"...











printf ("[C] Clear Stats\n");


printf ("[E] Enter Test Scores\n");


printf ("[D] Display Test Score Stats\n");


printf ("[Q] Quit\n\n");


printf ("Type the letter of your selection and press %26lt;ENTER%26gt;\n");














gets(buffer);


menuResponse = buffer[0];





switch (menuResponse)


{


/*Clear all scores and tally the total sets*/





case 'C':


case 'c':


printf("All Scores Cleared.\n");


setsEntered++;


max = 0;


min = 100;


int i = 0;


float total = 0;





break;





case 'E':


case 'e':


while ( score ) {


printf("Please Enter test Score %d: ", i+1);


score = atoi(gets(buffer));


i = i + 1;


if (buffer[0] == 0) break;





if( score %26gt; max ) { /* Find Max Score*/


max = score;





}else{


if (score %26lt; min) { /* Find Min Score*/


min = score;


}


}


sum = score + sum; /* Find Sum Score*/


}





average = sum / (i-1) ; /* Find Average Score*/





break;





case 'D':


case 'd':


printf( "\n\nThe average score is %.1f\n", average);


printf( "%d Test Scores\n", i-1 );


printf( "Maximun Test Score = %.1f\n", max);


printf( "Minimum Test Score = %.1f\n", min);


printf( "\n\nPlease Clear Scores before preceding.");


break;





case 'Q':


case 'q':


eLoop=1;


break;





default:


printf("Please select a letter.\n");


break;





}











}while (eLoop!=1);





printf("Press Any Key.\n");


gets(bsinp);








return 0;


}

Need help with c- programming?
sorry I'll just have to paste the full code here (commented where necessary). there were a few other flaws as well, also added support for writing sets to file. enjoy.








#include %26lt;stdio.h%26gt;


#include %26lt;stdlib.h%26gt;


#include %26lt;math.h%26gt;





int main()


{


int eLoop=0;


char menuResponse;


float score;


float average=0;


float max = 0;


float min = 0;


float sum=0;


int i = 0;


char buffer[BUFSIZ+1];


int setsEntered;


FILE *fd;





// open file where you put sets


if (NULL == (fd = fopen("mysets.txt", "w")))


{


printf ("\n Sorry couldn't open mysets.txt, change path or give permissions.\n");


exit(1);


}





do


{


/*Print the Menu*/





printf ( "\n\n***********************************...


printf ( "*****Test Score Statisics v2.0*****\n");


printf ( "***********************************\n")...





printf ("[C] Clear Stats\n");


printf ("[E] Enter Test Scores\n");


printf ("[D] Display Test Score Stats\n");


printf ("[Q] Quit\n\n");


printf ("Type the letter of your selection and press %26lt;ENTER%26gt;\n");





gets(buffer);


menuResponse = buffer[0];





switch (menuResponse)


{


/*Clear all scores and tally the total sets*/





case 'C':


case 'c':


printf("All Scores Cleared.\n");


max = 0;


min = 0;


i = 0;


sum = 0;


average = 0;





break;





case 'E':


case 'e':





if (0 != i)


{


printf (" %26lt;%26lt;%26lt; YOU MUST CLEAR PREVIOUS SCORES FIRST %26gt;%26gt;%26gt;\n\n");


break;


}





score = 1; // needed for "while (score)" to start off properly


setsEntered++;


fprintf (fd, "Values for scores Set # %d\n", setsEntered);





while ( score )


{


printf("Please Enter test Score %d: ", i+1);


score = atof(gets(buffer)); // atof instead of atoi - you really need float values not integers


if (buffer[0] == 0) break;





// initialize min score here (= first score)


if (0 == i) min = score;





if( score %26gt; max )


{ /* Find Max Score*/


max = score;


}


// "else" should not be here


if (score %26lt; min)


{ /* Find Min Score*/


min = score;


}





sum = score + sum; /* Find Sum Score*/


i++; // increment counter here





// write entry to file


fprintf (fd, " Score %d: %.1f\n", i, score);


}





average = sum/i; /* Find Average Score*/





// write statistics to file


fprintf(fd, "The average score is %.1f\n", average);


fprintf(fd, "Maximun Test Score = %.1f\n", max);


fprintf(fd, "Minimum Test Score = %.1f\n", min);


fprintf(fd, "---------------------------------------...





break;





case 'D':


case 'd':


printf( "\n\nThe average score is %.1f\n", average);


printf( "%d Test Scores\n", i );


printf( "Maximun Test Score = %.1f\n", max);


printf( "Minimum Test Score = %.1f\n", min);


printf( "\n\nPlease Clear Scores before preceding.");


break;





case 'Q':


case 'q':


eLoop=1;


break;





default:


printf("Please select a letter.\n");


break;





}


} while (eLoop!=1);





// close file


fclose (fd);





printf("Press Any Key.\n");


gets(buffer);





return 0;


}
Reply:You need to initialise


int setsEntered=0


float average = 0; (This is incase you do 'D' before entering any scores!


float min = 0; and add a check in the while loop


if ((min == 0) || (score %26lt; min)) { /* Find Min Score*/


min = score;


}





scoresEntered is not used


You are defining total within the case block but it is NOT used.





Initialise the values before the while loop after the case 'e' so you don't have to manually clear them each time before entering a set of scores.





sum = 0;


min = 0;


max = 0;


i = 0;





Increment the setsEntered when you actually enter the sets


case 'e':


setsEntered++;


while (score) {





You need to change the while (score) to a


do {


}while(score);


As at the end for the first set score is set to 0 so it never enters the while loop again.





I think that is it.

wedding

I need C# help!!!!!?

I desperately need help with C#. I don't know how to add public string instance fields to a class or add constructors. I also don't know how to take one text argument and set it to a field. Please help! Give me an example.

I need C# help!!!!!?
If you are using VB C# Express, you could easily look it up with the help functionality. Otherwise you could declare public string instance files to a class by opening up the class file and declaring it within that class:





private int 0; //private declaration


public string "Hello"; //set text to field + public scope


//Personally I usually declare fields as private





A CONSTRUCTOR WOULD BE:


public Coords(int x, int y)


{


this.x = 0


this.y = 0


}


//It would be executed every time the method is called.








Hope this helps,


Jon
Reply:try it from


http://tutorialofc.blogspot.com/


Help me with C programming!!!?

i have not understood C program clearly.. Is there any site or books which can help me to understand C program easily(about how to write a program,basic things of C program)...


plz plz help me....

Help me with C programming!!!?
It takes a while to learn it. Honestly I would take a class at college if you are really interested in it.
Reply:hey try out http://www.programmingtutorials.com/ it ll surely help u out....


there are around 300 diff languagt tutorials available n tat too free and are too good.... i did c++frm there
Reply:Well visit http://www.cplusplus.com This website contains the basics of C fully and elegantly covered. I think it will be helpfull for your understanding C language. It also contains many sample scripts that you can use for learning the basic format of C clearly.
Reply:check out codeproject.com


it offers small c projects and explain each statment in detail and it's free too





Good luck :)
Reply:Hey try "Let Us C" by yashwant kanitkar it is the best


else


you need any ebooks or tutorials try esnips.com


there are many books available for free there
Reply:i think for basics e balaguruswammy is the best book and y kanetkar for practices
Reply:Duh . There are tonnes of books on C . Like C for beginners .


Your answer lies in a book store .


If that doesn't work try attending a class
Reply:u should take classes at NIIT institution...thats where i learned basic C++ and basuc SQL
Reply:Hey,


To under stand c language read "Let us C" by Yashwant Kanetkar.


To know clearly about the programs and their flow go through


"Exploring C" by Yashwant Kanetkar
Reply:Third edition


C Programming in ANSI


E. Balagurusamy.
Reply:"Let Us C" by yashwant kanitkar is the best for C programming...


so u have to refferr 1st these book........
Reply:Refer to Yashwant Kanetkar's Let Us C %26amp; solve exercises given
Reply:Try to go to some classes to learn c and also study some basic c books. This makes u learn c very faster
Reply:Refer to the book Let us C by Yashwant Kanetkar


Its a damn good book n vry easy to undertand.......\





or else see this website..





www.cprogramming.com





hope it helps............
Reply:there is a book called programing in c and C++by Dietel and Dietel... and another one by name...Object oriented programing in C++ by Robert Lafore..both are god books.the second one is a little better if you want to know the concepts.
Reply:freecomputerbooks.com is better to learn many books all language which you want to learn


Visual C++ Calculator help PLEASE !!!! has to be written in visual c++?

C++ Calculator Help PLEASE!!!!?


I am so sick this week.... DO NOT GET A FLU SHOT!


It was a very big mistake.





Im having a very hard time concentrating on this program, THis is the assignemt PLease help me.





In this assignment you must implement a simple integer calculator. The arithmetic functions of addition, subtraction, multiplication, modulus, and division are to be supported. The calculator contains an Accumulator that stores the current result. The Accumulator is also involved with each operation. Make sure that you define a class for this program.


Once started, the Accumulator is set to zero, and the operation to be performed is set to addition (+). The program then repeats the following steps:








Request and Accept a number


Apply the stored operation (Acc op= number)


Request and Accept the next operation


This process repeats until the equals sign (=) is entered as an operation. At this point, the Accumulator contents are displayed and the calculator is reset (Accumulator set to zero and operation to +).


The following characters are legal operations:





+, -, *, %, /, =, and !.





The ! is treated the same as =, but causes the program to terminate. Any other characters entered as operations should cause a brief error message and should be ignored. Division by zero errors cause a reset.


Sample run:








SuperCalculator at you service!


------


Input: 10


Operation: *


Input: 2


Operation +


Input: -5


Operation: =


Result: 15


------


Input: 12


Operation: /


Input: 0


**Division by zero - start over


------


Input: 12


Operation: %26gt;


**Invalid operation - ignored


Operation: /


Input: 5


Operation: =


Result: 2


------


Input: 10


Operation: %


Input: 6


Operation: *


Input: 3


Operation: !


Result: 12





------


SuperCalculator Off!


1 hour ago - 3 days left to answer.


Report It

Visual C++ Calculator help PLEASE !!!! has to be written in visual c++?
you can't "use" the operation they input you have to do something like (psuedo code here)





get input


take firstNumber


take sign


take secondNumber





Now what you have to do is check the sign


if(sign == '+')


result = firstNumber + secondNumber


else if (sign == '-')


result = firstNumber - secondNumber


else if (sign == '*')


result = firstNumber * secondNumber


/*Keep doing that for all the functions you have to do.*/


/*[other valid cases here]*/


else /*random junk entered by user*/


Output this junk isn't valid or some other brief error message.
Reply://Hey U can also compile and run it in visual c++





#include%26lt;iostream.h%26gt;


#include%26lt;stdio.h%26gt;





int main()


{


int acc=0,input;


char oper='+';





printf("-----\n");





while(oper!='!')


{


cout%26lt;%26lt;"input: ";


cin%26gt;%26gt;input;





switch(oper)


{


case '+':


acc+=input; break;


case '-':


acc-=input; break;


case '*':


acc*=input; break;


case '/':


if(input==0)


{


cout%26lt;%26lt;"**divide by zero - start over\n-----\n";


acc=0;


oper='+';


}


else


acc/=input; break;


case '%':


if(input==0)


{


cout%26lt;%26lt;"**divide by zero - start over\n-----\n";


acc=0;


oper='+';


}


else


acc%=input; break;


default:


acc+=input; break;


}


while(1)


{


cout%26lt;%26lt;"Operation: ";


cin%26gt;%26gt;oper;


if(oper!='+'%26amp;%26amp; oper!='-' %26amp;%26amp; oper!='*'%26amp;%26amp; oper!='/'%26amp;%26amp; oper!='%'%26amp;%26amp; oper!='='%26amp;%26amp; oper!='!')


{


cout%26lt;%26lt;"\nInvalid Operation - ignored";


}


else break;


}


if(oper=='=' || oper=='!')


{


cout%26lt;%26lt;"Result: "%26lt;%26lt;acc%26lt;%26lt;"\n-----\n";


acc=0;


oper='+'; // default


if(oper=='!')


{


cout%26lt;%26lt;"\nSuper Calculator off";


break;


}


}


}


return 0;


}


Please help me in general C# understanding...?

Hello, and thank you again because of your try to help me.





My question is as follows:





I Have a class named MyClass. I make an instance of that and name it MyInstance1. Then I define another MyClass object named MyInstance2. After all I do this:





MyInstance2=MyInstance1;





After this line, whenever I use the MyInstance2 members (such as methods, properties, fields and etc...) in my current procedure It is going to be same as MyInstance1, In the Matter that MyInstance1 and MyInstance2 are pointing to a same area in the memory. (a little same as union variables in C %26amp; C++). I know that is a general feature of C#.





But I want to do that like in C. I mean I want to make a copy of MyInstance1 and name it as MyInstance2 (not defining a union which points to same area in memory) and these two instances must be apart.





Also I prefer doing so in Managed mode (Not Unmanaged way).





Be Succeed,


Babax.

Please help me in general C# understanding...?
You're talking about cloning the instance. Depending on what your class is, you may want a deep or shallow copy. If you're looking for a shallow copy, you want to look at the MemberwiseClone method of Object. Otherwise, you'll want to write up your own copy logic and use IClonable.Clone.





As a point of note, all object references in C# are just that: object references. The best way to compare this back to C is more like you've malloc'ed a region of memory for your use, and you're setting a second pointer to it, but to get a copy, you have to memcopy it.





Good luck.
Reply:Class objects are refernce type. So what you found is the expected behavior. Here when you assign myinstance2=myinstance1, myinstance2 is a reference to myinstance1. Any change to myinstance2 will reflect to myinstance1. So that means its not a seperate copy.





You can see more of this if you search for Deep Copy and Shallow Copy. The current situation is Shallow Copy.





You can implement a deep copy is shown on link below.

flowers on line

Problem with A/C Blows air only on Max and not cold HELP !!?

I have an acura Tl 1996 2.5 4 dr. The a/c was not working (blower) I changed the a/c unit. Now it only works when you put it on Max (when you press once nothing happens,twice nothing happens,three nothing until 4 (max)) then starts blowing out air. The air is regular air is not cold at all. What can be wrong with it? I changed blower and resistance. When you press 1 you feel the car kind of turns on a bit more but in about 2 secs it just goes back to normal ( as if when you press 1 time to go to low it tries to turn on the compressor but then it just stops in 2 secs) Any help please its too hot to be driving with no a.c. Thanks in advance for the help.

Problem with A/C Blows air only on Max and not cold HELP !!?
maybe you need to take it to a dealer...you obviously did something wrong. (it may not have been the blower at all...coulda been the condenser or thermostat....) it's always a good thing to know what you're doing before you do it and make more trouble for yourself than you imagine.
Reply:maybe you need to press the "a/c" because wen its not lit it means that it just blows air
Reply:will one thing i got tell you is that you should check what's wrong with it before you work on the car and i don't know it's maybe your a/c unit don't go and try fix it your self go to a car shop and ask them till them what's going on maybe they give you tips and till you what's wrong


Help with this c++ error?

When I run my program, I get these errors, even though I have I have added "#include %26lt;cmath%26gt;"!


Will anyone help me how to fix them, please!





thank you!





/usr/lib/gcc/i386-redhat-linux/4.1.1/.... no te: long double std::pow(long double, int)


/usr/lib/gcc/i386-redhat-linux/4.1.1/.... no te: float std::pow(float, int)


/usr/lib/gcc/i386-redhat-linux/4.1.1/.... no te: double std::pow(double, int)

Help with this c++ error?
The signature for pow() is:





double pow(double x, double y);





Change your second parameter from int to double. Changing your return variable to a double is also advisable.


.
Reply:Converting from float, double or long double to int sometimes causes problems. First I would suggest running the compiled program and see if it runs properly (in my experience, often the program will run just fine despite the compiler giving you a warning). If you're sure the program's behavior is actually bugged, then you'll have to find some way to convert between different variable types. Unfortunately I don't know exactly how this is done, I'm still a noob at C++.
Reply:#include%26lt;cmath%26gt;





//your function should be





{


double pow (double variable1, double variable2);


}





from


keng ping kong from www.iwohoo.com and www.pinkeikong.com


He c*m really quick!? pls help!!?

my boyfriend really c*um sooo quick like 4 mins. i dont know why. wat should we/i do to make our sex life more nicer and successful? i can *** 15 or half an hour if i want, or 5 mins if i want. but my boyfriend c*m soooo fast!! that's his poblem and i want to help him.





what is the best thing to do? he tried to hold it like more than 4 mins.but it is impossible for him. PLEASE HEEELP! :[


Thank you!

He c*m really quick!? pls help!!?
Yohimbe root will improve stamina as will exercise. You can also try some of the creams that numb the penis to prevent premature release.





He can also practice the start stop method or "clean the pipes" first before you have sex. The second time is usually much longer.
Reply:Try to slow things down a little bit. If he's getting close to *** switch positions or ease up on him. You could also when he gets close get him to do stuff to you for a little bit and then go back to him.





Good luck
Reply:That sucks. Tell him to relieve himself of the first one, then try twenty minutes or so after that.





I dunno. That's messed up.
Reply:Email or IM me to talk about it!! Not sure this is the place to answer!
Reply:I am going to try to answer this without violating community guidlines. Your local adult store sells a product called a **** ring. I cant say the other word here but he wears it on his Ba Ba Booey and it restricts blood circulation. It really works.





If you need more help in finding out what a **** ring is think of a four letter word for rooster.
Reply:He basically suffers from premature ejaculation. He might want to see a doctor, who can prescribe performance enhancing drugs.
Reply:Get him off, then go at it again, it will automatically last longer than before. Tease him, alot, in alot of different ways. Alcohol usually makes it last longer, and its waaaaay crazier. Force him to take it slow at first, maybe you should be in charge.


Vitamin C does it help reduce black raccoon eye circles?

vitamin C does it help reduce black raccoon eye circles? like what if i crush a chewable vitamn C tablet with a little bit of water or something and put it under my black eye circles? would that make it worse? should i take the risk?lol

Vitamin C does it help reduce black raccoon eye circles?
vitamin C is an antioxidant , very good for your health , but it will not help ur problem .
Reply:i use nivea co q10 ,. designed just for that . check out out


wallgreens
Reply:Black eye circles can be caused by different things ... unhealthy diet, iron deficiency, sleep deprivation. Vitamin C won't help any of those things.
Reply:As far as I know, there is nothing that clears up dark circles under the eye. I've had them all my life. They are caused by capillaries very close to the skin surface. A good concealer works for me. You could try the Vit C idea, but I think it would be a waste of a perfectly good vitamin. Good luck.
Reply:Black circles around the eyes are usually a result of a fatty liver and too much dairy food.


Try a liver cleansing diet for a couple of weeks, along with bottled water, and see how you go.


You will get enough vitamin C from a healthy diet of fruit and veg.

florist shop

TAX HELP!! -1099-Misc & Schedule C ...Extension??

I received a 1099-Misc with a larger amount of compensation paid. $8,000 more which makes a big difference on the due. I have copies of all the checks I received from my employer but since I started doing my taxes just yesterday, I haven't been able to get a hold of him. What do I do? File for an extension or just put the correct amount I know I received as income?





Schedule C: My husband and I are filing jointly. I am a Real Estate Agent, my husband is a Loan Officer. On my Schedule C from 2005 the CPA did the schedule C together for both of us. I'm using turbo tax now and it says I must file a seperate schedule c , 1 for my husband and 1 for me. Help please. THanks

TAX HELP!! -1099-Misc %26amp; Schedule C ...Extension??
The previous answer regarding your options about the 1099 is correct.





Additionally, it has never been appropriate for a married couple to file 1 Schedule C unless one helped the other in the business. Your case doesn't sound like that was the arrangement. Review your Social Security statement that is sent annually to determine how the wage credit was applied.
Reply:You have 2 options on the 1099 with the wrong compensation:


1. File your return with the correct amount. Include a schedule listing the original amount on the 1099 and than showing the correct amount. Contact your "employer" and ask for a corrected 1099. Note on your schedule that you are contacting them for a corrected 1099.


2. File an extension for filing your return. Make sure that you have withheld enough taxes to cover your income taxes. If not you will need to include a check for the balance with the extension.





Now, Turbo Tax is correct in demanding that you file separate Sch Cs for each of you. It is necessary so that each of you will have your social security taxes posted properly to your separate accounts.





You should:


1. Break down your income by Sch C


2. Break down your expenses by Sch C


3. Separate your auto %26amp; travel expenses by Sch C





Good Luck


My local disk c shows it's good for storing videos!!! Help Please!!!?

ehenever i open my local disk c, it has this 'film' emblem on the lower right of the folder that indicates that it is for storing video files. i know it's not supposed to be that way, but whaen i right click local disk c, no folder optoins appear and i can't switch it back to the old normal state!!! i've tried system restore, but still won't work!!! i've even scanned it for viruses, but i found none!!!, ever since this happened, when i click on program files or any other folder in drive c, it starts to slow down, not opening the folder! hwat should i do to bring it back to it's normal state!!! help please!!!

My local disk c shows it's good for storing videos!!! Help Please!!!?
- you cant change the settings of local disk c with folder options or properties because it is a hardware





- youve said that you had tried to use system restore but did you really stored it in the pc's status wherein the problem isnt existing yet? did you created a save state before the problem existed? because that would mean that you're just restoring your pc to a state that the problem is already present, your pc is slowing down because the computer tends to save system files while you system restore, thats why it takes so much disk space especially when your restoring so many times already.. hence, system lag arises..





- there is a possibility that whats your experiencing right now is a virus problem, even though your virus definition engine is up to date before you got attacked, virus definitions get updated only through the reports submitted by PC users worldwide to the virus database of your virus engine.. got that? what if the virus that attacked your system hasn't been reported? therefore there are no available treatment yet thats why when you scanned it. just returned zero results.. and there are also viruses that cannot be removed by antivirus like norton or mcafee, and even system restore..





- the only solution left is REFORMATTING YOUR DRIVE.. that will surely remove those pesky viruses..


if you have no idea about this you can chat me w/ tebancute as my yahoo! messenger id..
Reply:you shouldnt put any inportant things in the c drive cuz viruses can get into them and kill everything but put everyithgn into the d drive..


thats all i can say...
Reply:I have great thoughts about your Pc it is probably infected by some kind of Virus. Same thing happened to me an year ago. Download an Antivirus like Macfee AntiVirus of Norton`s Antivirus both would figure it out.


I hope you would be happy with my answer.


Help calling Borland C++ based API from MSV C++?

I am trying to call a Borland C++ based API from a Microsoft Visual C++ application via a dll from the Borland Code. I am not having much luck. Are there any common errors or mistakes that could cause this? I know it is possible, but for some reason I am struggling to make it work. Thank you in advance for help.

Help calling Borland C++ based API from MSV C++?
Given your absolute lack of details, it’s impossible to diagnose your problem. However, I will point out some obstacles in what you want to do. The first is that you are trying to use a dll for use with borland linker with VC++. I don’t know if the BC++ linker emulates VC++, but if it doesn’t, you will have trouble directly using it. Any fixes are going to be ugly, which probably involving figuring out the mangled names to use for the import definitions.





The second obstacle is dll dependencies. You are working with the VC++ runtime, so if the borland dll requires additional borland components like their runtime, you now have a problem.


PLEASE HELP ME!!!FOUR students A,B,C,D followed the procedure to find the focal length of concave mirror...?

PLEASE HELP ME!!!FOUR students A,B,C,D followed the procedure to find the focal length of concave mirror...?





FOUR students A,B,C followed the procedure to find the focal length of concave mirror...


A: kept the lens and the screen on a horizontal stand to get a clear sharp object


B: kept the lens in stand and held the screen in hand for a sharp image


C: kept the lens in hand and moved it to get a sharp focus





who is correct??


options





a) A


b) B


c) C


d) all are correct

PLEASE HELP ME!!!FOUR students A,B,C,D followed the procedure to find the focal length of concave mirror...?
is the question about a mirror or a lens??
Reply:i think C is the ans. but in case A, do the students movethe lens? if they move, then A is the answer
Reply:ans: c

sympathy flowers

D&C, Soembody help me understand , Should I have the D&C done?

I talk to my Dr. He said that a D%26amp;C would give him a better culture, to make sure I dont have a fibroid or fibroid is not cancerous. He would not allow me another HSG because the first x-ray was good enough or HSG may cause more damage. Is this true? Please help.

D%26amp;C, Soembody help me understand , Should I have the D%26amp;C done?
D%26amp;C stands for dilation and curettage. this means that when you undergo this procedure, the dr. simply "dilates" your cervix and "curettes" the lining of your uterus. this means scraping the lining of your uterus, and submitting the tissues gathered for a closer microscopic examination. d%26amp;c is commonly used as a diagnostic procedure,and as your dr. says, it can be used to detect cancerous cells or tissues in your uterus. it is a very safe and quick procedure.some patients go by it with mild sedation only, others prefer having a spinal block to ease the pain and discomfort.there is mild to moderate pain during the procedure, but i have had no experience on severe pain afterwards.if your dr. says that it would be helpful for both of you, i would see no reason why not


Category: Computer Programming Basics.. Is Knowledge of C language required to Learn C++. Kindly Help, Thanks.

I am a software programmer. I had this dilemma b'coz we had learnt C++ after learning C. But is this a necessary thing to pass on the same culture to the newcomers. Is it essential to learn C before learning C++. Please help me, Thanks in advance.

Category: Computer Programming Basics.. Is Knowledge of C language required to Learn C++. Kindly Help, Thanks.
Since the C++ language contains all of the C language, it seems pointless to even look at this topic from this perspective. A person learning C++ will learn C (in a sense) anyway. True, they won't know which parts are C and which are not. For that reason, it might be a good idea to give them a small taste of what C is but I would not relegate them to a year of C programming before moving on. It isn't a promotion path.


In terms of what to pass on, I would say, worry mostly about what is today. We don't teach them FORTRAN before learning C do we?


Furthermore, someone new starting out should only be taught one thing to start. Once they get the concepts, then they can branch out to other languages.
Reply:Dude C is procedural language.


C++ is object like language.





There is no problem to study C++ and C knowledge is not at all necessary.








Enjoy!!!
Reply:It's helpful if you have knowledge, so you could cite their similarities and differences, however since your asking if it's a requirement ,then i would say not really. As long as you can do, read and analyze codes...that would be a great start. Goodluck!
Reply:Try c# then c then c++. C++ is like learning to speak chinese its going to be really hard.
Reply:No, Because these two languages are into different arena.





But if you know C Already, then Learning c++ would be some what easier because some of the keywords and language constructs are same in C and C++.


Problem with A/C Blows air only on Max and not cold HELP !!?

I have an acura Tl 1996 2.5 4 dr. The a/c was not working (blower) I changed the a/c unit. Now it only works when you put it on Max (when you press once nothing happens,twice nothing happens,three nothing until 4 (max)) then starts blowing out air. The air is regular air is not cold at all. What can be wrong with it? I changed blower and resistance. When you press 1 you feel the car kind of turns on a bit more but in about 2 secs it just goes back to normal ( as if when you press 1 time to go to low it tries to turn on the compressor but then it just stops in 2 secs) Any help please its too hot to be driving with no a.c. Thanks in advance for the help.

Problem with A/C Blows air only on Max and not cold HELP !!?
You changed your a/c but did you recharged it? Did you look if the compressor is turning? On the switch part, whoever changed your blower must have not plugged it all the way and only the high setting is making connection.
Reply:I had trouble with mine it needed gassing up still didn't work as a wire was loose on the loom.
Reply:You need your AC filled up with freeon


A C++ comping error or something, could someone please help?

When I try to compile my simple C++ script(i'm a newbie), it gives me the following error: (There doesn't seem to be GNU make file in PATH or in Dev-C++'s Bin Path). Then it tells me something about adjusting bin settings or system environment variable. Can anyone help me with this? Seriously.

A C++ comping error or something, could someone please help?
Yes, but it hard to figure from your limited description what it is not finding. A couple of possibilities: (1) it is not finding the makefile; (2) it is not finding the program "make".





If you are not find the program then add the make program's path to your PATH variable.





If you actually have a makefile, and you are compiling from the current directory but it isn't finding it then either 1) prefix the path on the commandline (i.e. make -f ./makefile) or (2) add the shortcut to your current directory (".") to your path statement (e.g. PATH=$PATH:.)
Reply:Can you paste the code that you are using or the line that its referring to?

bridal flowers

Attention Baltimore & D.C. natives...PLEASE HELP (transit question)!!!?

I'm visiting the city this weekend for training, and I'm staying with a friend in D.C. My friend just relocated too, so is uncertain of taking public transit outside of what's needed for work, which is right there in D.C.





I need to get from D.C. to the B'more Convention Center on Saturday, but none of the sites I've looked at (MARC, MTA, WMATA) to get directions have been helpful for this.





PLEASE HELP! Even if you don't have specific directions, but can give me the phone number of the most likely transit system to get me there, this would be extremely helpful.

Attention Baltimore %26amp; D.C. natives...PLEASE HELP (transit question)!!!?
There is no MARC on Saturday. Some people have missed that point.





There is Amtrak, which will cost a bit.





There is also a roundabout way. Take the Green Line to Green Belt metro station. Catch the B30 Express bus to BWI airport which runs about 20 times a day on Saturday. Get on the BWI Light Rail train that takes you to the Convention Center stop.





This will take a couple hours, but it will be the cheapest option.





Metrorail: http://www.wmata.com


B30 BWI Express Bus: http://www.wmata.com/metrobus/b30_brochu...


BWI Light Rail: http://www.mtamaryland.com/services/ligh...
Reply:MARC has servce from Union Station in DC to Penn Station in B'more. Their website is www.mtamaryland.com but they don't have service on weekends.





Neither of those other two services (WMATA or MTA) have service between the two cities.





Amtrak also offers service between the cities. I think it's about $15 one way on Amtrak (about half that on MARC).
Reply:Man, I had no idea how tough this would be.





MARC trains don't run at all on Sat. You probably can't do it with the WMATA B30 bus, because the earliest Sat bus has you at BWI at 9:15, you probably couldn't get to the convention center much before 10 taking light rail from BWI. (If you don't need to be there until after 10, then this is the way to go, I guess)





This is certainly not the cheapest, but DC metro to union station. Amtrak to Baltimore Penn Station. Cab (couple minutes) to Convention Center.





I looked at amtrak fares and they seemed to be $19-$36 each way. (actually I thought they would be higher). So this whole trip with metro and cab would cost around $60-100.





Alternatively you could take a greyhound bus, but who wants to hang about in a bus station in DC or in Baltimore? You would still have to cab from the bus station to the Conv. Ctr.





Since public transportation options are so limited, I would look at renting a car. (don't forget cost of parking, though).





sorry I was not more help.
Reply:you can take mart from downtown dc (ne or se) and take that to camden yards (the O's stadium) the convention center is just a short (within 1 block) walk from camden yards. Raven stadium is in the same area.





have a great time, eat some crab cakes for me.
Reply:Hi,


If you are staying in DC, the best way besides car that I know of is to take the Marc Train from Union Station in DC to Baltimore. I've taken it to go see a baseball game in Baltimore, and I only had to walk a couple blocks to the stadium. I'm not exactly sure where the convention center is, but I'd imagine it must be accessible from where the train drops off.
Reply:Your best bet would be Greyhound bus, they go from the near capitol hill to downtown B'more near the convention center. Renting a car is the fastest way to get there if you don't like taking the bus.
Reply:There are only a couple ways to get to Baltimore using public transportation in the Washington DC Metro Area. The most practical way of going to Baltimore would be to metro to Union Station (the metro stop is Union Station) on the Red Line and then taking the Amtrak (www.amtrak.com) train to Baltimore and you can easily catch a short $10-$15 cab ride from that point. The website provides the hours and prices of the ride (usually every hour) and the cost is approximately $18 for Regional train... it will only take 45 minutes to get there by train. I hope this helped and enjoy our wonderful public transportation system ;-)
Reply:You can take the MARC train (Camden line) from Union Station in DC. The Convention Center is across the street from the Camden Station stop. I would take a train that gets you to the station earlier than you have to be there. MARC trains sometimes run late without giving passengers notice. Actually now that I think about it the MARC doesn't run on the weekend. You can take the green line metro from DC to Greenbelt, Maryland and then take a bus to Baltimore. If you can get to BWI airport you can take the Lightrail to Camden Yards. Sorry I couldn't be of more help. Public transportation really sucks in MD...another reason I miss NY


Try the Convention Center website: http://www.bccenter.org/about/trans.html


you can also try Maryland's MTA:


Transit Information Call Center: (410)-539-5000


Toll Free: 1-866-RIDE-MTA | Monday through Friday | 6am until 7pm


TTY for Hearing or Speech Impaired Persons: (410)-539-3497


Good Luck!


"Local C HeLp Please"?

Why everytime I clicked the 'Local C" in "My Computer", it says the following message "Ca not find script file "C:\autorun.vbs"..


wnd when I used the right click the open menu was replace by this symbol ‘ō¿a(O) and the explore command wa replace by this symbol xỆỘ’1ŰíƒE÷(X)..but the rest of the command in the right click are all ok such as "Search,Format, Copy and Paste"What should i do to solved this problem...please help me...Thank you very much





By the way my OS is windows xp....

"Local C HeLp Please"?
Hmmm that stumps me, i'd just reformat


Pls. help in C programming?

ok..so i wanted to make a program in C that is similar to the game FLAMES...for those who don't know the game: it's where you input 2 names and then the computer will then cancel the similar letter i name1 and in name2..(e.g. name1:marie yu name2:mark cruz.....2 m's will be cancelled, 2 a, 3 r's, ad 2 u's.....)then it will print the total nos. of canceled letters...


pls. guys help me..i need the entire C program, not just a detail of it..and pls. don't tell me to do my own homework or what because i try to do it myself but my knowledge in C programming is not that high..i try this many times but i can't do it.

Pls. help in C programming?
/*programmer name:Ahmed Moustafa*/


/*Electronics and Communication student at AAST in Alexandria in Egypt*/


/*copy and paste this code and programme will run correctly*/


#include%26lt;stdio.h%26gt;


#include%26lt;conio.h%26gt;


#include%26lt;string.h%26gt;


void main()


{


char str1[50],str2[50],c;


int num[50],total=0,i,j;


printf("Enter the first name ");


gets(str1);


printf("Enter the second name ");


gets(str2);


for(i=0;i%26lt;strlen(str1);i++)


{


c=str1[i];


num[i]=0;


for(j=0;j%26lt;strlen(str2);j++)


if(c==str2[j])


{


str2[j]=' ';


num[i]++;


if(c==' ')


num[i]--;


}


if(num[i]%26gt;0)


for(j=0;j%26lt;strlen(str1);j++)


if(c==str1[j])


{


str1[j]=' ';


num[i]++;


total=total+num[i];


}


}


if(total%26gt;0)


printf("The two names are changed to\n%s\n%s\nthe number of chacters changed is %d",str1,str2,total);


else


printf("No change");


getch();


}
Reply:Did u ask ur professor?
Reply:just i ll give some logic u try it out..


let the strings be name1[ ] and name2[ ]





int count = 0;


for(int i=0; i%26lt;length of name1;i++)


{


fot(int j;j%26lt;length of name2;j++)


{


if(name1[i] == name2[j])


{


count++;


break;


}


}


}





i think you can do easily using this..


all the best


I need a c++ program for this. Can someone help me out?

After many years of being frustrated by a checkbook that wont balance, I decied to write a program to help balance my money market checking account. The program should begin by asking for the month's opening account balance. It should should display a menu that lists the following choices:D for deposit, C for check, W for withdrawl, %26amp; Q for quit. If D is selected, enter the amount of the deposit, %26amp; add the amount to the account balance. If C is entered, get amount of the check, subtractg the check amount from the balance. If W is entered, get amount of withdrawl, subtract amount from the balance. If Q is entered, program should display opening balance, amount deposited, amount withdrawn, amount of checks, and final balance. If something other than D,C, Q, or W is entered, program should issue an error message and redisplay the menu. Allow the user to enter uppercase or lowercase letters.


This is not my HOMEWORK!! This one of our chapter review problems. I do need extra help!!

I need a c++ program for this. Can someone help me out?
Not really a problem requiring C++ ... but ok ... I'll give you a skeleton :





#include %26lt;ctype.h%26gt;


#include %26lt;stdio.h%26gt;








void main()


{


// Note : I am opting for long values rather than floats


// because we are dealing with money. Generally floating


// point error isn't acceptible when dealing with currency.


// But this will complicate input/ouput routines slightly.


// If you want to use floats ... it'll simplify IO procedures but will


// introduce floating point error ... your choice.





long current_balance = 0;


long opening_balance = 0;


long amount_deposited = 0;


long amount_withdrawn = 0;


long amount_checks = 0;





char input;





printf("Entering opening balance : ");


// Get opening balance.


// Set opening_balance to the amount.


// Set current_balance to the amount.








do


{


displayMenu();





printf("Enter selection : ");





// Get selection and convert lower-case to upper-case to ease


// the burden of checking multiple values.


input = toupper(getchar());





// I can't recall if getchar() waits until ENTER is pressed before


// evaluating. If it does, you'll need to add a while loop here to


// remove the potential excess and the newline character(s).


// Some systems use both a line feed and carriage return


// character ... others just use carriage return. You'll have to


// determine based on the system being implemented upon.





switch (input)


{


case 'C' :


printf("Enter amount of check : ");


// Get check amount.


// Add the amount of the check to amount_check.


// Decrement the amount of the check from current_balance.


break;





case 'D' :


printf("Enter amount deposited : ");


// Get amount deposited.


// Add amount to amount_deposited.


// Add amount to current_balance.


break;





case 'Q' :


// Display opening_balance.


// Display amount_deposited.


// Display amount_withdrawn.


// Display amount_checks.


// Display current_balance.


break;





case 'W' :


printf("Enter amount withdrawn : ");


// Get amount withdrawn.


// Add amount to amount_withdrawn.


// Subtract amount from current_balance.


break;





default :


printf("\nError. Invalid selection.\n");


}





} while (input != 'Q');








}








void displayMenu()


{


printf("\n");


printf("=========================\n");


printf("Menu :\n");


printf("=========================\n");


printf("(C) : Check\n");


printf("(D) : Deposit\n");


printf("(Q) : Quit\n");


printf("(W) : Withdrawal\n")


printf("=========================\n");


}








I wish this thing didn't screw up my perfect indentation style :P





Have fun!
Reply:Even if it's not your homework assignment, you will learn a lot more by figuring out how to do it yourself. Here are a few hints:





- Break it down into small procedures.


- Code each one separately and test if it works.


- Start by writing pseudo-code or a list of steps that need to happen in order to complete the procedure.





For example, write a program that will do a "W" operation. Then worry about writing a program that will respond properly to a "W" command (and no other keystroke). Then join the two together. You will also need a member variable for the balance, which gets updated each time a command is executed. Good luck!
Reply:Check out http://www.pscode.com for great examples.
Reply:I've been programming for a while. I personally do not like C++. I would go with C# .Net. All of that is easy to do. C# and C++ are very similar. But they do have their differences. For the part... it's just the syntax that drives me nuts. So... if you have the time. Go for Microsoft's Visual Studios .Net C#. It's powerful and not very hard to learn. If you already know C++, it's really pretty easy.








For the coding part, I would suggest breaking it down and figuring out exactly what you want to do. Declare the variables and on paper sketch out what you want to happen. When you have done this, create the user interface and then insert the code. Doing it this way help keep your code from getting very messy and confusing. Trust me... you don't want messy coding.








Also, remember the variables you create. Don't assign then random names. Use names that make sense.

wedding reception flowers

Need help in C language?

how to convert a char to other case in C language.





for eg. char letter='a'


then output should be A.





the problem is, it has to be done using bitwise operators.


i suppose not to use any standard library functions.





its an exercise given in "art of assembly" chapter 1 (p-63 1st problem)





for eg. ascii of a is 65 and that of A is 97


and in binary 65(A) is 0100 0001


whereas ...... 97(a) is 0110 0001





notice the sixth bit from right.


It decides the case of the letter.





I hope, NOT logic operation on this bit could change its case.





Adding 32 (0010 0000) or 20h does some work in converting.


it converts upper case to lower case.





eg. 0100 0001(A) + 0010 0000 (32)= 0110 0001(a)





But i dont know how to do so in C language.


Please help.





also help me by explaining the operators used in C to manipulate bits.

Need help in C language?
You can use the XOR (exclusive or) bitwise operator to flip the 6th bit. That will convert 'a' to 'A' and back again:


0100 0001 XOR 0010 0000 = 0110 0001


0110 0001 XOR 0010 0000 = 0100 0001


or, in decimal:


65 XOR 32 = 97


97 XOR 32 = 65


The C bitwise operator for XOR is the caret: ^


65^32 will give you 95.


97^32 will give you 65.
Reply:Hi,





Firstly you need to select only the lower case letter so we assume you can do a sample check as in





if (letter %26gt;= 'a' %26amp;%26amp; letter %26lt;= 'z')





and if it is then bitwise and as in





letter %26amp;= 0xDF





or





newletter = letter %26amp; 0xDF





Hope this helps.
Reply:I don't know C specifically, but if it's anything like C++, create a char variable, initialize it as 'a', and add 32... You can manipulate and compare chars and strings mathimatically, because that's basically how their stored
Reply:If your char is called cAlpha you would do this -





cAlpha = cAlpha %26amp; 0xdf;





or -





cAlpha %26amp;= 0xdf;





or what I tend to use -





cAlpha %26amp;= ~0x20;





This is the bitwise AND operator. It always clears bits to that are zero in its argument. The argument is often refered to as being a mask. 0xdf is '1101 1111' in binary. The sixth bit is zero the rest are set, the sixth bit of your value will be cleared, the rest will be left as they are.





In the third example I use the bitwise NOT operator '~' to create the mask. This swaps every bit in the value. In this case 0x20 (0010 0000) becomes 0xdf (1101 1111). I do this because its often easier to understand code if it shows the value that is being cleared rather than its mask.





The OR operator '|' always sets bits to one.


The XOR operator '^' swaps bits.





In the case of alpha characters you have to be careful. 'a' is 97 'z' is 122, they don't cover the entire range of number range of that bit. If you always applied the mask you will change all the chars between 96 and 127, 160 and 191, 224 and 255.





You need a piece of code that says -





if (cAlpha %26gt;= 'a' %26amp;%26amp; cAlpha %26lt;= 'z')





before the bit twiddling. Note that's a logical AND operation in the if statement.