Sunday, August 2, 2009

Boolean Algebra: Simplify: A'BC'+AB'C'?

Simplify: A'BC'+AB'C'





I got this wrong on a test and I think my answer is right, so I would like to check it with you all.





In my expression, A' represents NOT A (for example).





I had C'(A'B+AB') = C'(A xor B)

Boolean Algebra: Simplify: A'BC'+AB'C'?
Your answer, C'(A xor B) looks right to me. What answer was given as the correct one for that question on your test?


What does B.C. and A.D. mean????

In the meaning of years we have A.D. and B.C. What does it mean?? example (700 B.C. and then 1300 A.D.)

What does B.C. and A.D. mean????
before christ and anno domini





many people thing AD means after death, but that's impossible because if you think about it, it would imply that christ only lived a year.
Reply:A.D. means "In the time of the Lord".





B.C. means "Before Chrsit."
Reply:Before Christ After death
Reply:B.C. means "Before Christ"


A.D. is latin meaning "Anno Domini" After death
Reply:Before Chrisrt and after death
Reply:B.C. is before Christ referring to the period before the Birth of the savior of the Christian faith Jesus Christ





A.D. is Anni Domini which means in the year of our Lord





A monk named Dionysus Exiguus invented the datingg system A.D. around the year 535 A.D. i am not sure were or when B.C. came from





However this datin method was first made popular by the Venerable Bede a Angelo Saxon monk
Reply:bc = before christ


ad = anno domini translates to after death roughly from latin
Reply:before christ and after death.
Reply:Before Christ





After Death
Reply:Most all of these are right...


AD = Anno Domini, or In The Year of our Lord


BC = Before Christ





One other tidbit you may or may not know is that the way we track BC time is backward. For instance the year 1 B.C. was one year before Christ was born. The year 100 B.C was 100 years before Chist was born. The bigger the number the further back you go.
Reply:B.C. means Before Christ. THat's the time period before Jesus Christ came to earth. A.D. means anno domini, which is the tiem period after the arrival of Jesus Christ. We now live in AD
Reply:B.C. =Before Christ A.D. = After death
Reply:b.c means before christ and a.d means anno domini
Reply:BC means Before Christ.


AD Means After Christ's Birth (Anno Domini).





Interestingly, most people think AD means After Death, which would leave us a 33 year gap in recorded time while Christ was alive.
Reply:BC is before Christ and ad is after death i know its true because 3 scientist told me!
Reply:bc meand before christ. does this help
Reply:befroe christ and after death(of christ)
Reply:BC=Before Christ





AD=Anno Domini (Latin for "In the year of our Lord")





Many historians have also begun using BCE (Before the Common Era) instead of BC.
Reply:B.C. = Before Christ. Nowadays they more commonly use B.C.E. which is Before the Christian Era (so as not to imply belief in Christ themselves, which could offend someone.)


