Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Neяdу
C++: How do I know the difference between the( & ) and( * ) operators?
What is the difference between these two:
int & n2 = n;
int *n3 = & n;
and these two:
int * q = p;
int n = *p;
1 AnswerProgramming & Design8 years agoC++ beginner : How do I use Ascii table to count letters ?
The question :
Write a program that will initialize an array of charters to “do be do bo”. The program will call function Statistics() to output a list of all letters that occurred in the array together with the number of times each letter occurs in the array.
The output should look similar to:
The array is: do be do bo
Letter Number of occurrence
d 2
o 3
b 2
e 1
Letter ‘o’ has occurred the most.
The function prototype is:
void Statistics (char a []);
My program:
#include <iostream>
#include<iomanip>
using namespace std;
void Statistics (char a []);
int main()
{
char d[]="do be do bo";
Statistics(d);
return 0;
}
void Statistics (char d [])
{
int freq[26] ={0};
int i=0;
while ( d[i]!='\0')
{
if (d[i]==' ')
{
i++;
continue;
}
else
(freq(d[i]-97))++; //ERROR ONE called object type int is not a function
i++;
}
for (int j=0; j<26; j++)
{
cout<<setw(10)<<"Letter"<<setw(20)
<<"Number Of Ocurance\n";
cout<<setw(10)<<d[j]<<setw(20)<<
freq(d[i]-97); // ERROR TWO called object type int is not a function
}
}
How do I convert the charecter to an integer?
6 AnswersProgramming & Design8 years agoAutoCAD help: I'm drawing a line but i cannot see it.?
I'm using autocad 2011 on a mac.
3 AnswersSoftware9 years agoHow to i set up drawing limits (A4) in autocad 2011 with a rectangular border ?
I'm using a mac, and i know how to set the drawing limits to 0,0 210,297 , but whenever i want to draw a rectangle it just does not appear on the screen, the screen is all black, i did zoom all, but nothing appears.
And tell me which template to use, in college they use (Start from scratch), but they use an older version i think. I need the equivalent of that.
3 AnswersDrawing & Illustration9 years agoWhat is the best workout routine to tone my body? (not for weight loss)?
I am 162 cm tall and i weigh 50 Kilo grams, I only want to have a less "wiggle" in my butt and thighs (tighten my body), what workout routine should i follow ? and is it better to workout before or after i eat? I'm clueless about this since i have never worked out in my life, by my own will i mean :)
35 AnswersDiet & Fitness9 years agoHow can i play PSX games on my MacBook Pro ?
I downloaded PSX games with a ".7z" extension, and i want to able to play them on my macbook using an emulator(i googled it but didn't get it), how does that work ??
2 AnswersVideo & Online Games9 years agoPhysics 2: A long horizontal wire carries 30.0 A of current due north.?
What is the net magnetic field 23.0 due west of the wire if the Earth's field there points downward, 44 below the horizontal, and has magnitude ?
And what is Theta ??
If u can show me calculations that would be appreciated :)
1 AnswerPhysics9 years agoHow do i draw the lewis structure for BrO3?
how do i determine how many atoms are on the Br atom ??
Chemistry9 years agowhat is the best field of engineering for me?
I really liked physics 1, and i'm pretty good at all the other science subjects except for physics 2,
I'm applying for civil engineering, but i have to have a second choice (backup), my options are:
Computer
Electrical
Chemical
Petroleum
Industrial
Mechanical
4 AnswersEngineering9 years agoThe formal charge on the bromine atom in BrO3- drawn with three single bonds?
i can't draw the lewis structure of it, how do i determine how many free atoms are on Br ??
1 AnswerChemistry9 years agoThe charge on the monatomic ion that sodium forms in its compounds is?
Please include details :)
1 AnswerChemistry9 years agoWhat's the best eye primer to use with coastal scents 88 shimmer pallette?
3 AnswersMakeup1 decade agohow can i make a ponytail with naturally wavy hair and a lot of fly aways to look neat/sophisticated?
my hair is four inches under my shoulder and without layers, yet my regular ponytail wont stay in place.. any tips are appreciated ;)
4 AnswersHair1 decade agoHouse season 7 premiere: when will it air chicago time? not the date.. i want the exact time..?
im not from the us i just need to convert and im not getting the whole central central and eastern, ill do the math from chicago thanks....
thank you.
1 AnswerDrama1 decade agowhen will white collar season 2 episode 10 air?
a guy killed mozi.. and i wait a week and no episode to download !!!!!!!
6 AnswersDrama1 decade agowhat do i lose if i get a canon 430ex speedlite instead of a 580ex ii?
i need 3 flashes, what should i choose?
i wanna use them as a studio flashes, for portraiture, and for some indoor sports, and i have an eos 7d so i dont have to worry about the 580ex controlling the other 430's, i can just control them all in camera..
1 AnswerCameras1 decade agoWhat's the best speedlight for a begginer photographer?
and how do you know the difference between speedlights? what should i look for ? i want one that supports my Canon 7D's built in wireless flash
6 AnswersPhotography1 decade agoShould i get a 50mm f1.4 prime lens or a 70-200mm zoom macro lens for a canon 7d?
i know both are different but this is my first dslr and really like the f1.4 but the zoom lens is pretty impressive, my question is what are the good and bad sides to each lens?
4 AnswersPhotography1 decade agoHow to add this* effect in photoshop??? (*My Name Is Khan Movie Poster)?
http://www.magnamags.com/images/stories//sdnov2009...
I want to be able to add a black and white imge nad make the white parts transparent like the image above.. i tried setting blending modes to darken/lighten or whatever.. but the grey tones of the skin would blick the american flag..
1 AnswerSoftware1 decade agoWhat is the best strobe (or any other really strong light source) to use for light painting?
i want an affordable reaaaallly strong light source for light painting.
5 AnswersPhotography1 decade ago