Monday, May 24, 2010

What is similarities between c & c++?

C and C++ are programming language.

What is similarities between c %26amp; c++?
Well, the big similarities are as follows:





- syntax, as both have the same syntax


- grammar, although C++ has a slightly extended grammar (all the OOP features introduce a few new operators)


- code structure


- the compilation is about the same (not 100% sure, but it should be given that syntax %26amp; grammar are similar)
Reply:C++ is C but wraped in an OO (Object Orientated) design structure.


C++ contains all the extra syntax and code to be able to write OO programs where as C is totally procedural.





C++ uses classes to define objects.


C does not use objects.





So the similarities are the language itself and not the way language is used to write software.
Reply:C++ is a super set of C.
Reply:1.c is procedure oriented language.(all the problems are sub divided into small problems. first solve the divided problems and finally combine all small problems to get the original solution).





c++ is object oriented language.(here objects are used to acess any variables to solve the problems).





2.In c all program must contain main function.


In c++ all program must contain two classes- main class and sub class.





3.but both c and c++ contain constructors,destructors,constants,varia... etc.,
Reply:c is ok but around 75%


C++ is probably more like b- which is kinda like an 82%





who cares both suck


I get a's
Reply:In the syntax, they exactly the same. But in the the structure, C is not 100% OOD but C++ is

innia

I cant get a c&c cage for my new guinea pig that i am getting!?

i dont have time.he will be gone bye tomrrow if i dont get him now!the people at the pet store let up put evrything that we would ned in one and it all fits and he will have pelnty of room.i want my piggy to be happy but everyone has to under stand i can not get a c%26amp;c cage or any type of fancy cage because i want this one piggie and i am cryin now because everyone makes me feel like i am doing thr wrong thing.this cage is huge and everything he will need will fit.we tryed is out.so i ask again wll this cage be good.


http://www.petco.com/product/13394/March...


it all fits i just need to know if he will be happy but dont judge it bout the size that it looks online cause it is huge in stores.i am alreayd in tears so please i no he will be perfect in it i just need to make sure i read the reviews and they are great for guinea pigs and in a book i have on piggies it recommends this cage.tyvm

I cant get a c%26amp;c cage for my new guinea pig that i am getting!?
get that cage. its fine, my cousins put their guinea pig in one of those and its perfectly happy. eventually you might be able to get one of those c%26amp;c cages!


good luck
Reply:I have that cage for my male guinea pig and he has plenty of room Report It

Reply:That cage will be alright for 1 guinea pig, but guinea pigs are herd animals. I recommend you try looking on www.petfinder.com for more piggies.





For C%26amp;C's:


www.cavycages.com





For care:


www.guinealynx.info Report It

Reply:Okay, calm down. No need for tears. I don't think anyone is trying to make you "feel bad". You asked for advice %26amp; you are getting it. Sometimes the advice we get may not be what we want to hear. This has happened to me more times than I can count. So LISTEN to the advice you're getting %26amp; don't take it personally. The people telling you to build a C%26amp;C cage are concerned for the health and well being of your pig %26amp; not trying to "hurt" your feelings.





I'm not judging the cage by the picture. I gave you the actual dimensions from the website. The 1st cage is 32"x20", which is 4.46 square feet. The 2nd cage is 39"x21", which is 5.69 square feet. Both are too small.





Lets think about this. The reviews you read are written by the manufacturer of the cage, right? Of course they're going to tell you how great they are for guinea pigs! They want you to buy their product! The pet store employees will tell you ANYTHING they think will make you buy stuff from their store! Thats their job. So what I'm saying is, stop being naive.





If you must have THAT piggie, fine. I realize that you feel time is of the essence or you'll miss getting the pig. So, you can go to WalMart %26amp; get a storage tub for $5 and use this for a temporary cage. It would serve your pig better to put him in a storage tub from Walmart for a day or two %26amp; build him a proper cage, than to waste your money buying a cage thats too small. If you're just worried that you won't know how to build one, relax. They are very simple to put together. I'm sure your mom or a friend would help you.





Don't cry. Its time to be a big girl. Just really THINK about what I'm telling you. Only you can decide what's best for your pig. I'm just giving you my advice based upon a lot of experience.





Wishing you %26amp; your piggie the best.
Reply:the pet store people know what they are talking about. that looks like the cage at my neighbors, and it has plenty of room. it is BETTER to have a big cage but i think that cage is fine. the pet store people wouldnt help you if they didnt know what they were talking about! \