A.D. = Anno Domini, which is Latin for "year of our lord"
Reply:before christ after death
Reply:b.c. - before christ and a.d.- is something in latin
Reply:B.C. means Before Christ Died! A.D. means After Christ Died!
Reply:Very simply, Before Christ and After the Death of Christ.
Reply:before Christ (life)and after death (of Christ)
Reply:B.C. - Be fore Christ A.D.- Anno Domini- In the year of our Lord( so after Christ's birth) A. D. Does NOT mean after death!
Reply:Before Christ and Anno Domini


BC succeds the number, but AD precedes it. AD1600, or 30,000 BC.
Reply:AD = Anno Domini, or In The Year of our Lord





BC = Before Christ
Reply:B.C. stands for the years that came before Christ.


A.D. stands for anno domini, which translates to "in the year of our Lord" and stands for the years after Christ.


C.E. is used in non-Christian countries and religions to signify the same time span as A.D. and means common era.


B.C.E. means before the common era.
Reply:Reference Jackson who gave an answer; he or she is correct in their reply.
Reply:Before Christ and After Death.
Reply:Before Christ and Anno Domini (in the year of our lord). Anno Domini does NOT mean after death.





"Anno Domini(Latin: "In the Year of the Lord"), abbreviated as AD or A.D., defines an epoch based on the traditionally-reckoned year of the birth of Jesus of Nazareth. Similarly, Before Christ, (From Ancient Greek "Christos" or Saviour) abbreviated as BC or B.C., is used in the English language to denote years before the start of this epoch." wikipedia.org





AD DOES NOT MEAN AFTER DEATH!!!!!!!!!!


What does the 'c.s.a' stand for in movie credits?

Under casted by, it would say for example:


Marrion Smith c.s.a.





What is that c.s.a??!!

What does the 'c.s.a' stand for in movie credits?
Casting Society of America
Reply:Connecticut Songwriters Association, which sucks.

hibiscus

C++ .find function?

I really need an example of an C++.find function.

C++ .find function?
wud u plz clear ur question
Reply:The others are correct. What is it you are trying to find?


I am going to guess.





boolean find(char x, char [] array)


{


For (int i=0; i %26lt; array.length, i++)


if (array[i]==x)


return true;//stops loop





return false;//if loop doesnt find x


}





You can return a true you found something or the something you wanted to find. usually position in life is everything, so you would return where it is. Knowing where it is, you can anything to it.
Reply:to find something, press Control %26amp; F.





for others, open microsoft word, and go to Edit- it usually shows a couple.
Reply:i asked the same question but here is my understanding on it:


#include %26lt;iostream%26gt;


#include %26lt;string%26gt;





using namespace std;





int main()


{


string str="try this";


cout %26lt;%26lt; str.find("this");


cout %26lt;%26lt; endl %26lt;%26lt; endl;











return 0;


}





this will display 4 because "this" starts at 4. at least thats what i know i could be wrong.


Will a C# compiler / IDE work for C also???

I have recently bought a book called "let us c" by yashwant kanetkar, but that teaches us "C". Although I have a compiler called boreland turbo C# explorer and bloodshed c++. Will the examples of this book work in these applications???

Will a C# compiler / IDE work for C also???
Yes it will and by the way that book is great cuz I have that too!
Reply:No and yes. c++ is really c with classes and just about any c program/examples will compile with any c++ compiler. So your bloodshed c++ will be fine.





c#, although it has the basic syntax of c/c++ is an entirely new animal. It's not just that it uses the MS .net framework, but it, for example, has its own i/o statements (using the framework). You'll not find much joy in any example that uses


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


and


printf(...)


because the language doesn't have those libraries (or even include statements).





Put the c# aside until you're comfortable with the c language. Whatever you learn about basic language operation will be fine, and then you can decide whether to go to c++ or c#.


Where can i find collection of examples of C language programs online?

try codeguru.com

Where can i find collection of examples of C language programs online?
Visit this site you will find every thing http://www.mathtools.net/C_C__/Books_and...
Reply:There are many places where you can get code examples. C++ is a very popular language and so shouldn't take a long time to find some. Listed below are some examples of sites which you may find useful:





http://www.cplusplus.com/src/


http://www.example-code.com/vcpp/default...


http://www.josuttis.com/libbook/examples...





If you would like to look at complete, more complicated projects that have been written in c/c++ then try looking at some of the many open source projects which allow you to download the actual source code...





http://httpd.apache.org/download.cgi - Apache Web Server


http://developer.mozilla.org/en/docs/Dow...





One thing to mention about open source, they are typically written and used on linux/unix variants, but may also be available for the windows platform (like the Apache one above).





Hope that helps and is what you were looking for.
Reply:Here is an example of a c++ script.





/*an example of a c++ script*/


#include %26lt;iostream%26gt;


using namespace std;


int main ()


{


cout %26lt;%26lt; "this is an example script of c++";


return 0;


}
Reply:go to google and type "examples c porgrams", u get a whole lot of options
Reply:Hello


you can find c languages examples online by buying the books.


But if you want them free then type c language in google and you can see the sponsered sites there some teachers could give you exampe.


if you want the book ask me i'll give the c++ book in that there is a section which is forc language


Example of c:


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


main()


{


printf ("Hello\n")


}


this example will give you a output:


Hello


by


How do I program Browser Tabs in C# similare to IE7 or FireFox?

I have been trying to find an example somewhere that would show me how I could program tabs in C# similar to the tabs in IE7 or even FireFox but I cant find any. I use Visual Studio 2008 C# Express Edition. Does anybody know of a good example somewhere in C#?

How do I program Browser Tabs in C# similare to IE7 or FireFox?
Hello,





They do not use the default control similar to what .NET provided, they custom made the Tab as a control. IE7 and Firefox do not use C#, they use C++ so they created their own Custom Tab Control.





If you wish to replicate this control in C# and produce the same look and feel of the Tabs, then you will need to learn about creating custom C# controls.





You would need to inherit the Control class and provide your own implementation of the OnPaint event handler. If you wish to use user input, then you need to handle that as well.





That is the only way to do Custom Controls, and that is how they do all the neat controls in the workplace. Read this tutorial on how to create a very simple control, http://www.ondotnet.com/pub/a/dotnet/200... , they will show you how to create a custom circular button. You can follow the same steps and draw a tabular version of the control like IE7 instead of a circle. Obviously it isn't a beginner like problem since there are many curves, actions, and special stuff to do but it is awesome learning step.





Good Luck.

hydrangea

If the sequence of nucleotides in one chain of DNA molecule is T-C-A-A-G-C......................

If the sequence of nucleotides in one chain of DNA molecule is T-C-A-A-G-C, a new nucleotide chain will be produced during replication with the complementary sequence:


a. T-C-A-A-G-C


b. A-G-T-T-C-G


c. C-T-G-G-A-T


d. G-A-C-C-T-A





























please help me with this. please explain to me how you got it in a short summary. Oh, and tell me the answer too.





for example: a. T-C-A-A-G-C





because sometimes people explain to me how they got the answer, but they never tell me what the answer is.





THANKS TO EVERONE THAT PUT SOME EFFORT INTO THIS QUESTION AND TOOK THE TIME TO HELP ME OUT.

If the sequence of nucleotides in one chain of DNA molecule is T-C-A-A-G-C......................
Remember that the 2 complimentary strands are antiparallel. That is to say that the 2 strands although complimentary run in opposite directions.





It's useful to assign an order to the strand by referring to the directon of the strand. This is generally done by writing 5' in front of the sequence, in this case TCAAGC, thus 5' TCAAGC.....


The 5' refers to the position at which the Phosphate group is attached to the ribose component of the DNA molecule.





So the answer to your question of what is the complimentary sequence to 5' TCAAGC....? It's 5' ......GCTTGA. (the answer you have for letter "b" written backwords.
Reply:Match the AT and CG. I tell my students to match the letters with straight lines (A T) and to match the letters with curves (C G). And this is so easy that you can get your own answer.
Reply:remember your letters





A : T


C : G





so simply replace the original nucleotides with their opposites:





original = T C A A G C


complimentary = A G T T C G





I would look up the differrences between the nucleotides - this may explain why they need to match up this way.


Are there class librarys to program linux/unix sockets in C++?

I am seen many examples of socket programming in C, but nothing in C++. I can get example programs in C to work, but they won't compile in C++ which is my language of choice. I'm not a good enough programmer to convert them to C++, and I don't know (or have the time) to study sockets in detail.





Are there class librarys or header files that would hide the complexities of network sockets from me?


For example, on the client side, just call a function that takes the port, ip address, and data.

Are there class librarys to program linux/unix sockets in C++?
Yes, there are. I believe there is one called ACE. Though I have never used it. Also, Qt by Trolltech has networking library, which is great because it is cross platform. However, if you want to work with sockets at a high level, I would suggest learning Python. It is a relatively easy language, once you get the hang of it. Plus, it can be embedded in C, so you can use the Python calls to set up the sockets in a C program.


Can anyone suggest a c# programming book designed for those already very proficient in C++?

What would interest me most would be a book that is broken down into the major concept chapters (ie, multimedia, containers, i/o, storage, network,etc) and that would actually do the example in unmanaged c++ and then in c# and explain the changes and how it all works. I truly feel that with enough examples like that, it would be easy to figure it out (rather than reading a C# book designed for beginners.)

Can anyone suggest a c# programming book designed for those already very proficient in C++?
try eBooks such as Wrox.


That's so prefect,so easy to learn and understand.
Reply:I don't really know a book like that, but here is a site where you can check.


Program examples of c++?

/*











Basic Program File Structure and Sample Function Call











File: sum.cpp





Version: 3.1





Created: 9/24/96





Last updated: 10/20/99





Written by: Dr. C. S. Tritt











*/











#include %26lt;iostream%26gt; // Header for stream I/O.





#include %26lt;iomanip%26gt; // Header for I/O manipulators.











using namespace std;











// Function declaration (prototype) with default values.











float sum(float required_term, float optional_term = 0.0);











// Main program











int main(void)





{





// Declare variables. Some programmers like to declare their variables just





// before use. I like to declare all of mine at the top a each function.











int p; // Output numeric precision.





float a; // Units and description of a.





float b; // Units and description of b.











cout.setf(ios::showpoint); // Show decimal points. Good until explicitly changed.











cout %26lt;%26lt; "Enter the output precision (an integer): ";





cin %26gt;%26gt; p;





if (!cin)





{





cout %26lt;%26lt; "Input error. Aborting.\n";





return 1;





}





cout %26lt;%26lt; setprecision(p); // Set the precision. Good until explicitly changed.











cout %26lt;%26lt; "Enter two real numbers to be summed: ";





cin %26gt;%26gt; a %26gt;%26gt; b;





if (!cin)





{





cout %26lt;%26lt; "Input error. Aborting.\n";





return 2;





}











cout %26lt;%26lt; "Entered values: a = " %26lt;%26lt; a %26lt;%26lt; " and b = " %26lt;%26lt; b %26lt;%26lt; endl;





cout %26lt;%26lt; "So sum(a, b) = " %26lt;%26lt; sum(a, b) %26lt;%26lt; endl;





cout %26lt;%26lt; "And sum(a) = " %26lt;%26lt; sum(a) %26lt;%26lt; endl;











return 0;





}











// Define the sum function.











float sum(float x, float y)





{





// This function returns the sum of its arguments.











return (x + y);





}














this illustrates:


* Overall program structure including function declaration with default values.


* Inclusion of header files.


* Declaration of variables of built in types.


* Output formating.


* Writing to the screen (console output, i.e. cout) %26lt;%26lt; (the stream insertion operator).


* Reading from the keyboard (console in, i.e. cin) %26gt;%26gt; (the stream extraction operator).


* Simple selection structures (if statements).


* Use of functions that return values but don't change their arguments.

hawthorn

Current examples of C.wright Mill's power elite (corporate, military, and government)?

Haliburton(KBR)


Blackwater


Can any one tell me that where i can get the examples for practise in c?

i am a beginer in c programing but i have a dificulty that i can't get the examples for practise. so i am asking you this question plz telll me i will thankfull to you

Can any one tell me that where i can get the examples for practise in c?
you say you are a beginner.So, check out http://www.cprogramming.com .this is one hell of a site...brilliant fir beginners and can go on to advanced topics. Just check out and you'll say I'm right :) :D





Note: It hasn't been updated since long but never mind.
Reply:best way to practise c is go to orkut and join c %26amp; c++ community where u can ask question and solve problem of other. disccussion.
Reply:Try here:


http://www.phim.unibe.ch/comp_doc/c_manu...


I don't know much about c (i got that website from a Google search) so I'm sorry if this doesn't work.
Reply:http://www.cprogramming.com


Help moving forward with C++ programming..?

i've learnt c++ programming and all concepts thoroughly.. but im really really confused as to what applications this might have whatsoever in real life... any way i could get to see real world examples of c++ programs ? ?

Help moving forward with C++ programming..?
check out nehe.gamedev.net, if u like playing with graphics. That one uses OpenGL, but there are other availbale graphics libraries out there.





C++ can be used for a lot of things.


Web servers are usually written in C or C++


A few Operating Systems are written in C (like Windows)


Games can be written in C/C++


If you want to look into web development, u can transfer ur knowledge of C++ into C#.net with fair ease.








Once you know C/C++ thoroughly, other languages will come to u like a piece of cake. Since C is a mid-level language, it offers power that high-level languages might not have, for example messing with memory directly.





Sorry for the lack of order, I was just jotting down things that came to mind.
Reply:Software development is where u see real examples. Such as an airline controler program, banks databases use C++ programs to connect to the databases, etc. everywhere u see real life c++ program.


How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?

Hi,


I have created a XSD file now I want to use it in MS VS .net 2003/ 2005 to extract data from multiple tables like customes and their orders and the bills for those orders and create an XML file based on the structures setup in XSD . Would like to c a working example on the net if possible could someone pls guide me . I require to create an executable so any one can use it I have another utility wherein they can modify the xsd as per the requirements .


Many thanks


Meherdad

How do i use a xsd document to extract data from a MSSQL server db and create a XML file of that using C#.net?
try running this sample query against your db and check out the output. It will output the data in XML format. This will hopefully give you a start. Unfortunatly I don't have any C# code for you.





select *


from orders


for xml auto, elements





here is a good tutorial on the basics of getting data from SQL server in XML format and using XML schemas





http://sqljunkies.com/Article/53969753-E...

marguerite

Is it possible to disallow certain template types using template specialization in C++?

How can I restrict a programmer to instantiating a template class with only certain variable types in C++? A simple example would be if I only want to allow the programmer to use a template class with either floats or doubles. Or perhaps allow all types except int.





Is there a way to do this so that I do not need to specify separate template specializations for both floats and doubles? How can I provide a single specialized template for both float and double instantiations?

Is it possible to disallow certain template types using template specialization in C++?
Yes, you can. By using a helper template class, you can create a compiler error.





You can find the idea here:


http://www.dbforums.com/showthread.php?t...





Depending on how you define the unspecialized helper template, you can either default to allow and specialize to block certain type or default to block and specialize to allow certain types. If you default to block and specialize to allow, then it is possible that a user of your template figures out your design and does the specialization to allow.





In the case where you default to block:


template %26lt;class T%26gt; class AllowInstantiation { AllowInstantiation(){} };





This template creates an empty class with a private constructor. In your main template create:





template%26lt;class T%26gt; class MyRealClass


{


// yadda yadda yadda


AllowInstantiation%26lt;T%26gt; m_allowTemplate;


};





For any class that does not have an specialization of AllowInstantiation, MyRealClass cannot be instantiated because of AllowInstantiation's private constructor.





To allow a type, specialize AllowInstantiation. For example to allow float:


template %26lt;%26gt; class AllowInstantiation%26lt;float%26gt; {};


The default constructor for the empty class defaults to public and so it can be instantiated.





To do the reverse, i.e. allow most types and block a few


template %26lt;class T%26gt; class AllowInstantiation {};


Unspecialized template allows default constructor.





template %26lt;%26gt; class AllowInstantiation%26lt;int%26gt; { AllowInstantiation(){}};





Now int is blocked because of private constructor.


How do I find out the bearing between to points in a C++ program?

How do I find out the bearing between to points in a C++ program?





I need to find out the bearing (relative to north) in a C++ program.





For example, if point 1 is at x5,y5 and point 2 is at x0,y0 the answer I want to get is that the bearing FROM point 1 TO point 2 is 225 degrees.





Y


|


| --------------1


|


|


|2____________X





Does anyone know how to find this?

How do I find out the bearing between to points in a C++ program?
You need to use what's called the Dot Product. The Dot product gives the angle between two vectors, so you would want your up or "north" vector to be 0, 1. That's a vector that points up (positive y).





To get a direction vector pointing from P2 to P1, subtract (P1 - P2). That will give you a new direction vector pointing from P2 to P1.





We will call our direction vector to our P1 point dirVec, and the up vector....up. (I am so creative)





To get the Dot product = up.x * dirVec.x + up.y * dirVec.y





Bingo, you now have the angle.





With different things working with angles, you may have to convert from radians to degrees depending what you are doing;





To do that: float degrees = myRadians * (180/PI)





To convert from degrees to radians: float radians = myDegrees * (PI/180)





Hopefully that was actually clear, I have been up for 40 hours straight, so I apologize if it's fuzzy! ;-)





HTH,


-J


----


Unlock the secrets of your true randomness!


http://Blog.GatsWiz.com

tropical flowers

How i can remove the Autoplay from the drive C: and D: ?

i searched for the file " autorun.inf " but i can't find it or it named by other name it's like a virus !! .... when i play it i mean double click in the C: drive for example the message run " Task Manager has been disabled by your administrator " .. !!! so i need help guys.....

How i can remove the Autoplay from the drive C: and D: ?
To enable or disable Autoplay options, open My Computer, right click on D drive and choose Properties. Open the Autoplay tab and make adjustments in there.


C(graphite) and C(diamond) are examples of:?

a. isotopes of carbon.


b. allotropes of carbon.


c. the law of definite proportions.


d. different carbon ions.

C(graphite) and C(diamond) are examples of:?
b. allotropes of carbon.





there is also another allotrope of carbon, which is the buckyball... also known as Buckminsterfullerene
Reply:b.allotropes of carbon.
Reply:B. Allotropes of Carbon





100% sure.


What is the terminology 'include', 'library' in C programming?

What is the meaning of library, include in C programming?


any example show?

What is the terminology 'include', 'library' in C programming?
Includes are used by the compiler's pre-processor to "include" a header file. This file will typically have constants and function definitions.





Example


------------------------





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


int main (){


FILE *myfile;


myfile = fopen ( "somefile", "w+" );


fprintf ( myfile, "Hello File!\n" );


fclose ( myfile );


return 0;


}





--------------------------------





fprintf is a function that's defined in stdio.h. If you don't include the header file, the compiler will have no idea how to properly handle the function call.





The actual code for fprintf is in a library. Specifically the Standard C library. This library is fairly large and contains the code for common functions.





You don't tell the compiler about the library. You tell it about the include file. It will generate code with a "stub" for fprintf. Then when you use the linker, you tell the linker about the library. The linker will the replace the stub with the actual code for fprintf. Most modern compilers appear to perform the compile and link in one command, but it's really two separate steps.














( Note: this is an over simplification and doesn't cover dynamic linking , and the example code is a horrible example of proper error handling .)
Reply:An include statement allows a c program to use another chunk of code from another file.





For example, in C, you usually have to include the header file stdio.h which contains many of the common primative functions that are used in the normal course of C programming.





A simple example would be an include file which would contain an add function that would return the sum of two integers.





add.h





int add2ints(int,int);


int add2ints(int x, inty){


return (x+y);


}





mainprogram.c





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


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





int main(void){


int x=3;


int y=2;


int result=add(2,3);


printf(result);


}


How to print the result in c language?

My actual question is how to print the result or some other thing using c language.


for example:


printf("\nName:X\nFrom:XX...........")...


output will be:


Name:x


From:XX..........





This output i should print in a paper.Pls help meeeee............

How to print the result in c language?
If you want to print variables and string using printf.. you will need to do:


printf("\nName:%s\nFrom:%s\n", str1, str2);





Output: (str1 = John, str2 = Yo)


Name: John


From: Yo

sound cards

In graphs and functions i need help with one example please?

it says plot each point on graph and then plot the points that are symmetric to the given point with respect t the (a) x-axis (b)y-axis and (c) origin. for example (-6,1)


how do you do this (not the plotting!) but plotting the points that are symmetric....what does that mean?!

In graphs and functions i need help with one example please?
Anytime a plot is needed that is symmetric around an axis or line or point, Treat the object of symmetry like a mirror image. For example, the point (-6,1) symmetric equivalent around the y-axis is (6,1). For the x-axis, it is (-6,-1). Around the orgin is (6,-1).
Reply:Symmetric means that when you "fold" over that axis the point will be on the same spots, and with respect to the origin, then you just change the sign... I hope you understand that. For example, for the point (-6,1), the symmetric point with respect to x-axis will be (-6,-1); y-axis (6,1) and the origin


(6,-1)...





I hope I was helpfull and good luck!
Reply:Take point (a, b).





The point symmetric to it with respect to the x axis is (a, -b).





The point symmetric with respect to the y axis is (-a, b).





The point symmetric with respect to the origin is (-a, -b).





So, for (-6, 1), you've got:





(a) (-6, -1)





(b) (6, 1)





(c) (6, -1)


In graphs and functions i need help with one example please?

it says plot each point on graph and then plot the points that are symmetric to the given point with respect t the (a) x-axis (b)y-axis and (c) origin. for example (-6,1)


how do you do this (not the plotting!) but plotting the points that are symmetric....what does that mean?!

In graphs and functions i need help with one example please?
A symmetric point would be a mirror image. Imagine having (-6,1), which is in the second quadrant.





If you were to find a symmetric point with respect to the x axis you would pretend to fold your graph paper in half on the axis. Wherever your first point touches the new side of the paper (3rd quadrant) is where your symmetric point lies. This would plot the point at (-6,-1)





to find symmetry with respect to the y axis, fold your paper along the y axis. the symmetric point would be (6,1)





the origin means that you would draw a line from the current point (-6,1) back to the origin. Now extend the line past the origin into the fourth quadrant. the symmetrical point would be (-6,-1).


Why does Five-Alive have no Vitamin C?

Five Alive is supposed to have some real juice in it, yet no Vitamin C is listed on the nutrition label. Other juices have Vitamin C, Fruitopia, for example.

Why does Five-Alive have no Vitamin C?
It contains trace amounts, but is only 41% fruit juice. The rest is filtered water and high fructose corn syrup.
Reply:vitamin c would only be listed if it had been added
Reply:That ain't juice, y'all.





Drinks like that have vitamin C ADDED to them, so it's all up to the manufacturer to decided whether or not they want to add vitamin C.





Vitamin C gives it a distinctive sourness, so that could be one reason they don't add it.


Hi, can somebody help me with this.. (programming C++)?

It's in C++, can somebody tell me how to manipulate a html page and code it in C++ like for example: In a registration page, instead of going in there and registering how can you code a program to make it do it for you? With you entering the details on the program you have written it on of course.

Hi, can somebody help me with this.. (programming C++)?
Using CGI, that is lot of work, may be you can contact a C++ expert at websites like http://askexpert.info/

liama-song

Adejctives that start with "C"?

ok so for my myspace i want a trademark name!


i want an adjective and then ny name, Cecilia


but it has to roll off the tounge...


Kind of like and "S" sound but with a "C".





heres an example...


my friend tasha did, TOTALLY tasha


and my friend aaryn did, amazingly aaryn


can some one pleaseeee help me?


thankyou!

Adejctives that start with "C"?
Cantankerous Cecelia. LOL OK..that doesn't "roll off the tongue."





How about





SO SO Cecelia (not as in so so meaning mediocre but as SO SO Celia meaning so much about or so much like)
Reply:what about sweet or something like that.
Reply:Re-arrange these words etc.
Reply:Cellophane Cecilia


Cerebral Cecilia


Cyclic Cecilia


Certifiable Cecilia
Reply:stupid.
Reply:sizzling cecilia.....


certified cecilia


cheesy cecilia


classy cecilia


clueless cecilia?


crispy cecilia.... is this a food?





That's all that I can think...hope i did help you.
Reply:cool Cecilia


catwalk Cecilia


celibate Cecilia!


celebratory Cecilia





sizzling Cecilia


seasonal Cecilia


succesful Cecilia


In C programming...?

how do i delete a character in a textfile using c?, if for example i have a text file containing these text:


"programming fundamentals", and i want to delete 'fundamentals', how do i code that?

In C programming...?
I imagine you would go to a certain buffer location(seekp) and replace the strings with space by writing to the file(fstream.write()). Another method would be to read the file into memory, do the replacement and overwrite the whole file.


Formatting a number in C#.Net?

I want to format a number in C#.Net and I need a builtin function that performs this thing.But I couldn't find such a function in C#.Net.For example the builtin function that convet the number 1500.5236 to 1500.52.

Formatting a number in C#.Net?
If you actually want to round the number to, say 2 decimal places, then use:





Math.Round(number, 2)





If you just want to display the number to 2 decimal places then use:





number.ToString("f02")





Also take a look at the documentation for Double.ToString()


http://msdn2.microsoft.com/en-us/library...


And Numeric Format Strings


http://msdn2.microsoft.com/en-us/library...


C programming equation?

what does this symbol (in c) mean? += and -=





example:


rowSum += data[row][col]





thanks

C programming equation?
The "+=" operator adds the value of the variable on the right to the current value of the variable on the left. The "-=" operator does the same thing, just with subtraction instead of addition.





In the example, if rowSum = 10 and data[row][col] = 14, the command "rowSum += data[row][col]" would make rowSum = 24. Get it?
Reply:rowSum += data[row][col]





is equivalent to:





rowSum = rowSum + data[row][col]





Likewise, rowSum -= data[row][col]





is equivalent to:





rowSum = rowSum - data[row][col]
Reply:+= and -= are called short hand assignment operators.we can give a+=10 instead of a=a+10
Reply:scalar add. It is like saying 2+2 = 4. Instead you are saying 2 += 2; the answer is still 4.





a = 2;


b = 2;





a += b = 4


------------------------ or





a -= b = 0
Reply:Assignment by sum and difference





chcek this out:


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

garden state

Give singleline definition for all oops concepts with examples in c++.......?

give the answer in the following manner





Topic: data abstraction


Definition:..........................(... line definition)


Syntax:..................................


Example:...........................

Give singleline definition for all oops concepts with examples in c++.......?
here is example of inline function


class robot


{


public:


void setAge(int age) const {itsAge = age;}


private:


itsAge;


};


Hi, I'm looking at a recipe in French but don't understand some measurement units. What does [c à s] mean?

For example, "1 c.à.s de poudre de préparation pour cappuccino."

Hi, I'm looking at a recipe in French but don't understand some measurement units. What does [c à s] mean?
cuilliere à soupe


soup spoon--a tablespoon
Reply:Soup spoon. Try dessert spoon.
Reply:Goddess of Grammar is correct





It means:"Cuillère à Soupe".


What is the difference between abstraction,encapsulation,data hiding?Where they implemented in c++ ?

Plz give an example with c++ language

What is the difference between abstraction,encapsulation,data hiding?Where they implemented in c++ ?
Abstraction means hiding complex details of creation(logic and functions) and just implenment/call them without bothering about how they work?.


Encapsulation means combining both data and function that operates on that data into a single unit(eg classes and objects in C++(or in any othe OPP).


Data Hiding means to make data invisible to external functions to minimize accidental modification/chage of important data. Following is the beast example of all the three





class employee /* Encapsultaion*/


{


private:


char name[20];


int age;


float salary;





public: /*Data Hiding, Following functions access data */


void getemployee


{


cout%26lt;%26lt; "Enter name";


cin%26gt;%26gt;name;


cout%26lt;%26lt;"Enter Age";


cin%26gt;%26gt;age;


cout%26lt;%26lt; "Enter Salary";


cin%26gt;%26gt;salary;


}


void showemployee


{





cout%26lt;%26lt;"\n Name"%26lt;%26lt;name;


cout%26lt;%26lt;"\n Age"%26lt;%26lt;age;


cout%26lt;%26lt;"\n Salary"%26lt;%26lt;salary;


}


};


void main()


{


/*Abstraction:- working defined in employee class*/





employee e1;


e1.getemployee();


e1.showemployee();


}











for more examples visit http://codesbyshariq.blogspot.com
Reply:Above features r called as OOP (Object Oriented Programming) concept.





Tutorial %26amp; Egs:


http://www.kbcafe.com/articles/OOP.Conce...





Try this site too....


http://www.exforsys.com/tutorials/c-plus...


Please can anyone help, i have 2 question left to answer and I'm stumped..7= C of C, 19= L of TB. thanks?

Example: 7= C of the R = 7 Colours of the Rainbow

Please can anyone help, i have 2 question left to answer and I'm stumped..7= C of C, 19= L of TB. thanks?
Is this just one question or the two of them? It is very confusing. Perhaps you can tell us more. I have found something that might be one of your answers. Lamentations is the 19th book of The Bible.
Reply:Have been looking ,no success as yet.


Interesting...

funeral flowers

Can someone upload me the CD containing C# code examples for "ASP.net 2.0 Unleashed " by Stephen Walther

The C# code examples from the CD are already available from the book's website:





http://pluralsight.com/essentialasp.net2...


Average and Sum of values in an array in C?

I am having a hard time getting The averages and sum from an array (weights[8]). I have the user input 8 differerent weights but having problems calc the average and total.. Can some one give me an example using C standard. Thnaks

Average and Sum of values in an array in C?
Maybe something like this:





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


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





void main(){


int w[8]={1,2,3,23,8,6,7,8};/*Random Numbers*/


int i,sum=0,average;





clrscr();


for (i=0;i%26lt;8;i++){


sum+=w[i];


}


average = (sum/8);


printf("The sum is: %d\n And the average is: %d",sum,average);


getch();


clrscr();


}








}
Reply:int arr[] = {2,4,5,22,15,23,17,20};





int arrSize = sizeof(arr)/sizeof(int);





int total = 0, avg = 0;


for(int ii=0; ii %26lt; arrSize; ii++)


total += arr[ii];





avg = total / arrSize;





printf("Total = %d\n", total);


printf("Avg = %d\n", avg);
Reply:Probably you are trying to acess an ilegall memory reference. You CANNOT acess weights[8]. Just from 0 to 7. Got it?
Reply:http://www.cprogramming.com/tutorial/les...
Reply:for(x=0;x%26lt;8;x++) {


sum = sum + weights[x]


}


printf("Sum = %f", sum);


printf("Average = %f", sum/8);


How do you put something in front of the C:> in msdos?

for example "yahoo C:%26gt;windows/system32"

How do you put something in front of the C:%26gt; in msdos?
Use the "prompt" command.





Like this:





c:\%26gt;prompt yahoo $p $g%26lt;enter%26gt;





this will result in:





yahoo c:\%26gt;





I think it's what you want.
Reply:cd\ enter


cd windows enter


cd system32 enter


if this dont work type this with this command you can see your choses of directory





dir enter
Reply:Type "prompt yahoo $p$g " Typing prompt by itself should result in the default prompt, $p$g. If you type "help prompt" at the prompt it will give you a list of arguments you can use.


How to allow unspecified number of parameters in C function?

For example, in C you have the function "printf" which takes a char* string with text, formatters, etc. and then you pass in a comma delimited list of variables for each parameter you provided in the first string. How do you define such a function? How do you make reference to these parameters? I assume there must be some base pointer which can be used to access the various entries?

How to allow unspecified number of parameters in C function?
Use "..."





I don't really get it, but there's some documentation here: http://courses.cs.vt.edu/~cs1704/notes/A...
Reply:Use ellipses in function definition:





void Foo( ... )





then use the following to get arguments:





va_list marker;


int first = va_arg( marker, int );


char* pSecond = va_arg( marker, char* );


...


va_end( marker );

floral design

Anyone know the definition of a "C" and "D" county?

"C" and "D" counties are smaller counties located across the country, but I'm trying to find out what the population cutoffs are to classify a "C" or "D" county.





For example, a "C" county has a population range of 10,000-20,000.





Does anyone know where I can find the concrete difinition?

Anyone know the definition of a "C" and "D" county?
County size A:


All counties belonging to the 26 largest metropolitan areas





County size B:


Counties over 120,000 population that are not class A counties, plus some counties that are a part of the metropolitan area of cities in such B counties.





County size C:


Counties not included in classes A or B that have over 32,000 population, plus some counties that are a part of the metropolitan area of cities in such C counties.





County size D:


Anything not an A, B, or C county.


What is C, C++, and Java?

My friend told me I should learn each by the order stated above. I have a few question before I start learnind.


1- Is the order my friend told me, correct?


2- I understand they are all languages, but are they all the same? For example, is C++ harder then C, but still the same language, just using like bigger words?!?!


3- Once I master all those languages, what can I do with that knowledge?


4- Where should I got to learn it..Should I get a book? Which one? Will it be hard to learn by myself?





Thanks, best answer=10 points

What is C, C++, and Java?
What are they? They are high-level programming languages.





a1) Order of learning? Doesn't really matter nowadays. C is used rarely nowadays, C++ has taken over pretty much. Java is like C++ with better syntax.





a2) No, they're not all the same. C++ is object oriented (where C is not), and Java is not quite as object-oriented as C++, but it is a bit more modern.





