TRENDING NEWS

POPULAR NEWS

I Need Pointers And Ideas Help

Why are pointers used in C/C++?

Summarilly pointers are the only actual abstraction showing access to underlying memory and you need them for any kind of controled memory allocation. If you remove them from the language (as it was done in other languages), you are losing something that can't be replaced.Going to details, most pointer uses can be replaced by references, but there is still a visible few cases where references can't replace them. void pointers is such a case. There is some functions expecting the address of something where something is untyped (like memcpy). Accessing hardware from addresses is another such case.Heap memory allocation (through malloc or new) implies pointers (even if you can dereference return of new to assign to reference). To remove pointers we would have to change new to something else. References provides no tool for memory allocation. And there is even some cases where underlying implementation is horrible (like allocation of at least one byte fior every struct, including empty ones to ensure all references are at different addresses) Also a reference is unique henceforth you can't really change it and this ability is needed for many dynamic data structures. To change that you would have to change both new and delete to something else (for instance the Java way), but doing so you are losing control on the low level.What could probably be removed is equivalence between pointers and arrays. This is an ongoing process as there is more and more restrictions on the subject, like C++ forbidding to compute some intermediate address out of the array (except the next to last) even if you never dereference it. To my eyes a C++ without pointers should look very much like Java (if we ignore other differences like templates). If this is a good  evolution or not is another question. I would say if it evolves this way, C++ won't fit the "portable assembly" historic ecological niche of C language any more. Henceforth we would need another low-level object oriented language to replace it for that purpose.

Help!! I need some BJ pointers?

Sex In The AM

Medical studies show sex is best in the morning and it improves your health.
http://www.thesun.co.uk/sol/homepage/woman/article899012.ece

The end of the day is a bad time for fun. Your body is at its lowest levels of energy and oxygen. Your immune system has been in active mode for at least 12 hours, and the temporary storage capacity of your brain is getting full. This is why it's so important to get at least 8 hours of sleep, or 10 hours if under the age of 30 for males and 24 for females. That's when you reach full maturity.

At night, during that period of time between when you go to sleep and start dreaming, your brain's ability to absorb data is shut down and everything in temporary storage is transferred to permanent storage through the creation of chemical bonds, and synaptic connectors, as needed. While you are dreaming, the data is being categorized.

At night, your body washes out all the lactic acid that has built up in your muscles during the day, replacing it with oxygen.

At night, your immune system goes into limited standby mode to regenerate and repair injuries, such as sore and strained muscles.

At night, prior to the ages of full maturity, all growth and development takes place. Guys, this means that until age 30, if you are not getting the proper amount of sleep, you are not going to reach your full potential length with your tally whacker. That might be useful in the morning. And yes, that contributes to a guy’s woody.

When you wake up, provided you got a proper amount of sleep, your body and your brain are refreshed and ready for the day's activities, so why not start out with a little morning exercise before getting out of bed?

Are there any pointers to help me get out of the situation I am in?

Pointer?I think,you are asking for some way with the help of which you can get rid of some problems.Let me know,if I am wrong…Now,Come to the question.Firstly,you have to know about the problems that you are facing.Then,find some solution for that problem.If it's hard to get any solution then try to engage yourself which will help you to forget about the problem.All I want to say,try to get a solution of your problem or else try to forget that problem.I know it's not easy to forget such problems which are teasing you on daily basis.But,it's not impossible to forget that problem or get rid of it.Do things,which gives you happiness.Be with your good friends.If possible,travel for few days.Read books.I wish you to have a good and happy life.Cheers❤

How do I get a complete idea about pointers easily?

A pointer, points to stuff. Here, a pointer points to memory locations. All variables are stored in some part of the memory. The value of the object is stored in that part of the memory.int a = 1;
Here, at some place in the memory, the value 1 is stored. How do I get the location of that “place”?int* address_of_a = &a;
Now the int pointer(an int pointer is supposed points to ints) has the location of a. We can access it using:int value_of_a = *address_of_a;
In C and C++, pointers are used to dynamically allocate memory for a variable. That is, we “claim” chunks of the memory “on the go” for use.int* arr = new int[10];
The code above, for example, allocates enough memory for 10 integers. Hope I’ve helped you :)

I need help entertaining a class of 8th graders. How to make Persia fun to learn about.?

I would either do something with the Prince of Persia games (google it) or talk about King Xerxes and make some references or show some video clips from the movie "300". Would be cool is if you taught them the differences between what happened in the movie 300 and what actually happened back then and how Persia was involved. Just whatever you do, if you decide to go with the 300 lesson plan, draw a picture on the whiteboard of a stick figure kicking another stick figure into a bottomless pit.

GIRLS!!! Help. I need ideas of how to hide pads and tampons without a purse or backpack. Please help.?

Fyi. Im 13. And I have no idea how I can get my pads from my locker without some boy seeing me. Also I don t care if they say something but I don t like them to see. Y all girls know how it is. But please answer within the next week or so. I m on my period rn and I need help.
And the pad in pencil pouch. I just need some pointers.
Thanks

I need C programming help asap! (Problem #8)?

so you need to run a loop from i=0 to rowmax*colmax,
then for each entry run another loop to see how many consec you have starting from that location.
compare this number to your max total that you are keeping and reset the max if you have found a higher number

set *output2=max
and *output1=the address of the beginning, which you are also saving along with your max value.
this will be input1+(i*colmax+j)*4

How do you develop your business idea and what tools do you use?

You have a business idea - congratulations! I hope it will become something big and that these pointers will help make your idea a reality.1.Consider and analyze markets you’re going forFirst of all, consider the market niche that your business idea is applicable to. Here are some questions that might kick off the business development process:-What are the needs of your consumers/industry?-What problem is still unresolved by the industry?-Does your idea bring improvements to the industry?If you aren’t following the latest news/blogs/podcasts in your niche, this is the perfect time to start doing so.2.Note down your ideas and expand themThe above mentioned questions will surely produce many ideas. Don’t judge your ideas by labelling them as unfeasible. Get the creative process going.3.Carry out competitive analysisIt will allow you to predict how your potential business will stand up against your competitors. In short, this is done by:i) Modeling your businessii) Creating a mockup and testing itiii) Doing market research4. Develop your final product/serviceYou should know so much more about your product/service by now. In this phase you should focus on implementing the tweaks to create the final product.Business model canvas will help tremendously with your endeavor. Here’s an example of what it looks like:Be sure to check out this explainer video on business model canvas:Here’s a list of useful tools that will help you:-Sales IntelligenceUnomy - https://www.unomy.com/-Customer Relationship ManagementSalesForce https://www.salesforce.com/eu/?ir=1-Project ManagementSystemChime http://www.getchime.com/-Customer ServiceLive Chat https://www.livechatinc.com/-Online Business SoftwareDiscoverCloud https://www.discovercloud.com/-CommunicationProject Management for Slack http://partyline.rocks/Task managementAppTodoist https://en.todoist.comGood luck!If you found this answer useful, please give me an upvote - I’m a newbie on Quora and I would appreciate it :)

TRENDING NEWS