good luck!
Reply:That cage is not big enough.. bottom line. You want your pig to be happy? Then you need an appropriate cage. If you have to get that cage for a TEMPORARY cage until you get the C%26amp;C cage built, that would be fine. Temporary meaning a few days at the most.








*Pet store employees most often do not know what they are talking about. It is their job to sell the store's products. If petstores knew what they were doing, they wouldn't sell sick and dying pets.
Reply:Listen to Justified. We are only giving you advice and that advice may not be what you want to hear but it is the truth. You can use that cage as a temporary cage, you can use the tub (like Justified suggested) or you can get a play pen. If possible go to a baby store and check out their play pens. I brought a play pen for floor time and the one I got you can buy extra sections to make it bigger. It costs more than a C%26amp;C cage but it is just as good.





Really a C%26amp;C cage is the best cage that you can get, many pet store cages are too small and the reviews you are reading are from the manufacturors. They want you to buy their product so of course they are going to say that it is good.





I had to pay $170 so that I could get a big enough cage for my girls but I am happy for that choice I made.





Good Luck!!
Reply:Like the others said above ~ Any way you look at it (unless it's very temporarily) the cage is just too small. (Definitey by no means is it "huge"!)





You say you want your piggy to be happy ~ if you really love him then you won't subject him to living in this cage. You may be able to "fit everything he will need," but he also needs much more space than this cage will provide. And yes, with everything you now know from talking to other guinea pig owners on here, doing this will be the wrong thing. Sometimes doing what's right is really hard.





This cage will be like him living in a toilet, basically. You need to know if he will be happy? The answer is "not likely."


Believe it or not guinea pigs will run full out sprints in their cage ~ if they have space! They need this for their health, too.





As hard as it may be, you may need to pass this little guy up, so he'll have a chance at a better living arrangement. Also, have you looked into animal rescues or shelters close to you? You can even look in your local newspaper or on craigslist.org to find a pigger who needs a new home. In doing this you will help to not support the abuse animals suffer in pet stores.





By the way ~ a c %26amp; c cage does not mean "fancy." It's cheaper for you, better for the pigger.





I wish one of us lived close to you ~ we'd help you out!


What are the F.C.C's Seven Forbidden Words, and where can I read more about them?

I went to the F.C.C's website (www.FCC.gov) and searched their site for them, but never recieved any answers remotely similar to what I was looking for. Any answers would be appreciated!

What are the F.C.C's Seven Forbidden Words, and where can I read more about them?
"The original seven words were, s h it , piss, f u c k, c u n t, **********, ************, and t i t s." (Spaces inserted to override Yahoo!'s asterisk plugger.) Read George Carlin's famous routine at http://www.law.umkc.edu/faculty/projects...
Reply:Then you should be aware that this is somewhat apocryphal. There is reportedly no such actual ruling., though the FCC does block obscenity somewhat. The seven forbidden words is, I gather, an invention of George Carlin. Report It

Reply:Go to the site below, search the page for "The original seven words were" and you will find the original listing.
Reply:Along with the other websites previously offered, George Carlin has his own, and with a bit of seraching you can get his original monolog. Also, he said it on Pacifica Radio, and they had a lot to say about the FCC coming down on them. Check their website also.


Now what's a nice girl like you doing, looking for all this dirty talk?
Reply:Do a search for Geoege Carlin %26amp; his 7 dirty words bit. He explains it well
Reply:The seven words are not listed anywhere -- because the phrase doesn't come from a list that the FCC has -- it comes from a comedy routine by George Carlin in the early 1970s.





I saw him perform in 1973. He did the routine at my college. The seven words that George Carlin claimed couldn't be said on TV are listed at the link below.





Note that this was the early 1970s. I've heard at least three of those words on broadcast television since then (s.h.i.t, t.i.t.s and piss).


Write a program in c/c++ to print a new no. by adding one to each of its digit.?

.if a five digit no. is input through the keyboard .write a program in c/c++ to print a new no. by adding one to each of its digit.e.g. 12391 then output must be 23402.

Write a program in c/c++ to print a new no. by adding one to each of its digit.?
You MIGHT think the answer is as simple as adding 11111 to the number, but that would be incorrect, since 12391 + 11111 = 23502 (not 23402)...





Thus, we need to account for the "9" which (according to the specification) must yield a "0" result and not a "10" (i.e. "carry")...





So...


the code fragment for this would look something like this...





int i, digits[5], input=12391;


/* Extract the digits and add 1 to each %26amp; get single digit answer*/





for (i=4; i%26gt;=0; i--) {


digits[i] = (input%10 + 1) %10;


input/=10;


}





/* print the digits in order */


for (i=0; i%26lt;5; i++)


putchar (digits[i] + '0');





}
Reply:Since there are only 10 digits, easiest way is to create an array of that maps number 0 to 9, to its new value, then iterate through input and get the output from the defined mapping array.


Prove that a^4 + b^4 + c^4 is greater or equal to (a^2)(b)(c) + (b^2)(a)(c) + (c^2)(a)(b)?

Prove that the above inequality holds for all real numbers a, b and c?

Prove that a^4 + b^4 + c^4 is greater or equal to (a^2)(b)(c) + (b^2)(a)(c) + (c^2)(a)(b)?
the way to start it is by trying (a + b + c)^4 is greater than or equal to 0


and then by expanding
Reply:its greater than all of them isn't it??
Reply:Im so dropping out of maths!

gerbera

Which is the easiest, C+, C++, or java?

I have no interest in computer programming, and I have never done computer programming before. But I am required to take a computer programming course, so, I want to know which is the easiest, C+, C++, or Java? Also, I don't want to spend a whole lot of time on homework for one of this courses. Please tell me why it's easier too.

Which is the easiest, C+, C++, or java?
Java is the easiest. out of those three. You don't have to worry about memory management or pointers etc.





In Java you also have a richer library to work with out of the box. In easy-speak it means, they've programmed all the hard stuff for you, you just have to figure out how to put it together.
Reply:I have done a lot of programming before and have experience with c/c++ and Java. They are all have pretty much the same structure but however there are few differences that make all the programming languages different. Those for example are if they are "low" or "high" level. C/C++ are pretty much the same (C++ is an "updated" version of C) and they are both low level. Low level usually means they are harder to work with for various of reasons such as the "commands" you use aren't that human related. Java is kind of easier to understand but is not that powerful as c++ can be. If you want to be serious about programming take c or c++ but if not go with Java.
Reply:There is no (popular, well-known) language called C+, it's C.





I'm pretty sure C is the easiest: it's a language from the late 60's, early 70's that is still in use. It has been expanded upon and that language was called C++ (the plus-plus part means: increase the value of C by one). And Java is a language that, AFAIK, was made to look like C++ to make it easier for C++ programmers to switch to Java.





I love programming myself, but I can understand why you don't want to take a course in it. It's pretty ridiculous if it has little to do with the area in which you'll be working. I'd hate to be forced to take a plumbing or wood shop class, myself!


I want a mod that can enable skirmish C&C Renegade?

You know like something to put an extra selection on the main menu saying skirmish game and that I will be able to choose maps teams and stuff like that. If not a website that will teach me to make mods for C%26amp;C renegade and other C%26amp;C games. Or a place where there are single player mods to get new weapons, vehicles, units, buildings.


Please no Bull Crap. I'm really need to know where to get these.

I want a mod that can enable skirmish C%26amp;C Renegade?
Well thats easy, the INTERNET! No but really, I would suggest fan sites, web searching.


Can you tell me something related to programming in c++ ?

// Program to input a number and check if it is a Magic Number


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


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


main()


{ clrscr();


int num,num1,i,j,k,flag=0,n,sum=0,c=0;


cout%26lt;%26lt;"enter any no.";


cin%26gt;%26gt;num;


num1=num;


while(flag==0)


{


while(num!=0)


{ n=num%10;


sum=sum+n;


num=num/10;


c=c+1; }


if (c==1)


{


if (sum==1) cout%26lt;%26lt;num1%26lt;%26lt;" is a magic number";


else


cout%26lt;%26lt;num1%26lt;%26lt;" is not a magic number";


flag=1;}


num=sum;


sum=0;


c=0;


}


getch(); }


hi! this is a sample program of c++, there are no errors in it.


what i don't understand in this is MAGIC NUMBERS. WHAT ACTUALLY IS THIS MAGIC NUMBER?

Can you tell me something related to programming in c++ ?
What exactly are you trying to do? Is this program for a class? If so, then provide the specifications for the assignment. Beyond that, the only magic number is 1.





n = num % 10





returns the remainder of num divided by 10, so anything other than a number that ends in 1 will fail the conditional statement





if(sum==1) ...





Also, any number equal to or higher than 10 will cause the WHILE loop to cycle through two or more times. This causes C to equal 2 or higher, depending on the number of cycles. This causes another conditional statement to fail too.





if(c==1)





If this program is supposed to work some other way, as mentioned I'll need specifications before I can help you any further.
Reply:Here is the definition of the MAGIC NUMBER:


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

rosemary

How we write a C/C++ program which creates a Structure named Employee. our program should ask the user about t

How we write a C/C++ program which creates a Structure named Employee. Your program should ask the user about the number of Employee Records he/she want to enter. After taking input from the user our program should dynamically allocate the memory for the number of Employee Records entered.





Our Program should fulfill the following criteria





•Save each Employee record in a file.




















Our Structure of Employee Record should have the following attributes.





1: Employee ID.


2: Employee Name.


3: Pay.





In your code you should use


•File handling mechanism,


oOpen/create a file.


oWrite/append data to the opened file.


oRead Records from the file.


oClose the file.











The following menu of commands should be displayed at the start of our program execution.





Press 'A' or ‘a’ to Add Records





Press 'D' or ‘d’ to Display All Records





Press 'Q' or ‘q’ to Quit





Please enter your choice:a














For example, if the user presses ‘A’ or ‘a’ then our output should be similar to:





Enter the number of Records you want to enter : 2





Enter Employee ID# 123


Enter Employee Name Ali


Enter Pay 6000








Enter Employee ID# 345


Enter Employee Name Ahmed


Enter Pay 7000








if the user presses ‘D’ or ‘d’ then ouroutput should be similar to:





Employee ID# 123


Employee Name Ali


Pay 6000








Employee ID# 345


Employee Name Ahmed


Pay 7000

How we write a C/C++ program which creates a Structure named Employee. our program should ask the user about t
I had this exact same assignment.





const short kMaxNameSize = 20;





struct Employee


{


char name[ kMaxNameSize ];


long id;


float salary;


};





That creates a structure named employee. I'll just mention though you will get a great deal more self-satisfaction if you work something out on your own without getting other people to do all of the work for you.
Reply:Please post the code you have written so far so we can help you with it.





If we just do your homework for you and you hand it in and get caught you'll be in deep trouble. If we help you with your work, but it's still your work, then you'll be Ok and we don't want to get you in trouble.





///


Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8

how can i apply it, i mean i cant apply it to make a game, a database, a keylogger, etc. I have no reference and i think im stuck to basic programming.i usually rely to online tutorials but i cant find advance and intermediate topics. I and started to learn Visual c++ but i really dont know how to make a game? where should i start? Does everyone experience this kind of transition from basic to intermediate? thanks a lot..... Ryuuzakiii -aspiring programmer-(-,-)

Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8
To practice swimming, you shouldn't jump right away into the ocean, pal! Try practice in small pools first.





Your first problem is your "view". It is like you know what a riffle is good for, and you know the concept of firing a gun, but in practice, it looks like a normal stick or baton to you.





First try to write short pieces of programs. Oblige yourself to forget the conventional way of programming, and try hard to find the classes and objects related to your short problem. Do it over and over until you feel you cannot do without them. Then the great ideas would come to you by themselves!





Good luck
Reply:want some resources for game programming i have few articles and source code but only in c language i you want it then mail me with subject as "c game" to


firozahmed143@rediffmail.com
Reply:I've been programming for a few years, and I'll tell you right now -- starting a game is a bit more advanced than the beginner/intermediate border.





I'd love to help with whatever your problem may be, but I think you've had some trouble posting it -- I can't exactly say I know what it means to "apply 8". Sorry.


Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8

how can i apply it, i mean i cant apply it to make a game, a database, a keylogger, etc. I have no reference and i think im stuck to basic programming.i usually rely to online tutorials but i cant find advance and intermediate topics. I and started to learn Visual c++ but i really dont know how to make a game? where should i start? Does everyone experience this kind of transition from basic to intermediate? thanks a lot..... Ryuuzakiii -aspiring programmer-(-,-)

Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8
here is a link where you will find C++ and visual C++ game programming resources which includes free tutorials, e-books, on-line training and many other resources.


And don't worry everyone experiences difficulties in starting.





Just follow the link and enjoy :


http://www.deitel.com/ResourceCenters/Pr...


To all fans of C&C 3 Tiberium wars...?

...can you recommend any other good RTS game which is not in the C%26amp;C series

To all fans of C%26amp;C 3 Tiberium wars...?
If you dont mind old school graphics - Total Annihilation





Newer graphics - Supreme Commander

wallflower

Where can i find C&C materials?

i need to build enough to meet the standards on this website:





http://www.guineapigcages.com/index.htm











i found something on ebay but it seems too expensive! am i crazy? or is this how much it will cost if i buy it all myself in the store?





http://cgi.ebay.com/C-C-2x4-GRID-NEW-CUB...

Where can i find C%26amp;C materials?
C%26amp;C cages are something I would encourage all Guinea pig owners to have. They are basically HUGE cages made of cloroplast (used to make signs) and cubes (used to make shelves). These cages make your Guinea pig pretty active, very healthy, and as happy as can be! You can also create them all to fit the space you have and give your guinea pigs the space they need. I would Look on E-bay for them thats where I looked for my Guinea pigs cage. They are Expensive but most bigger cages are and I spent ALOT on mine for my Pig and my Ferret. Nothing is cheap when having a caged animal. I mean I would say E-bay but I would buy one NOT in the UK I mean if your from the US only get them there b/c shipping is VERY expensive when so far. Already cages are expensive on E-bay when I looked for cages they were. I mean the cages werent that expensive it was the SHIPPING! I would look in stores but your really not going to find a Cheap one. If you have myspace or anything like that there is a thing where you can go and they always have animal stuff for sale or sometimes for free. Its pretty neat you post what you need and what your wanting to spend and the people Msg you thru there. That is one way I did when I was looking for a Ferret/Cage.





Also if you do get one they are suprisingly simple to clean. The best method I have found is to scoop the bedding and newspaper out of the cage and dump it out into a trash can. It usually only took me about 20minutes to do a complete cage cleaning. Once in a while you will need to get a spray bottle and fill it halfway with water and halfway with vinegar the vinegar gets the fleas out and germs it helps alot i give my pets vinegars baths sometimes. You then have to spray the bottom of the cage and wipe with paper towels or whatever you would use.. Good luck. I really think you should get a C%26amp;C cage they make you GP more happier and it gives them more room.
Reply:Where do you live? I have lots of spare materials (I'm in UK). If you are in the UK try Robert May, Kleeneze, B%26amp;Q or Argos (limited stock as they are stopping selling grids).





The materials are much cheaper than a ready-built cage. A store cage costs about £30, wheras these cages cost about £20 (AND they are bigger).
Reply:Aw .. how excellent! My cage is gold, I hope your piggies enjoy it. I had a hard time finding materials also, look in your phonebook under sign shops or sign design and call the places because some won't have coroplast. It should cost somewhere around $20. The cubes can be found at Target, Bed Bath %26amp; Beyond, or a super store like those. Make sure that you take into account their size. Mine were 14.5 inches, and it messed up my whole design. Thankfully I was able to just put the grids inside the box, but it could've been bad. Good Luck on the project!
Reply:I have a two-story C%26amp;C cage for my two guinea pigs and let me first say that they LOVE it and you'll have so much fun watching the guinea pigs play in it. The cage that I made is about 2 1/2 by 2 1/2 feet on each level and is two levels high. The coroplast, two boxes of cubes, materials for a ramp, and some PVC pipe toys ending up costing about $50.00. Buying two boxes of cubes left me with plenty left over. I bought the cubes at Target where they often go on sell and I found them in the area with plastic storage boxes and shelving. The coroplast can be found at many small stores that sell and make signs. I looked up several of them in the phonebook, called around, and ended up at a home-based sign making shop that sold it for cheap in a variety of colors. Good Luck and Have Fun!


Johan Santana for C.C. Sabathia?

Should i trade Johan for C.C. Sabathia?

Johan Santana for C.C. Sabathia?
Are you seriously asking that question. Holy!!!!! That would be a crazy move on anyones part!!!!
Reply:Are you serious. Are you freaking serious? No you shouldn't trade Santana for Sabathia. You shouldn't have asked that question. And probably should never be allowed to play again. Ask me in ten years when Santana is 40
Reply:It all depends on your team situation! Straight up the answer is a NO, unless you have a roster full of superstars(pitching) you have to keep him. Now if your team is weak then trade him but ask for more, add some offensive players!
Reply:wow are you serious santana a first rounder for cc not even top 5 rd
Reply:Are you kidding me? You should be banned from fantasy sports.
Reply:u must be drinking the wrong stuff man...why would u wanna give up santana...he gives u Ks and Wins.
Reply:r u a retard?


Home Tutor for C C++ CP1 CP2 (CPI CPII) Data Structure DBMS B Tech Computer Mumbai?

Hi Everybody,





I am desperately looking for somebody who can teach Cp1 and CP2 (CPI CPII C and C++) at home. (Mumbai) Also I need help in Data Structures and DBMS.


Thanks in advance.

Home Tutor for C C++ CP1 CP2 (CPI CPII) Data Structure DBMS B Tech Computer Mumbai?
You may post your requirements at websites like http://www.indianfreelancer.net/ , http://homeworkhelp.co.in/ ,etc .
Reply:I know one person. His name is Mr. Binu Julius. You can contact him on 9892624631 or at binujulius@gmail.com.





He is an MCA graduate having many years of experince in teaching and software development.


Write C/C++ program whre input will an integer N ≤ 100000 and output M ≥ N such that M is a Palindrome Prime.

An integer is said to be a palindrome if it is equal to its reverse. For example, 79197 and 324423 are palindromes.





Write the Algorithm or C program whre input will an integer N, 1 ≤ N ≤ 1000000 and output should be the smallest integer M ≥ N such that M is a prime number and M is a palindrome.


For example, if N is 31 then the answer is 101.

Write C/C++ program whre input will an integer N ≤ 100000 and output M ≥ N such that M is a Palindrome Prime.
i forget the proper c++ syntax, but i will help you with the algorithm





since primes occur less frequently than palindromic numbers, we will test for that property first, to make the program run faster and more efficiently:





to find a prime, start at 2 and try dividing by each integer that is less than itself but greater than one. so,





bool ispossiblyprime=true, isapalindrome=false;


int maybe, N, M, test, leftdigit, rightdigit, numdigits, i;


float prime, bigdivider, smalldivider;





cout%26lt;%26lt;"enter a value between 2 and 100000: ";


cin%26gt;%26gt;N;





maybe=N;





while(isapalindrome==false)


{


maybe--;


//had to do this bc i had to put


//the ++ operation in the beginning of the prime loop


//otherwise it would ruin the answer of the prime loop





while(ispossiblyprime==true)


{


maybe++;


test=2;


while(test%26lt;maybe)


{


if(maybe%test==0)


then


{


ispossiblyprime=false;


break;


}


else


{


test++;


}


} //


} //end of prime loop


prime=maybe; //the maybe that comes out is def prime


numdigits=1+int(log(prime));


i=1;


while(i%26lt;int(numdigits/2.0)) //accounts for the middle number problem


{


bigdivider= pow(10,(numdigits-i));


smalldivider=pow(10,i);


leftdigit= int(prime/divider);


rightdigit= ((10*prime)/smalldivider)- (10*int(prime/smalldivider));


if(leftdigit!=rightdigit)


then


{


isapalindrome=false


maybe++;


break;


}


else


{


i++;


isapalindrome=true;


}


}


}


M=prime;


cout%26lt;%26lt;"\nThe smallest palindromic prime greater ";


cout%26lt;%26lt;"than or equal to "%26lt;%26lt;N%26lt;%26lt;" is "%26lt;%26lt;M%26lt;%26lt;".\n";





wow most of it came back to me


hope this helps





ps i worked on this for 2 hours!!!! (still, i did it for fun BUT)


PLEASE give me the 10 pts lol
Reply:set M = N


Loop:


Is M palindrome? If YES, check for prime ELSE increment M and loop





Prime: If Prime exit with value ELSE return to loop (where increment happens)

hollyhock

Software Testing or C/C++/Java Programming?

I m 24 %26amp; a Engineering Graduate, looking for a career change to software, after 4 yrs in industry. I was suggested my friend to take up software testing so that i could get the job easily. But i m interested in programming, i know c %26amp; c++, Planning to learn JAVA,J2ME, so that i could join software company in 5 months time, but people say i m too ambitious to achieve that goal. So guys please suggest is my goals are just dreams and not reality, what should i do to enter software company at the earliest with decent salary package,

Software Testing or C/C++/Java Programming?
im a software tester at the moment, earning about 10 grand a year (but i am 18 so pay is low). the older testers with more experience got paid about 30 grand a year - which is good. i think you can earn a decent salary as a tester and testing is a growing industry, meaning more jobs should be opening up (although some companies are reluctant to employ testers at the moment.) seeing as you have no experience in computing, testing would be a good way of getting into the industry i think. lots of people i work with dont have a computing degree so youll be fine with regards to that. why not apply to do a programming job? it depends largely on the culture of the company - whether theyre happy to employ some one without much experience if they interview well etc. i would say that testing is REALLY BORING! so unless youve done it and like it stay away.. its very repetitive. the software engineers hate it when they have to do any testing. apply for some software jobs and see what happens - if you dont get one hopefully you should at least get some useful advice. knowing C++ is obviously a big advantage. java, pearl and python are also popular in my company. some of the engineers have learnt these languages on the job. if you cant get a software engineering job, then look into testing. good luck
Reply:I too am a programmer (24) and my primary job is testing. I recommend learning unit testing as it combines testing software with programming, and is a hot skill to have. You'll probably make $30 - $40 grand to start. Eventually they'll let you move up and do more programming, but all the beginning programmers are going to get low level work, it's just the way it is.
Reply:Go for your dreams now, otherwise they will become regrets. Java is Open Source now, so easy to get access to for learning. Get on a Linux box or add Linux to that one and start learning again.


Do not get Micro Linux. That is moving backwards. Get an Open Source project that is supported, like Ubuntu Linux. The way it looks, Microsoft owns 10% of Apple and is now buying into Linux and made a move on SAP this week, so learn while you still allowed or permitted to.
Reply:Learn to program. Then even if you get started with a job in testing, you'll have the options to expand. While testers might eventually earn $40k/year, developers can double that with a bit of experience.





Don't worry about J2ME at all to start with. Once you learn the standard stuff, moving to ME is easy. Also, take your C++ experience and add both Java and C#.NET to. The more versitile you are, the more valuable.
Reply:If you know C and C++, why on earth would you want to learn Java? You can get much better work programming in C++, and produce software of a much higher quality...


Lagranges interpolation method (c/c++ program)?

Write a computer program (in C or C++) that computes langrage interpolation polynomials for the function f(x) = Cos(x) at 10 equally spaced pionts of the interval [0,2].

Lagranges interpolation method (c/c++ program)?
See this site for details of lagrange polynomials, then the program shouldn't be hard to write:





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


As the F.C.C. decides who owns our airways, what would you tell the commision?

The F.C.C. is taking public comments, until Tuesday. Two critical issues are media control and net neutrality.


Stop Big Media


http://stopbigmedia.com/





"Net neutrality means no discrimination. What it amounts to is a fight over what the future of the Internet is going to look like.", Craig Aaron of the group "Save the Internet".


http://www.savetheinternet.com/

As the F.C.C. decides who owns our airways, what would you tell the commision?
I'd tell them to reinstate the restrictions they've stripped away the last few years.





But, quite honestly, its not going to do any good--the current FCC people are controlled by the media supercorporations. They will take any and all public comments and trash them, then implement whatever deal they've made this time.





It'll be at least until after the 2008 election before we'll have a real chance to do something about this.
Reply:I'm basically for freedom of expression.


Please help! Aluminum metal melts at 660 C and boils at 2450 C. Its density is 2.70 grams/cc. Calculate...?

the following:


A. Assuming an ideal gas, the volume occupied by 20.0 kilograms of aluminum vapor at its boiling point and under a pressure of 2280 torr.


B. The volume occupied by 1000. kilograms of metal at 25 C.


C. If the specific heat capacity of aluminum metal is 0.89 Joules per grams-degree C, how many calories of energy are required to heat 10 kilomoles of aluminum from 250 C to 500C.


D. If 13.5 grams of aluminum were dissolved in an excess of concentrated HCI, what volume of hydrogen gas would be released at STP? You may assume that the ideal gas law holds and that the vapor pressure of water is negligible compared to the pressure of the released hydrogen.

Please help! Aluminum metal melts at 660 C and boils at 2450 C. Its density is 2.70 grams/cc. Calculate...?
Use the gas laws.

cabbage