a3) You'll still have a bit more learning to go, such as Windows API, kernel level programming, 3D engine programming, and so on. Depends on your field of interest. But you'll need to learn a language first.





a4) Where? That's debatable. Some people learn better on their own, while others need some structure. I can't say one method is better than the other. There's lots of free resources on the net, try them all.
Reply:That's a lot of questions. First off, I learned C++ first, and there's no reason you would need to learn C first. They are similar in syntax, but completely unrelated languages. C++ is Object Oriented and C is functional. If you "master" those 3, you'll know more than I do as that takes years of experience, but for the sake of argument, you still can't do anything with that knowledge unless you have a degree. If you want to learn it on your own, (and yes, it will be hard) there are several free online tutorials to get the language basics down, and then I would move on to books. The SAMS learn it yourself books are pretty good for beginners. Good luck.
Reply:Java is a subset of C and looks like C++. To be an efficient OOP (Object Oriented Programming) programmer, learning C and C++ which will give you a great foundation to be a JAVA programmer. The SUN website has a lot of information that you can look at and read.


A name, such as McLean is sometime printed as M (raised, lower-case c )Lean. What is the name/designation ...?

0f this raised, lower-case "c" ? Other examples: McDonald, McKee, McMurray.

A name, such as McLean is sometime printed as M (raised, lower-case c )Lean. What is the name/designation ...?
When Scottish people who spell their surname this way are asked how they spell it, they usually say "M apostrophe capital L ...". When it's an ordinary lower-case c they say "M small c capital L ...".
Reply:I was told that those of Scottish decent use Mac, like MacDonald, and those of Irish decent use Mc, like McGreggor.
Reply:Mc...short for Mac is actually a scottish designation that means "son of". Ex: McLean (MacLean) would be "son of Lean". Comes from the middle ages.


What c++ and c file extension?

example for c++ --%26gt; test.cpp





are "printf" and "scanf" commands in C++ or C

What c++ and c file extension?
c++ file name extention is .cpp


c file name extention is .c





printf and scanf commands belong to language C
Reply:The file extension in C is .c like test.c and


in C++, the extension of file is .cpp, like test.cpp.





The printf and scanf are the standard output and input commands in C. But these can be valid in C++.


The same commands are cout and cin objects respectively in C++.
Reply:The are in C++ ..





Thats a guess...





ok.


.


bye...
Reply:for c : myfile.c


forc++ : myfile.cpp


for using "printf" and "scanf" commands in C : #include %26lt;stdio.h%26gt; befor main
Reply:I'm sorry iyiogrenci but printf and scanf are also in C++ language!they are predefined with %26lt;stdio.h%26gt;;


scanf allow you to insert data from file like "file%26gt;%26gt;x" for %26lt;fstream.h%26gt; and printf allow you to print data into file like "file%26lt;%26lt;x"


for %26lt;fstream.h%26gt;

chelsea flower show

What C/C++ Compiler should I use?

C/C++ have many compiler, for example, Dev C++, wxDevCpp,Borland C++ Builder, GCC etc. So who can tell me Which C++ compiler should I use?


By the way I try to search about GCC by Google,and I download it, but I don't know how to install,if you suggest me to use GCC please tell me how to install and use it , I want to know about GCC,because Linux Sourse is design by GCC, so I want to know about it(GCC), Thanks a lot!

What C/C++ Compiler should I use?
The one i use and find myself very comfortable with is Dev C++.


Here is the site from which you can download it:





http://www.bloodshed.net/dev/





For further help in programming you can email me at maqsood_rahman@hotmail.com





Wish you all the best!
Reply:gcc - supports the most architechtures, has the most libraries, very advanced, most popular in open source community.





visual c compiler - fast code, not as flexible as gcc.


most popular in closed source community.





digital mars - very fast code very little support.





bcc - deprected, was good.





gcc is #1.





only use Microsofts vc++ compiler if you have reason to do so.





also note that things like devc++ and codeblocks use GCC as there compilers and are correctly described as IDE's.
Reply:I really like Dev-C++.
Reply:ok i know im late (sigh) DEV-C++


What are some examples of books C.S. Lewis praised?

What are some examples of books that Christian apologists such as C.S. Lewis and Duncan Williams would have approved of? I know they critisized the protagonists of a lot of modernist fiction, so I need to know what they would have liked.

What are some examples of books C.S. Lewis praised?
Wow, that's a tall order! Lewis was lifelong and voracious reader.


Here are just a very few of his all time favorites.


1.Homer's Iliad


2.The author William Morris was one of Jack's life long favorites as was Matthew Arnold.


3.H.A. Grueber-Myths of the Norsemen


4.The Waverley Novels are a long series of books by Sir Walter Scott that Jack Lewis loved.


5.He loved the Bronte novels, Villette was his favorite.


6.He read the Jane Austen novels and the one titled Persuasion was his favorite


7.The poems and celtic plays of Y.B.Yeats.


8.Jack felt that no one should go through life without reading Malory's Mort d'Arthur.


Again this is just a small "inkling" (lol, pun intended) of the type of books Jack loved.


Hope it helps.
Reply:C.S Lewis was a friend of JRR tolkein. You should read Till We Have Faces, By CS Lewis
Reply:the lion, the witch, and the wardrobe


Code a program in ‘C’ to encrypt?

Using the method keyphrase replacement algorithm does any one know how to code a program in ‘C’ to encrypt a block of text from a file and save the encrypted data to another file?





I tried writing a program but got this error message:


c:\program files\miracle c\examples\steven_r\encrypt.c: line 35: ^ only for int


'{ count = count ^ *argv[3]'


aborting compile”

Code a program in ‘C’ to encrypt?
If you have a simple compile error, and you are unable to fix it, you are probably not keeping up in your course. Nevertheless, show us your code and maybe we can fix it up a little.





EDIT:


Your problem is that you're using arg[3] as if it was an integer which is not true, its actually a pointer to a string. If you want to convert it to an integer you'd have to do something like:





int x = atoi(*argv[3]);


Does "C++ Primer Plus" use Visual C++ for it's examples and stuff?

i've heard that C++ Primer Plus is a great book to get started with C++. but i was wondering if the books examples use Visual C++ (from Microsoft). what does it use?





you see, i prefer it over Dev-C++ and others so i was just wondering. please answer.

Does "C++ Primer Plus" use Visual C++ for it's examples and stuff?
It's strictly ANSI C++! Below is an excerpt from the book itself:





"This book practices generic C++ so that it is not tied to any particular kind of computer, operating system, or compiler. All the programs were tested with CodeWarrior Pro 6 (Macintosh and Windows) and Microsoft Visual C++ 6.0, and most were tested with Borland C++ Command-Line Compiler 5.5, Gnu g++ 2.9.5 running under DOS, and Comeau C/C++ 4.42.5 running under Linux. Only a few programs were affected by compiler non-conformance issues."
Reply:As previously noted, C++ Primer Plus does not relate to Visual Basic C++ specifically.





If you want a good tutorial on using Visual Basic C++, try Microsoft Press's "Step By Step" books, depending on your version:





http://www.amazon.com/Microsoft-Visual-N...





The Step By Step series is aimed at hands-on examples of how to do certain tasks, rather than the "how-it-works" kind of instruction in most books.





I find that if you just want to start making useful things, and not worry about why it works, the Step By Step series is excellent.

apple

Compilation error in DEV C++?

i compiled the following program





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


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


int main ()


{





int a,b,c;


cout%26lt;%26lt; "enter the two numbers to be swapped";


cin%26gt;%26gt;a%26gt;%26gt;b;


a = c;


a = b;


b = c;


cout%26lt;%26lt;"the two respective numbers are now";


cout%26lt;%26lt;a%26lt;%26lt;b;


getch();





}





--------------------------------------...


i get the following errors





31 D:\DEV-CPP\include\c++\backward\iostream...


In file included from D:/DEV-CPP/include/c++/backward/iostream...





2 D:\Nakul\programs\swap.cpp


from D:/Nakul/programs/swap.cpp





2 D:\DEV-CPP\include\c++\backward\backward...


#warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the %26lt;X%26gt; header for the %26lt;X.h%26gt; header for C++ includes, or %26lt;sstream%26gt; instead of the deprecated header %26lt;strstream.h%26gt;. To disable this warning use -Wno-deprecated.

Compilation error in DEV C++?
Hi


conio.h is an old MSDOS header file specific to microsoft.


You do not require that.


you should do #include %26lt;iostream%26gt; not #include %26lt;iostream.h%26gt;





iostream.h is for old C++ compilers which were made when the language standard wasnt complete.





Vivek


Question 4 anyone who knows c++ (please help)?

I am trying to learn c++ and am starting in a basics c++ book. My first Project will be to make a source file with this code:


// myprog.cpp


// my first c++ program


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


int main()


{


cout %26lt;%26lt; "My first C++ program.\n";


return 0;


}





I am using Bloodshed Dev-C++ version 4.9.9.2





When I try to compile and run the file as instructed in the book i get the following error:





32:2 C:\Dev-Cpp\include\c++\3.4.2\backward\ba... #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the %26lt;X%26gt; header for the %26lt;X.h%26gt; header for C++ includes, or %26lt;iostream%26gt; instead of the deprecated header %26lt;iostream.h%26gt;. To disable this warning use -Wno-deprecated.





I don't know what i did wrong and for a complete beginner in C++ this type of thing is very intimidating. I don't know what to do. Please help.

Question 4 anyone who knows c++ (please help)?
I'd try shutting it and starting a new project. I just copied and pasted the code into DevC++ and it worked fine for me (except that you need a pause so you can actually see the console).
Reply:Look at what the error says:





"Examples include substituting the %26lt;X%26gt; header for the %26lt;X.h%26gt; header for C++ includes, or %26lt;iostream%26gt; instead of the deprecated header %26lt;iostream.h%26gt;"





So do that. Your third line should be


#include %26lt;iostream%26gt;





The other errors you were getting are because of this error (i.e.: "cout" is declared in iostream, which you aren't successfully importing.)
Reply:The above two respondants gave you good answers.





I will just add this: do not be intimidated by error and warning messages. They are only sign posts. Frequently, the smallest, simplest mistake can generate line after line of error messages that seem to be intent on punishing you for your foolishness. In fact, the compiler is just lost. Deal with the top-most error message and then recompile.





It will get easier.