Sunday, May 10, 2009

The Constant C has the dimension of?

When an object falls through air, there is


a drag force (with dimension M x L/T^2) that


depends on the product of the surface area of


the object and the square of its velocity; i.e.,





F_air = C A v^2 ;


where C is a constant.


The constant C has the dimension of


1. [C] =M /L^3


2. [C] =M /T x L^2


3. [C] =M /T^2 x L^22


4. [C] =T x L^2 /M


5. [C] =T^2 x L^2 /M


6. [C] =T/M


7. [C] =T^2 x L /M


8. [C] =M/T


9. [C] =M/L^2


10. [C] =T x L /M

The Constant C has the dimension of?
ML/T^2=C[L^2]x[L/T]^2


ML/T^2=C[L^3/T^2]


ML=CL^3


C=M/L^2





Answer is (9),


Let C be a Cantor set, show that 1) every point of C is an accumulation point of C,2) every point of R\C not a

Let C be a Cantor set, show that 1) every point of C is an accumulation point of C,2) every point of R\C not a


Let C be a Cantor set, show that :


1) every point of C is an accumulation point of C


2) every point of R\C not an accumulation point of C

Let C be a Cantor set, show that 1) every point of C is an accumulation point of C,2) every point of R\C not a
For 2), a Cantor set is formed by removing a sequence of open sets from R, and so it is closed (can be written as an intersection of closed sets). Thus R\C is open, and so every point of R\C has a neighborhood contained in R\C, and so is in particular is not an accumulation point of C.





1) is more complicated, and I think I'll leave it to you. There is probably more than one way to do it, but I think I would argue by contradiction. Assume there is an isolated point in C and find a contradiction.


C++ Array Sorting Problem?

for ( k = 1; k %26lt;= howmany; k++ )


{


for ( c = 2; c %26lt;= howmany + 1; c++ )


{


if ( taxes[k] %26gt; taxes[c] )


taxes[k] = taxtemp;


taxes[k] = taxes[c];


taxes[c] = taxtemp;


status_array[k] = statustemp;


status_array[k] = status_array[c];


status_array[c] = statustemp;


income_array[k] = incometemp;


income_array[k] = income_array[c];


income_array[c] = incometemp;


ssn_array[k] = ssntemp;


ssn_array[k] = ssn_array[c];


ssn_array[c] = ssntemp;


}


}

C++ Array Sorting Problem?
First your for loops should start with zero. Second you forgot the curly bracket after the if statement. Thirdly you should write a swap function and use that. :)





for( k=1; k %26lt;= howmany-1; k++ )


{


for( c=1; c %26lt;= howmany; c++ )


{


if( taxes[k] %26gt; taxes[c])


{


swap(%26amp;taxes[k], %26amp;taxes[c]);


swap(%26amp;status_array[k], %26amp;status_array[c]);


swap(%26amp;income_array[k], %26amp;income_array[c]);


swap(%26amp;ssn_array[k], %26amp;ssn_array[c]);


}


}


}





void function swap(int a, int b)


{


int temp = a;


a = b;


b = temp;


}





// I hope this helps :)
Reply:You may contact a c++ helper live at website


like http://ccietutorial.com/


Does temperature affect vitamin c amounts?

Question/Problems: One question I’m trying to answer with my experiment is “Do different types of orange juice contain the same amount of vitamin C?". People who drink orange juice will benefit from this experiment, because the experiment is testing orange juice and vitamin c.





does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does temperature affect vitamin c amounts?does

Does temperature affect vitamin c amounts?
Different groves of supposedly identical oranges could produce oranges with different amounts of vitamin C. Variety of orange is a factor. Age can be a factor; an orange can lose its vitamin C as it ages.


And temperature is a factor. Heat degrades vitamin C. You can cook out vitamin C.


If you have a way of measuring or extracting vitamin C, simply take a source that is unheated and compare it with a source that is heated. You will find a difference.
Reply:I did an experiment in elementary school on this very topic. The result of my experiment was that vitamin c decreases as temperature increases. Right now i dont remember why but i hope what i have written helps. good luck on your experiment

plum

Consumption is C = C + cY,where C = 50 and c = 0.55, investment function is I = I + dY, where I = 25 and d = 0

4. What is the constant term in the aggregate demand function: (a) 75; (b) 50; (c) 25; (d)


100.75;


5. What is the slope of the aggregate demand function: (a) 0.2; (b) 0.55; (c) 75; (d) 0.75;


6. What is the equilibrium level of income: (a) 200; (b) 300; (c) 400; (d) 500;


Increase autonomous consumption by 10.


7. What is the constant term in the consumption function: (a) 40; (b) 50.55; (c) 60; (d) 70;


8. What is the slope of the consumption function: (a) 0.55; (b) 0.75; (c) 0.2; (d) 0;


9. What is the new level of equilibrium income: (a) 340; (b) 400; (c) 50; (d) 75;


10. What is the multiplier: (a) 1; (b) 0.75; (c) 4; (d) 2;


11. Why is the multiplier not equal to 1/(1−c): (a) The multiplier is always less than 1/(1-


c); (b) It is equal to 1/(1-c); (c) interest rates have risen; (d) investment is also influenced


by the level of income;

Consumption is C = C + cY,where C = 50 and c = 0.55, investment function is I = I + dY, where I = 25 and d = 0
4.... the constant term in the aggregate demand function: (b) 50;





5... the slope of the aggregate demand function: (b) 0.55;


6. What is the equilibrium level of income: (a) 200; (b) 300; (c) 400; (d) 500;


None of the alternatves are correct. The correct equilibrium income is 166.67 or you have missed giving some data correctly.


Increase autonomous consumption by 10.


7.... the constant term in the consumption function: (a) (c) 60;


8.... the slope of the consumption function:(a).55;


9. What is the new level of equilibrium income: (a) 340; (b) 400; (c) 50; (d) 75; None of the alternatives are correct. The correct answer is 187.78 or you have missed giving data correctly.


10. What is the multiplier: (a) 1; (b) 0.75; (c) 4; (d) 2;None of the alternatives is correct. The correct multiplier is 2..2 r so.


11. Why is the multiplier not equal to 1/(1−c): (b) It is equal to 1/(1-c);


{ there is something wrong in the question or I could not see the trick.. There uis no G is ok. But why the investment function has a income dependent component with d= 0 which means it is not dependent on income.


C++ or java please help?

as a programmer in a weather department, you are to prepare a report that shows the conversion of temperature from fahrenheit(f) to celsius (c) or from celsius(c) to kelvin(k). the formulas to convert from f to c to k are as followed:


c=5/9*(f-32):converts from f to c


k=c+273.15:converts cto k


if you are converting from f to c, the out put of the solution must display the temmperaturs in both f %26amp;c scales. likewise, if you are converting from c tok, the output of the solution must display the temperatures in both c and k scales





use code "f" for faherenheit,"c" for celsius, and "k" for kelvin





your input must include a code to indicate the temperature scale you are entering. your solution must be able tp perform five onversion events(loop) before it stops.





declare and use variables and include a heading expression"conversion" that must display as part of the solution





identify


the problems componets


write the loop test


write the decision test


draw the problems flowchart

C++ or java please help?
The best way to learn is to put some effort in your homework. If you show your work, we can help you where it's wrong. Simply doing your work for you doesn't help you learn and harms the people who do their own work.


Need to know the number of C-C-C bonds in petane C5H12?

Need to know the number of C-C-C bonds in petane C5H12?


Gronert of UCSF reports bond energies for C-H, C-H-C, etc.


Need to know the number of C-C-C bonds that exist in pentane. Know there are 5 carbon bonds in the formula, 12 C-H bonds, but need the C-C-C bonds.


Thanks, Greg in Alaska





Additional Details





1 hour ago


thanks for the answers. Need to know how many "C-C-C" carbon bonds there are in Pentane, how is this calculated.


I know pentane has 5C bonds, 4 C-C bonds, but how many "C-C-C" bonds.


Thanks much!!


Greg C. from Anchorage, Alaska

Need to know the number of C-C-C bonds in petane C5H12?
3 c-c-c bonds:





carbons 1,2,3


carbons 2,3,4


carbons 3,4,5
Reply:As a general rule, anything with an "ane" in it's name is a saturated aliphatic hydrocarbon, unless it says something like "iso-" or has numbers in front of it. This means that it is a single straight chain, without any double bonds. Therefore the carbons in pentane, C5H12, are H3C-CH2-CH2-CH2-CH3, or 3 carbon-carbon-carbon bonds.


Is C# Superset of of both C++ and C?

Hello,





I am a begginer level programmer I am currently studying C %26amp; OOPs with C++





As C++ is superset of C, Is C# also the superset of Both C++ %26amp; C.





If yes then, can I do system %26amp; assembly programming in C# just the way I did it in C by including respective header files.





If not then, apart from .net, is the C# not in the family of C-Languages?





Thank You.

Is C# Superset of of both C++ and C?
In C# you do not do inline assembler as C++ allows.





You can write dll very easily to be used as an assembly.





C# is easier than C++ and C.





C is considered and unstructured language while C++ and C# are structured languages.





C# introduced several features that handle a lot of work you'd have to do yourself in C++ and especially C.





You can use the GC, garbage disposal to handle memory management for you in C#. If you ever had to do memory managementin C or C++ you know how time consuming and error prone the can be.





C and C++ use headers where C# have a using to define the namespace of the classes that'll do that brunt work C and C++ has to do themselves such as Structure definitions, etc.





C# has built in exception handling like Java only you are not required to throw e like in Java.





C# offers properties to classes unlike Java. This allows a class designer greater access control without decreasing functionality for a caller to use.





C# work s for stricky win32 to .NET platform targeting.





C# give you the power of C++ or aboubt 95% of it and the ease of VB and in targeting the .NET, you may find C# much easier for more advanced functions and dll calls.





The C# compiler will assign defaults to your variables referrence or pointer = null, and value = 0. In C and C++ if you forget to init something that must be, like when using hooks, it'll compile and throw run time.





C# shelters you from tedious tasks like that and more.





There are great simularities between C# and C++, but C++ is the one with greater horsepower.





C# contains a library than easily lets you go from web to net to desktop and back. You can create a great smart clinet using VWD and C#. So you can create classes that will port from your aps.net to your winforms apps with out re coding for the different platform.





http://www.microsoft.com/Express can answer alot of questions on C#, try it and the C++ Express, free until Nov 6, 2006 and see for yourself.





C# is really a great .NET compiler it seems designed for it. But going into the opsys and targeting a specific platform can be done and it's actually easier than C++ and of C.





MSDN and CodeProject have great referrences for beginners and the community is always great at anwering your questions. There is no such thing as a dumb question, everyone's out there to learn and help one another learn.





It's so needed with how fast things change and how much there is to know. One man is no islanad in development these days.
Reply:C is structured but not object oriented. It has functions and that makes him structured but does not have objects and classes. Report It

Reply:nah dont be mislead by that idea c# is NOT a superset, instead its in a way a parallel set to C++ in that its function is similar but more precise in inducing the subject to assembeling the necessary details to your programm.
Reply:hope this helps


http://www.developer.com/net/csharp/arti...
Reply:Visual Basic (VB) is a programming environment from Microsoft in which a programmer uses a graphical user interface to choose and modify preselected sections of code written in the BASIC programming language.





C is a structured, procedural programming language that has been widely used both for operating systems and applications and that has had a wide following in the academic community.





C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language.





C# (pronounced "C-sharp") is a new object-oriented programming language from Microsoft, which aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java

parts of a flower

C++ code to replace words in a document, keep getting run error?

string replace


string aword;


char c;





string in_file_name = "Slim Shady.txt";





ifstream fin;





fin.open(in_file_name.c_str());





if(!fin)


{


cout %26lt;%26lt; endl


%26lt;%26lt; "could not open " %26lt;%26lt; in_file_name %26lt;%26lt; flush;





cin.get();





return -1; //Can't carry on if the file is not open


}





string out_name = "";





out_name = out_name + "clean_" + in_file_name;








ofstream fout;





fout.open(out_name.c_str());





if(!fout)


{


cout %26lt;%26lt; endl


%26lt;%26lt; "could not open " %26lt;%26lt; out_name %26lt;%26lt; flush;





cin.get();





return -1; //Can't carry on if the file is not open


}








//Ask user for foul_word


if (!fout)


{





cout%26lt;%26lt; " input foul_word"%26lt;%26lt;endl;





cin%26gt;%26gt; "foul_word"%26gt;%26gt;endl;





cin.get();





return -1;











//make expletive using foul_word





//change foul_word to upper case








string expletive= makeexpletive(foulword);





foulword toupper(foulword);








fin %26gt;%26gt; aword;





while(!fin.fail())


{





string temp= toupper aword


int where = temp.find (0,foulword);





if(where!=-1)


{


}


aword.replace





string temp= replace( foulword, string temp(), s2 ); cout %26lt;%26lt; s %26lt;%26lt; endl


//create temp string that is tuupper version of aword





//if foul_word is in temp then replace foul_word with expletive in aword





aword.replace( where,foulword.length(),expletive);








fout %26lt;%26lt; aword;





fin.get( c );





while(isspace(c))


{


c = toupper(c);





fout %26lt;%26lt; c;





//in case the end of file is a space


if(fin.fail())


{


break;


}





fin.get(c);


}





aword = "";





aword = aword + c;





string next_word;





fin %26gt;%26gt; next_word;





aword = aword + next_word;








}


//cin.get();





fin.close();


fout.close();





return 0;





}











string toupper(string s)


{


string temp = "";


for(int i=0; i%26lt;s.size(); i++)


{


char c = toupper(s[i]);


temp = temp + c;


}


return s;


}





string makeexpletive(string s)


{





char face;


string temp ="";





srand(time(0));








for(int i = 0; i %26lt; s.length(); i++)


{





face = rand() % 5 + 1;





switch(face)


{


case 1 : temp = temp + '$'; break;


case 2 : temp = temp + '%26amp;'; break;


case 3 : temp = temp + '?'; break;


case 4 : temp = temp + '*'; break;


case 5 : temp = temp + '@'; break;





}


}





return temp;


}

C++ code to replace words in a document, keep getting run error?
Telling us what Run Error you're getting might help. Besides the fact that you don't even say what compiler you're using, few people here want to take the time to cut-and-paste all your code into our compiler, then work through getting it to compile and start running to find out what it MIGHT be.





Sorry that's not directly helpful, but it's good advice.
Reply:hey dude, u missing some semicolons maybe. at least i spot one.





string replace //u forgot to put a semi colon here





and did u write


#include %26lt;iostream%26gt;


#include %26lt;iomanip%26gt;


#include %26lt;fstream%26gt;


#include %26lt;string%26gt;


etc etc.??
Reply:(what%26gt; the}


Run...hell=you


switch....


talking@@[dd}


((0))


about.


What is the c++ code runnable in dev c++ developmental tool, for this output????

What is the c++ code runnable in dev c++ developmental tool, for this output????








(it will be like this if the number of amount of string is an even number. and prints like a shape of a hour glass)





enter string: ccss


c c


c


s


s s





enter string: ccss


c c


c


s


s s





(it will be like this if the number of amount of string is an odd number)








enter string: table


t t t


a a


b


l l


e e e








(note: it should be 3 strings to be accepted as input(string) in this program)





Additional Details





1 week ago


What is the c++ code runnable in dev c++ developmental tool, for this output????


what is the c++ code runnable in dev c++ developmental too, for this output????


it will accept a string and creates a figure,, like in the following:





(it will be like this if the number of amount of string is an even number. and prints like a shape of a hour glass)





enter string: ccss


c c


c


s


s s

What is the c++ code runnable in dev c++ developmental tool, for this output????
do an if mod 2 on the string length to figure out if it is even or odd, if it is even generate two strings from the original by going from 0 to length/2 and length/2 to length.





For output cout from within 2 loops, one after the other, the first loop dealing with the first substring, the second loop dealing with the second substring.





The loop will simply start at the length of the substring and decrement to 0, each time printing length number of characters from the substring to the screen.





The second loop will do the same but in reverse, starting at 1 and stoping at length.





Don't understand what you ment for odd numbers but it will be similar to the above.


In code C, How can I erase special characters from a char array?

I have this code:





int readConfig(char *IP, int *p, char Myfile[]){


char dir[32];


char pto[32];


char c='a';


FILE *fp;


int i=0;





if((fp=fopen(Myfile,"r"))==NULL){


return -1;


}


while(c!=EOF %26amp;%26amp; c!='\n'){


c=getc(fp);


if(c!=EOF %26amp;%26amp; c!='\n'){


dir[i++]=c;





}


}





i=0;


c='a';





while(c!=EOF %26amp;%26amp; c!='\n'){


c=getc(fp);


if(c!=EOF %26amp;%26amp; c!='\n'){


pto[i++]=c;


}


}





*puerto=atoi(pto);


strcpy(IP, dir);


return 0;


}





and the file contains this information: 255.255.255.255


5555





Well, when I print the IP value, this is the result


IP: 255.255.255.255fhv���





How can I do for fix it??? I want that only print: IP: 255.255.255.255





Thanks!!!!

In code C, How can I erase special characters from a char array?
Cap the string (nul terminate) like so:





while(c!=EOF %26amp;%26amp; c!='\n')


{


c=getc(fp);


if(c!=EOF %26amp;%26amp; c!='\n'){


pto[i++]=c;


}





pto[i]='\0'; //cap it now!





That bad print out you've got is a classic/common result of printing a non nul-terminated string...
Reply:You need to null terminate your strings or write by count (ie. string length)
Reply:memset your variable before filling it


Which C of C-->J or J-->C would a Jehovah Witness & X-ian have you follow & swallow?

False Christs shall arise ... to DECEIVE ... if possible





The C of C--%26gt;J would have you follow %26amp; swallow J


The C of J--%26gt;C would have you f %26amp; s grace %26amp; truth





Perhaps C of C--%26gt;J as twice fallen as baby-lon on earth


Perhaps C of J--%26gt;C as twice risen as C in higher heaven





Perhaps C of C--%26gt;J great as "great terror"-ist in Dt 34:12


Perhaps C of J--%26gt;C greatest of great--%26gt;greater--%26gt;greatest





So, then, beware "follow the Christ" conventions of JWs,


and also beware the second law of X-ians who are CJs;


For 2nd is like the 1st: Mt 22 %26amp; 1st is sin %26amp; death: Rom 8.





Perhaps every way you look at "their" Law vs Law,


it's as if you're looking at Rom 8:2 Loser vs Loser.





Law: mend it or end it? Christ is the end of the law.

Which C of C--%26gt;J or J--%26gt;C would a Jehovah Witness %26amp; X-ian have you follow %26amp; swallow?
I am not a JW but I when to their convention . I Have been to many churches and studied the bible deeply.


I say this with no reservations I have never met a religion that makes more sense or follows the bible as much as them.


What is your problem ?? The bible don't suit you ? Kicked out because you where not able to live up to bible standards ? Bitter and just want to get revenge ?


Grow up If you know anything about them they are the closest to the truth of the bible you will ever get and you are prepared to die for revenge.


I don't think I can be one but I am resigned to my fate are you?


People like you disgust me.


I bet you can not go head to head with them with the bible.


I know i can't and believe me I have tried


I respect atheists far more that people like you


Unfortunately JWs will turn the other cheek ...I won't
Reply:2Timothy 3: from such (un-holy...high-mindead) turn away, give em both cheeks as you walk away from their law law to grace. Report It

Reply:Cor 4:6 Now, brothers, I have applied these things to myself and Apollos for your benefit, so that you may learn from us the meaning of the saying, "Do not go beyond what is written."





Gal 1:8 But even if we or an angel from heaven should preach a gospel other than the one we preached to you, let him be eternally condemned! 9As we have already said, so now I say again: If anybody is preaching to you a gospel other than what you accepted, let him be eternally condemned!





Rev 22:18 I warn everyone who hears the words of the prophecy of this book: If anyone adds anything to them, God will add to him the plagues described in this book.





2 Tim 3:16 All Scripture is God-breathed and is useful for teaching, rebuking, correcting and training in righteousness, 17so that the man of God may be thoroughly equipped for every good work.
Reply:What kind of drugs are you on?
Reply:You can cut the horns off a goat but you wont get a sheep.. Just a angry goat!!!!!!!!!!!!!!
Reply:This "question" has no actual connection with the bible or with Jehovah's Witnesses.





Learn more:


http://watchtower.org/e/20000622/article...


http://watchtower.org/e/20010801/


http://watchtower.org/e/jt/
Reply:You make as much sense as a turkey in an ice cream parlor.
Reply:Could you speak English, please? Nobody understands what the hell you're babbling about.
Reply:The first law of notation is:





DEFINE YOUR VARIABLES!


.
Reply:"FOLLOW


THE


CHRIST!"





If we follow the Christ, he can help you to:





■ improve family life -





■ deal with life’s difficult problems





■ draw closer to God





■ gain everlasting life -





To find the answers to these questions and many others,





“FOLLOW THE CHRIST!” DISTRICT CONVENTION OF


JEHOVAH’S WITNESSES ADMISSION FREE - No Collections Taken.





Among the many subjects that will be featured on the program are the following:





■ God’s Word “Is Alive and Exerts Power”


A sound drama on Friday afternoon: based on Mark chapters 4 and 5 –





■ Husbands, Wives, Parents, Children


—Follow the Model.


On Saturday afternoon, a talk highlighting the role of each one in the family.—1 Peter 2:21.





■ Precious Gems From the Sermon on the Mount


A six-part, fast moving symposium on Sunday morning.—Matthew, chapters 5-7.





■ 'Who Are the Real Followers of Christ?'


A thought-provoking public talk on Sunday morning.—Matthew 16:24.





■ Full-Costume Bible Drama


On Sunday afternoon, a cast of over 25 characters will present this drama based on Colossians 3:12.





If you would like more information about the Bible-based message that Jehovah’s Witnesses teach, feel free to attend the convention. You may also contact Jehovah’s Witnesses at the local Kingdom Hall to receive more information.





□ Without obligation, I request a copy of the book “What Does the Bible Really Teach?”


Indicate which language...





%26lt;watchtower.org%26gt;

mothers day flowers

Five questions c+11/(c-3)(c+2) + -3c^2/c+2?

LCD of Rational Expressions?


c+11/(c-3)(c+2) + -3c^2/c+2


a: (c + 2)


b: (c - 3)(c - 3)


c: (c - 3) (c + 2)





2:


f-2/(f + 6)(f + 3) - -1/f+3


a: (f + 6) (f + 3)


b: (f + 3)(f + 3)


c: (f + 3)^2





3:


4h/h-12 + -9/ y^2 - 4y - 96


a: (y - 4) (y - 12) (y + 8)


b: (y - 4) (y - 12)(y - 4)


c: (y - 12) (y + 8)





4:


6/ e^2 - 6e - 27 - -8/ e^2 - 9e - 36


a: (e + 3) (e - 12)(e + 3)


b: (e - 9) (e + 3) (e - 12)


c: (e + 3) (e - 12)^2





5:


-1/j-4 + j-7/ j^2 + 6j - 40


a: (j + 4)(j + 10)


b: (e + 3)(j + 10)


c: (j + 10) (j - 4)

Five questions c+11/(c-3)(c+2) + -3c^2/c+2?
Your writing is hard to understand. Please use Parenthesis next time to seperate the denominators and expressions. But to the best of my knowledge:


1) C


2) A


3) None of them unless you meant for the h to be a y, in that case C.


4) B


5) C





Good luck!
Reply:I would like to help you, but I'm not sure of the best way. If you know how to factor the expressions, do that first. I don't think I understand the question, because I don't see 2 extressions so I'm not sure how to find a common denominator.


Problem with a simple C program?

I'm writing a C program that reads the text in a file, and prints it to the screen in a formatted way. This is the code I have written:





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


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





int main()


{


char c;


FILE *book;


book=fopen("Tale.txt", "r");


fscanf(book, "%c", %26amp;c);


printf("%c", c);


while (fscanf(book, "%c", %26amp;c)!=EOF) {


printf("%c", c);


if (c=='.' || c==',' || c=='-') {


printf("\n"); }


}


printf("\n");


fclose(book);


system ("PAUSE");


return 0;


}





It works fine, but I wanted to take the fscanf inside the loop and have something like this:





while (c!=EOF) {


printf("%c", c);


if (c=='.' || c==',' || c=='-') {


printf("\n"); }


fscanf(book, "%c", %26amp;c);


}





But when I do this, the program doesn't stop at the end of the file, and keeps printing dots (the text in the file ends with a dot)





Can somebody tell me what's the problem here?

Problem with a simple C program?
Change to do/while construct since you're no longer checking the status of fscan():





fscanf(book, "%c", %26amp;c);


do {


printf("%c", c);


if (c=='.' || c==',' || c=='-') {


printf("\n"); }


while (fscanf(book, "%c", %26amp;c)!=EOF);


}
Reply:In your first bit of code, the test to see if you are at EOF is made using the return value of fscanf and not the value of the variable c.





fscanf returns the number of input items assigned so you could do something like:





int status = 1;





status = fscanf(...);


while( status )


{


:


:


status = fscanf(...)


}





You could also do:


while( !feof( book ) )


{


}





You will still need to do an initial scanf() before the while starts or you will have garbage as your first character out.
Reply:Your version that works is checking the return of fscanf, which is what you need to do to know when EOF is encountered.





Not sure what your were trying by putting fscanf inside the loop. What you should do is write it so you don't need two calls to fscanf. Something like this, if you want fscanf inside the loop:





int done = 0;


do {


if (fscanf(book,"%c",%26amp;c) != EOF) {


...


}


else done = 1;


} while (!done);





There are many ways you can set up the loop. The point is it's better to not treat the first character in the file as a special case.


Dev-C++ Execution Termination?

________________________________________...


Compiler: Default compiler


Building Makefile: "C:\Dev-Cpp\Makefile.win"


Executing make...


make.exe -f "C:\Dev-Cpp\Makefile.win" all


g++.exe -c "Hello code.cpp" -o "Hello code.o" -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/incl... -I"C:/Dev-Cpp/include/c++/3.4.2/backward... -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"





g++.exe "Hello code.o" -o "Hello World.exe" -L"C:/Dev-Cpp/lib" -mwindows





g++.exe "Hello code.o" -o "Hello World.exe" -L"C:/Dev-Cpp/lib" -mwindows





Execution terminated


Compilation successful


______________________________________...


That's the compile log.


here is the code.


______________________________________...


// my first program in C++





#include %26lt;iostream%26gt;


using namespace std;





int main ()


{


cout %26lt;%26lt; "Hello World!";


return 0;


}


______________________________________...


What's the problem?

Dev-C++ Execution Termination?
put this code after: cout %26lt;%26lt; "Hello World!"





for example:








#include %26lt;iostream%26gt;


using namespace std;





int main ()


{


cout %26lt;%26lt; "Hello World!";


cin.ignore(256, '\n');


cout %26lt;%26lt; "Press ENTER to continue..." %26lt;%26lt; endl;


cin.get();


return 0;


}





tested on DEV-C++
Reply:TRY THIS:





#include %26lt;iostream%26gt;


using namespace std;





int main ()


{


cout %26lt;%26lt; "Hello World!";


system ("pause");


return 0;


} Report It

Reply:there doesn't appear to be ANY problem. Execution terminated just means that it is finished doing what it is doing. note that it says "Compilation successful" after that. it means it worked. try running the program. it should work just fine.
Reply:Well, FER has the solution and I have the 2 possible explanations.





1. When you ran the program ( Execute / Run ) it probably popped open the DOS box and then closed it so fast that the human eye couldn't see it. It would do this since the line 'return 0;' in main does just that and Windows (being ever so tidy!) cleans it off the screen immediately.





2. On occasion, I've forgotten that I have to actually run it after I compile it!





The fix above holds the DOS box open until you hit a key, any key. Then it will close.


C program help?

Hello, I'm trying to simulate wheel of fortune in C. Its been years since I've used C. I need to randomly get a word from a file. How can I modify this code which just gets the first word from a text file?


int prepare_word(char word[], char puzzle[])


{


FILE* clues = NULL;


char file[200];


int numcount = 0;


char word[100];


while (!phraseFile)


{


printf("Enter the name of the file containing the secret phrase -%26gt; ");


scanf("%s", file);


// clues = fopen("d:/test.txt", "r");


clues = fopen(file, "r");


if (!clues) printf("\nSorry, I could not open %s, lets try again\n",file);


}


while (!feof(clues))


{


char c = ' ';


fscanf(clues, "%c", %26amp;c);


if ((int)c %26lt; 15) break;


if (c %26gt;= 'a' %26amp;%26amp; c %26lt;= 'z') /* convert lower case to upper case */


{


c = to_upper(c);


}


word[numcount] = c; /* place the solution character into the array */


if (c %26gt;= 'A' %26amp;%26amp; c %26lt;= 'Z')


{


word[numcount] = '*';


}


else /* it's not a letter */


{


puzzle[numcount] = c;


}


++numcount;


}


return numcount;


}

C program help?
Basically, you want to break this up into a couple of tasks:


1. Read each word from the file into an array of strings


2. Use rand() to generate a random number, and extreact that word from the array.





Step 1 is complicated by the fact that C doesn't have a very good set of string primitives. So you'll have to read each line of the file into a buffer, using fscanf(), then allocate memory for each word, based on its length, and copy the buffer into the newly allocated string.





basically (this won't compile)





/* Step 1 */


char *a[1000]; /* an array of 1000 pointers to strings */


char buffer[1024]; /* a temporary buffer */


int x=0; /* an index */


int wordcount=0; /* count of words */


while (!feof(file))


{


fscanf(file, "%s", buffer);


a[x] = malloc(strlen(buffer));


strcpy(a[x], buffer);


x++;


}


wordcount=x;





/* Step 2 */


x = rand() * worcount / RAND_MAX;


printf("Random word: %s\n", a[x]);

song downloads

Urgent C++ Help?

I need to code up the famous eightqueens problem w/O using goto statements.





#include %26lt;iostream%26gt;


using namespace std;








bool okay(int q[], int col){


for (int i=0 ; i %26lt; col; i++)


if( q[col] == q[i] || (col-i) == abs(q[col]-q[i])) return false;


return true;


}





void print(int q[], int s){








}


void backtrack(int q[], int col){








}


int main () {


int q[8] , c , i , j;


int cntr = 0;


q[0] = 0;


c =0;


c++;


while (c ==8) {


cntr++;


print(q,8);


break;


cout %26lt;%26lt; "Solution# " %26lt;%26lt; cntr %26lt;%26lt; ": ";


continue;


}


q[c] = -1;





q[c]++;





while ( q[c] == 8 ){ break;


backtrack(q,c);





c--;


if ( c== -1) exit (0);


continue;


/***************************************...


for (i -0 ; i %26lt;c ;i ++)


if (q[i] ==q[c] || c-i == abs(q[c] - q[i]) )


****************************************...


//put in ok function


okay(q,c);


cout %26lt;%26lt; "Solution# " %26lt;%26lt; cntr %26lt;%26lt; ": ";


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


cout %26lt;%26lt; q[i] %26lt;%26lt; " " ;


cout %26lt;%26lt; endl;


break;


c--;


if ( c == -1 ) exit (0);


}


return 0;


}

Urgent C++ Help?
Not to be harsh but this is a mess. Worrying about gotos is the least of your problems. You have written a program that effectively does nothing.





For starters:





int main ()


{


............





c =0;


c++; //why not just c = 1?





while (c ==8) //will never execute because c == 1!





q[c] = -1;


q[c]++; //again, why not just q[c] = 0?





while ( q[c] == 8 ) //again, won't execute because it is 0!





At least get this much running. Comment your code so you (and maybe us) have some idea where you are going with this.
Reply:Does not look easy. May be you can search project assignment website like http://askexpert.info/


C Programming Language: Reducing Boolean expressions?

We are asked to reduce all of the following Boolean expressions. I believe all of my answers are correct and are in the most reduced form, but I just want to make sure. Please let me know if all of the answers I have are correct, and for any that are not correct, please explain how to get to the correct solution.








Use DeMorgan's law to reduce the following Boolean expressions:





a) !A %26amp;%26amp; !B





ANSWER: !(A || B)





b) !A || !B





ANSWER: !(A %26amp;%26amp; B)





c) !(!A %26amp;%26amp; !B)





ANSWER: A || B





d) !(!A || !B)





ANSWER: A %26amp;%26amp; B





e) !(A != B %26amp;%26amp; C == D)





ANSWER: A == B || C != D





f) !(A %26lt; B %26amp;%26amp; C %26gt;= D)





ANSWER: A %26gt;=B || C %26lt; D








Use Distributive law to reduce the following Boolean expressions:





a) (A || B) %26amp;%26amp; (A || C)





A %26amp;%26amp; A || A %26amp;%26amp; C || B %26amp;%26amp; A || B %26amp;%26amp; C





ANSWER: A || A %26amp;%26amp; C || B %26amp;%26amp; A || B %26amp;%26amp; C (from idempotence of


A %26amp;%26amp; A)





b) A %26amp;%26amp; B || A %26amp;%26amp; D





(A || A) %26amp;%26amp; (A || D) %26amp;%26amp; (B || A) %26amp;%26amp; (B || D)





ANSWER: A %26amp;%26amp; (A || D) %26amp;%26amp; (B || A) %26amp;%26amp; (B || D) (from


idempotence of A ||A)





c) a %26gt; b %26amp;%26amp; c != d || e %26lt;= f %26amp;%26amp; a %26gt; b





a %26gt; b %26amp;%26amp; c != d || a %26gt; b %26amp;%26amp; e %26lt;= f (commutativity)





(a %26gt; b || a %26gt; b) %26amp;%26amp; (a %26gt; b || e %26lt;= f) %26amp;%26amp; (c != d || a %26gt; b) %26amp;%26amp;


(c != d || e %26lt;= f)





ANSWER: a %26gt; b %26amp;%26amp; (a %26gt; b || e %26lt;= f) %26amp;%26amp; (c != d || a %26gt; b) %26amp;%26amp;


(c != d || e %26lt;= f)


(idempotence)

C Programming Language: Reducing Boolean expressions?
d)!(!A || !B)


=


(A || B)





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


a)(A || B) %26amp;%26amp; (A || C)


=


A || (B %26amp;%26amp; C)





b)A %26amp;%26amp; B || A %26amp;%26amp; D


=


A %26amp;%26amp; (B || D)





c)a %26gt; b %26amp;%26amp; c != d || e %26lt;= f %26amp;%26amp; a %26gt; b


=


(a %26gt; b) %26amp;%26amp; (c != d || e %26lt;= f)


C+11/(c-3)(c+2) + -3c^2/c+2?

LCD of Rational Expressions?


c+11/(c-3)(c+2) + -3c^2/c+2


a: (c + 2)


b: (c - 3)(c - 3)


c: (c - 3) (c + 2)





2:


f-2/(f + 6)(f + 3) - -1/f+3


a: (f + 6) (f + 3)


b: (f + 3)(f + 3)


c: (f + 3)^2





3:


4h/h-12 + -9/ y^2 - 4y - 96


a: (y - 4) (y - 12) (y + 8)


b: (y - 4) (y - 12)(y - 4)


c: (y - 12) (y + 8)





4:


6/ e^2 - 6e - 27 - -8/ e^2 - 9e - 36


a: (e + 3) (e - 12)(e + 3)


b: (e - 9) (e + 3) (e - 12)


c: (e + 3) (e - 12)^2





5:


-1/j-4 + j-7/ j^2 + 6j - 40


a: (j + 4)(j + 10)


b: (e + 3)(j + 10)


c: (j + 10) (j - 4)

C+11/(c-3)(c+2) + -3c^2/c+2?
1) c


2) a


3) c ? (something wrong with your expression)


4) b


5) b (only j+10)


C C C C C C C C C C C C C C C c?

I'm using a Xp and turbo c++ compiler and now


void main()


{


int i = 1,j = 2;


printf("%d %d");


getch();


}


when i run the above program the output is





2 1


why??

C C C C C C C C C C C C C C C c?
The program invokes undefined behaviour, anything could happen.





My guess is that what is happening in this case is that as both i and j are local variables they are being created on the stack and when printf is called a pointer to the format string is also created on the stack then the printf function is passed a pointer to that entry.





Now printf is a varargs function and it reads the first argument as requiring two further integers, which it is expecting to find on the stack, but (Because they were not created at function call time (but printf has no way to know that)), it pops the first two available arguments off the stack and prints them.





However this is not required behavious and in fact the behaviour may even change from one run to the next.





Regards, Dan.
Reply:Because you're formatting as a double instead of an integer seems the most logical answer. It's been a long time for me and I never liked C but I had Turbo C once.
Reply:ur program shd be like that


void main()


{


int i=1,j=2;


printf("%d %d",j ,i);


getch();


}


then o/p is like that:-


2 1


else in my thinking there shd be no o/p
Reply:This code will print two random integers on the stdout. printf("%d %d",i,j) will print 1 2 and printf("%d %d",j,i) will print 2 1(simply because this is the output you requested!).
Reply:Compiler dependent...
Reply:You need to tell it which variables you want it to print i.e %i or %j
Reply:You should be getting 19.

easter cards

C programme...?

I wrote a programme of calculator in C language. And it has two or three error so pl do correct them. And send me correct answer.


Prog. is:





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


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


void calsum(int a,int b);


void calsub(int a,int b);


void calmul(int a,int b);


void caldiv(float a,float b);


/*void calmod(int a,int b); */


void calsqr(int a);


void calcue(int a);


void calfac(long int a);


void main()


{


int l,m,n,ch;


clrscr();


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


printf("\t\t Menu ");


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


printf("\t\t 1 Add\n");


printf("\t\t 2 Sub\n");


printf("\t\t 3 Mul\n");


printf("\t\t 4 Div\n");


printf("\t\t 5 Factorail\n");


printf("\t\t 6 Square\n");


printf("\t\t 7 Cube\n");


/*printf("\t\t 8 Mod\n"); */


printf("\t\t Enter your choice \n");


scanf("%d",ch);


printf("\t\t =====\t");


switch(ch)


{


case 1:


printf("\t\tEnter two number : ");


scanf("%d%d",%26amp;l,%26amp;m);


calsum(l,m);


break;


case 2:


printf("\t\tEnter two numbers " );


scanf("%d%d",%26amp;l,%26amp;m);


calsub(l,m);


break;


case 3:


printf("\t\t Enter two numbers" );


scanf("%d%d",%26amp;l,%26amp;m);


calmul(l,m);


break;


case 4:


printf("\t\t Enter two numbers : ");


scanf("%s%s",%26amp;l,%26amp;m);


caldiv(l,m);


break;


case 5:


printf("\t\t Enter any no : ");


scanf("%ld",%26amp;l);


calfac(l);


break;


case 6:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calsqr(l);


break;


case 7:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calcue(l);


break;


/*


case 8:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calmod(l);


break;*/


default:


printf("\t It is wrong choice : ");


}


getch();


}


void calsum(int a,int b)


{


int c;


c=a+b;


printf("Addition=%d",c);


}


void calsub(int a,int b)


{


int c;


c=a-b;


printf("Substance=%d",c);


}


void calmul(int a,int b)


{


int c;


c=a*b;


printf("Multiply=%d",c);


}


void caldiv(float a,float b)


{


float c;


c=a/b;


printf("Divide=%d",c);


}


void calsqr(int a)


{


int c;


c=a*a;


printf("Square=%d",c);


}


void calcue(int a)


{


int c;


c=a*a*a;


printf("Cube=%d",c);


} /*


void calmod(int a,int b)


{


int c;


c=a%b;


printf("Mod=%d",c);


} */


void calfac(long int a)


{


long int i,fct;


fct=1;


for(i=a;i%26gt;=1;i--)


{


fct=fct*i;


}


printf("Factorail=%d",fct);


}

C programme...?
/*Simple Calculator*/





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


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


void main()


{


int a,b,C;


char ch;


clrscr();


printf("Enter any two numbers:\n");


scanf("%d%d",%26amp;a,%26amp;b);


printf("The operation to be performed is: \n");


fflush(stdin);


scanf("%c",%26amp;ch);


switch(ch)


{


case '+':


C=a+b;


break;


case '-':


C=a-b;


break;


case '*':


C=a*b;


break;


case '/':


C=a/b;


break;


default:


printf("character is invalid");


}


printf("Answer is %d",C);


getch();


}





/* Output */





Enter any two numbers:


24 2


Enter any character


/


Answer is 12


C programme...?

I wrote a programme of calculator in C language. And it has two or three error so pl do correct them. And send me correct answer.


Prog. is:





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


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


void calsum(int a,int b);


void calsub(int a,int b);


void calmul(int a,int b);


void caldiv(float a,float b);


/*void calmod(int a,int b); */


void calsqr(int a);


void calcue(int a);


void calfac(long int a);


void main()


{


int l,m,n,ch;


clrscr();


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


printf("\t\t Menu ");


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


printf("\t\t 1 Add\n");


printf("\t\t 2 Sub\n");


printf("\t\t 3 Mul\n");


printf("\t\t 4 Div\n");


printf("\t\t 5 Factorail\n");


printf("\t\t 6 Square\n");


printf("\t\t 7 Cube\n");


/*printf("\t\t 8 Mod\n"); */


printf("\t\t Enter your choice \n");


scanf("%d",ch);


printf("\t\t =====\t");


switch(ch)


{


case 1:


printf("\t\tEnter two number : ");


scanf("%d%d",%26amp;l,%26amp;m);


calsum(l,m);


break;


case 2:


printf("\t\tEnter two numbers " );


scanf("%d%d",%26amp;l,%26amp;m);


calsub(l,m);


break;


case 3:


printf("\t\t Enter two numbers" );


scanf("%d%d",%26amp;l,%26amp;m);


calmul(l,m);


break;


case 4:


printf("\t\t Enter two numbers : ");


scanf("%s%s",%26amp;l,%26amp;m);


caldiv(l,m);


break;


case 5:


printf("\t\t Enter any no : ");


scanf("%ld",%26amp;l);


calfac(l);


break;


case 6:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calsqr(l);


break;


case 7:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calcue(l);


break;


/*


case 8:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calmod(l);


break;*/


default:


printf("\t It is wrong choice : ");


}


getch();


}


void calsum(int a,int b)


{


int c;


c=a+b;


printf("Addition=%d",c);


}


void calsub(int a,int b)


{


int c;


c=a-b;


printf("Substance=%d",c);


}


void calmul(int a,int b)


{


int c;


c=a*b;


printf("Multiply=%d",c);


}


void caldiv(float a,float b)


{


float c;


c=a/b;


printf("Divide=%d",c);


}


void calsqr(int a)


{


int c;


c=a*a;


printf("Square=%d",c);


}


void calcue(int a)


{


int c;


c=a*a*a;


printf("Cube=%d",c);


} /*


void calmod(int a,int b)


{


int c;


c=a%b;


printf("Mod=%d",c);


} */


void calfac(long int a)


{


long int i,fct;


fct=1;


for(i=a;i%26gt;=1;i--)


{


fct=fct*i;


}


printf("Factorail=%d",fct);


}

C programme...?
i really can't find any thing wrong in here


but if u can send the error message and the line number i may be able to help u
Reply:1. in scan statement of switch case


correction:- scanf("%d",%26amp;ch);


2. mistake in caldiv function


correction:-


void caldiv(int a,int b)


{


float c;


c=a/b;


printf("Divide=%f",c);


}


4.mistake in case 4 in scanf statement,


correction:- scanf("%d%d",%26amp;l,%26amp;m); Report It

Reply:scanf("%s%s",%26amp;l,%26amp;m);


should not be used Report It

Reply:you have not put %26amp; in the scanf statement above the switch casae
Reply:It's "program", not "programme".





Rawlyn.


C programme...?

I wrote a programme of calculator in C language. And it has two or three error so pl do correct them. And send me correct answer.


Prog. is:





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


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


void calsum(int a,int b);


void calsub(int a,int b);


void calmul(int a,int b);


void caldiv(float a,float b);


/*void calmod(int a,int b); */


void calsqr(int a);


void calcue(int a);


void calfac(long int a);


void main()


{


int l,m,n,ch;


clrscr();


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


printf("\t\t Menu ");


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


printf("\t\t 1 Add\n");


printf("\t\t 2 Sub\n");


printf("\t\t 3 Mul\n");


printf("\t\t 4 Div\n");


printf("\t\t 5 Factorail\n");


printf("\t\t 6 Square\n");


printf("\t\t 7 Cube\n");


/*printf("\t\t 8 Mod\n"); */


printf("\t\t Enter your choice \n");


scanf("%d",ch);


printf("\t\t =====\t");


switch(ch)


{


case 1:


printf("\t\tEnter two number : ");


scanf("%d%d",%26amp;l,%26amp;m);


calsum(l,m);


break;


case 2:


printf("\t\tEnter two numbers " );


scanf("%d%d",%26amp;l,%26amp;m);


calsub(l,m);


break;


case 3:


printf("\t\t Enter two numbers" );


scanf("%d%d",%26amp;l,%26amp;m);


calmul(l,m);


break;


case 4:


printf("\t\t Enter two numbers : ");


scanf("%s%s",%26amp;l,%26amp;m);


caldiv(l,m);


break;


case 5:


printf("\t\t Enter any no : ");


scanf("%ld",%26amp;l);


calfac(l);


break;


case 6:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calsqr(l);


break;


case 7:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calcue(l);


break;


/*


case 8:


printf("\t\t Enter any no : ");


scanf("%d",%26amp;l);


calmod(l);


break;*/


default:


printf("\t It is wrong choice : ");


}


getch();


}


void calsum(int a,int b)


{


int c;


c=a+b;


printf("Addition=%d",c);


}


void calsub(int a,int b)


{


int c;


c=a-b;


printf("Substance=%d",c);


}


void calmul(int a,int b)


{


int c;


c=a*b;


printf("Multiply=%d",c);


}


void caldiv(float a,float b)


{


float c;


c=a/b;


printf("Divide=%d",c);


}


void calsqr(int a)


{


int c;


c=a*a;


printf("Square=%d",c);


}


void calcue(int a)


{


int c;


c=a*a*a;


printf("Cube=%d",c);


} /*


void calmod(int a,int b)


{


int c;


c=a%b;


printf("Mod=%d",c);


} */


void calfac(long int a)


{


long int i,fct;


fct=1;


for(i=a;i%26gt;=1;i--)


{


fct=fct*i;


}


printf("Factorail=%d",fct);


}

C programme...?
One error is that on this line:





scanf("%d",ch);





you need to put a %26amp; in front of ch.


Check this out C&A, what is your animal from the Chinese Zodiac?

I was thinking about Fruits Basket and I decided to ask this question.





Are you like your animal from the Chinese Zodiac?





I couldn't list all the dates-sorry.





Rat


1984,1996


http://www.c-c-c.org/chineseculture/zodi...





Ox


1985,1997


http://www.c-c-c.org/chineseculture/zodi...





Tiger


1986,1998


http://www.c-c-c.org/chineseculture/zodi...





Rabbit


1987,1999


http://www.c-c-c.org/chineseculture/zodi...





Dragon


1988,2000


http://www.c-c-c.org/chineseculture/zodi...





Snake


1989,2001


http://www.c-c-c.org/chineseculture/zodi...





Horse


1990,2002


http://www.c-c-c.org/chineseculture/zodi...





Ram


1991,2003


http://www.c-c-c.org/chineseculture/zodi...





Monkey


1992,2004


http://www.c-c-c.org/chineseculture/zodi...





Rooster


1993,2005


http://www.c-c-c.org/chineseculture/zodi...





Dog


1994,2006


http://www.c-c-c.org/chineseculture/zodi...





Pig


1995,2007


http://www.c-c-c.org/chineseculture/zodi...

Check this out C%26amp;A, what is your animal from the Chinese Zodiac?
Im a dog. Lol, that sounds weird.





People born in the Year of the Dog possess the best traits of human nature. %26lt;%26lt;(Yay)





They have a deep sense of loyalty, are honest, and inspire other people's confidence because they know how to keep secrets. %26lt;%26lt;(Yeah, I can keep secrets, and I am generally honest, if not blunt. Definatly loyal)





But Dog People are somewhat selfish, terribly stubborn, and eccentric. %26lt;%26lt;(I'm also arrogant n_n)





They care little for wealth, yet somehow always seem to have money. %26lt;%26lt;(Yeah, money doesn't matter to me, its enjoying what I do. Life's too short)





They can be cold emotionally and sometimes distant at parties.%26lt;%26lt;( Oh yes, I can be cold. I actually scare people sometimes without even trying to be scary. I suppose I get it from my dad)





They can find fault with many things and are noted for their sharp tongues. Dog people make good leaders.%26lt;%26lt; (Definatly a good leader. And yeah, going back to the blunt topic again, I do have a sharp tongue. I also tend to scold people. It habitual.)





Wow, I never expected it to be so accurate! XD That's pretty cool.





~The Otaku Twins~
Reply:ima horse
Reply:dog......1994 ALL DA WAY BABY!!!!!!%26gt;.%26lt;
Reply:snake


=====:]%26lt;
Reply:Rooster. Yay?
Reply:I am a rooster, too! I looked it up a long while back :D





BTW, your links don't work. Could you please fix them? :)
Reply:YAY~!


I'm a wittle piggy!


Oink, oink!





Or as they say in Japan...


Boi~!


Link-


http://www.flickr.com/photos/34846546@N0...





There I am!


The cute little pink thing!


See me! See!!!


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





All about the boar-





THE BOAR


Boars are self-reliant, very sociable, dependable,and extremely determined. Boars are peace lovers and don't hold grudges. They hate arguments, tense situations, and try to bring both sides together. In life they make deep and long-lasting friendships. Boars enjoy social gatherings of all kinds, and look for parties to attend. In fact, Boars must watch themselves so that their incessant pursuit of pleasure doesn't interfere with other aspects of their lives. Boars belong to clubs and they make terrific fund raisers. They have a real knack for charity and social work. Boars always listen to problems. They won't mind getting involved and try to help. Boars have big hearts. A problem that Boars have is that they are too innocent and naive. Being honest and trustworthy themselves, they have a hard time understanding the motives of those with less scruples.





Boars do not dazzle or shimmer. They possess the old-fashioned chivalry that grows on you until you totally depend on it. It is so easy to trust Boars. They have a calm expression and a sincere manner. They are blessed with endurance and work steadily at tasks with great patience until completion.





Once Boars arrive at a decision nothing stops them. Of course, before they reach that decision they weigh all the pros and cons. They definitely want to avoid complications. Sometimes they ponder so long they miss the opportunity altogether. But never mind, Boars always believe in miracles, and miracles always happen to them. Fortune favors Boars. They always find someone to help them without having to beg.





In romance, if not careful, Boars may be taken advantage of. Boars trust everyone and believe everything they hear. They are unselfish and enjoy helping their friends. Although they are gullible, they are actually quite intelligent and know how to take care of their own. If you hurt their feelings, Boars often carry the pain for years. They have a hard time saying no to those of concern. Often they wish they had said no.





Boars will always be looking for ways to work off all their extra energy. They work and play hard. Even if they lose everything, Boars manage to bounce back. Their life path supply them with all they need. The Chinese believe Boars own the Horn of Plenty.
Reply:Dog!
Reply:rooster (1993)
Reply:Rooster.


obviously im in 1993 :)
Reply:1994: Dog


People born in the Year of the Dog possess the best traits of human nature. They have a deep sense of loyalty, are honest, and inspire other people¡¦s confidence because they know how to keep secrets. But Dog People are somewhat selfish, terribly stubborn, and eccentric. They care little for wealth, yet somehow always seem to have money. They can be cold emotionally and sometimes distant at parties. They can find fault with many things and are noted for their sharp tongues. Dog people make good leaders. They are compatible with those born in the Years of the Horse, Tiger, and Rabbit





soooo true!


well, i care a lot about money %26amp; i'm never distant at parties [hell, i hog the spotlight] but everything else is true.


same with the 2nd definition except that i'm not private.





"people are either my friend or my enemy, there's no in between"


who knew an internet site can describe me so well?
Reply:i'm a dog wooff
Reply:Dog ♥
Reply:I'm a monkey :)


%26gt;%26gt; I've been taking monkey jokes from my family for nearly five years already ^_^
Reply:I am a snake, that is pretty cool





1989 of course
Reply:im rooster too. lol





OVER-PRIDEFUL DEFINITELY EXPLAINS ME!
Reply:I'm the pig/boar!
Reply:a monkey lol. they say that they are the smartest of the group. YAY
Reply:Pig. ^ ~ ^





This reminds me of fruits basket!
Reply:I'm the ram! I was born in 1991. But I think that some of what is said about me is completely wrong! I am NOT puzzled about life and I happen to be very good when it comes to speech! I do come off as a bit shy sometimes though, I'm guilty of that! :-P
Reply:Im a snake

brenda song

"Smitfraud-C. Toolbar888" and random IE windows?

I am a webmaster, and I am trying to build my website, but my computer keeps acting weird and seems to be going into random hybernation for no reason in the middle of ANYTHING. I tried to do a scan to see if there was any virus/malware that was causing this, but nothing came up.





When I ran Spybot Search and Destroy, "Smitfraud-C. Toolbar888" came up... for the bazillionth time! What do I do??? Also, random websites just pop up in new windows, and I can't stop them. Even pop-up blockers with by Browser and Google Toolbar can't stop them!





Here is some info that I got from HijackThis (You may find Vista applications listed due to the fact that I downloaded the Vista Transformation package from WindowsX):





Logfile of HijackThis v1.99.1


Scan saved at 11:13:27 AM, on 06/05/2007


Platform: Windows XP SP2 (WinNT 5.01.2600)


MSIE: Internet Explorer v7.00 (7.00.6000.16441)





Running processes:


C:\WINDOWS\System32\smss.exe


C:\WINDOWS\system32\winlogon.exe


C:\WINDOWS\system32\services.exe


C:\WINDOWS\system32\lsass.exe


C:\WINDOWS\system32\svchost.exe


C:\WINDOWS\System32\svchost.exe


C:\WINDOWS\system32\spoolsv.exe


C:\Program Files\FSI\F-Prot\fpavupdm.exe


C:\Program Files\Google\Common\Google Updater\GoogleUpdaterService.exe


C:\WINDOWS\system32\PSIService.exe


C:\WINDOWS\system32\wscntfy.exe


C:\windows\system\hpsysdrv.exe


C:\WINDOWS\system32\S3tray2.exe


C:\WINDOWS\ALCXMNTR.EXE


C:\Program Files\Max Registry Cleaner\MaxRCSystemTray.exe


C:\Program Files\LClock\LClock.exe


C:\Program Files\VisualTooltip\VisualToolTip.exe


C:\Program Files\Styler\Styler.exe


C:\Program Files\Spybot - Search %26amp; Destroy\TeaTimer.exe


C:\Program Files\Zero Knowledge\Freedom\Freedom.exe


C:\WINDOWS\system32\ctfmon.exe


C:\DOCUME~1\Owner\LOCALS~1\Temp\{34960... Start Orb.exe


C:\Program Files\Google\Google Updater\GoogleUpdater.exe


C:\DOCUME~1\Owner\LOCALS~1\Temp\{689E0...


C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files\Content.IE5\MDLAAK1Y\Windows-KB890...


c:\5f2b4d98fc082856d2a86ba268e7dad0\mr...


C:\WINDOWS\system32\MRT.exe


C:\WINDOWS\explorer.exe


C:\Program Files\Internet Explorer\iexplore.exe


C:\Documents and Settings\Owner\My Documents\hijackthis_199\HijackThis.exe





R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = http://srch-us7.hpwis.com/


R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = http://go.microsoft.com/fwlink/?LinkId=5...


R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Bar = http://srch-us7.hpwis.com/


R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page = http://go.microsoft.com/fwlink/?LinkId=5...


R1 - HKCU\Software\Microsoft\Windows\CurrentV... Settings,ProxyOverride = localhost


O3 - Toolbar: %26amp;Google - {2318C2B1-4965-11d4-9B18-009027A5CD4F} - c:\program files\google\googletoolbar1.dll


O3 - Toolbar: StylerToolBar - {D2F8F919-690B-4EA2-9FA7-A203D1E04F75} - C:\Program Files\Styler\TB\StylerTB.dll


O4 - HKLM\..\Run: [hpsysdrv] c:\windows\system\hpsysdrv.exe


O4 - HKLM\..\Run: [HotKeysCmds] C:\WINDOWS\System32\hkcmd.exe


O4 - HKLM\..\Run: [StorageGuard] "C:\Program Files\VERITAS Software\Update Manager\sgtray.exe" /r


O4 - HKLM\..\Run: [Recguard] C:\WINDOWS\SMINST\RECGUARD.EXE


O4 - HKLM\..\Run: [nwiz] nwiz.exe /install


O4 - HKLM\..\Run: [HPDJ Taskbar Utility] C:\WINDOWS\System32\spool\drivers\w32x86...


O4 - HKLM\..\Run: [S3TRAY2] S3tray2.exe


O4 - HKLM\..\Run: [AlcxMonitor] ALCXMNTR.EXE


O4 - HKLM\..\Run: [QuickFinder Scheduler] "C:\Program Files\WordPerfect Office X3\Programs\QFSCHD130.EXE"


O4 - HKLM\..\Run: [RCAutoLiveUpdate] C:\Program Files\Max Registry Cleaner\MaxLiveUpdateRC.exe -AUTO


O4 - HKLM\..\Run: [RCSystemTray] C:\Program Files\Max Registry Cleaner\MaxRCSystemTray.exe


O4 - HKLM\..\Run: [LClock] C:\Program Files\LClock\LClock.exe


O4 - HKLM\..\Run: [Vista Sidebar] C:\Program Files\Vista Sidebar\sidebar.exe


O4 - HKLM\..\Run: [VisualTooltip] C:\Program Files\VisualTooltip\VisualToolTip.exe


O4 - HKLM\..\Run: [Blaero Start Orb] C:\Program Files\Blaero Start Orb\Blaero Start Orb.exe


O4 - HKLM\..\Run: [Styler] C:\Program Files\Styler\Styler.exe


O4 - HKLM\..\Run: [ApachInc] rundll32.exe "C:\WINDOWS\system32\ppjickkp.dll",reals...


O4 - HKLM\..\Run: [MSRegScan] C:\Program Files\CMK Demo\RSCMKDemo.exe


O4 - HKLM\..\Run: [j4211039] rundll32 C:\WINDOWS\system32\j4211039.dll sook


O4 - HKLM\..\Run: [setup] rundll32.exe "C:\WINDOWS\system32\nyfblbrr.dll",reals...


O4 - HKCU\..\Run: [SpybotSD TeaTimer] C:\Program Files\Spybot - Search %26amp; Destroy\TeaTimer.exe


O4 - HKCU\..\Run: [Zero Knowledge Freedom] C:\Program Files\Zero Knowledge\Freedom\Freedom.exe


O4 - HKCU\..\Run: [swg] C:\Program Files\Google\GoogleToolbarNotifier\Googl...


O4 - HKCU\..\Run: [MSMSGS] "C:\Program Files\Messenger\msmsgs.exe" /background


O4 - HKCU\..\Run: [ctfmon.exe] C:\WINDOWS\system32\ctfmon.exe


O4 - Startup: Adobe Gamma.lnk = C:\Program Files\Common Files\Adobe\Calibration\Adobe Gamma Loader.exe


O4 - Startup: Vista sidebar.lnk = C:\Program Files\Vista Sidebar\sidebar.exe


O4 - Global Startup: Adobe Reader Speed Launch.lnk = C:\Program Files\Adobe\Reader 8.0\Reader\reader_sl.exe


O4 - Global Startup: Adobe Reader Synchronizer.lnk = C:\Program Files\Adobe\Reader 8.0\Reader\AdobeCollabSync.exe


O4 - Global Startup: Google Updater.lnk = C:\Program Files\Google\Google Updater\GoogleUpdater.exe


O4 - Global Startup: hp center UI.lnk = C:\Program Files\hp center\137903\Shadow\ShadowBar.exe


O4 - Global Startup: Microsoft Office.lnk = C:\Program Files\Microsoft Office\Office10\OSA.EXE


O4 - Global Startup: QuickBooks Update Agent.lnk = C:\Program Files\Common Files\Intuit\QuickBooks\QBUpdate\qbupdat...


O4 - Global Startup: Quicken Scheduled Updates.lnk = C:\Program Files\Quicken\bagent.exe


O8 - Extra context menu item: E%26amp;xport to Microsoft Excel - res://C:\PROGRA~1\MICROS~2\Office10\EXCE...


O8 - Extra context menu item: Open with WordPerfect - C:\Program Files\WordPerfect Office X3\Programs\WPLauncher.hta


O9 - Extra button: Research - {92780B25-18CC-41C8-B9BE-3C9C571A8263} - C:\PROGRA~1\MICROS~2\OFFICE11\REFIEBAR.D...


O9 - Extra button: Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:\Program Files\Messenger\msmsgs.exe


O9 - Extra 'Tools' menuitem: Windows Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:\Program Files\Messenger\msmsgs.exe


O11 - Options group: [INTERNATIONAL] International*


O12 - Plugin for .spop: C:\Program Files\Internet Explorer\Plugins\NPDocBox.dll


O16 - DPF: {56336BCB-3D8A-11D6-A00B-0050DA18DE71} - http://software-dl.real.com/233de769...p...


O16 - DPF: {644E432F-49D3-41A1-8DD5-E099162EEEC5} (Symantec RuFSI Utility Class) - http://security.symantec.com/sscv6/S.../...


O16 - DPF: {6E32070A-766D-4EE6-879C-DC1FA91D2FC3} (MUWebControl Class) - http://update.microsoft.com/microsof...?...


O16 - DPF: {9A9307A0-7DA4-4DAF-B042-5009F29E09E1} (ActiveScan Installer Class) - http://www.pandasoftware.com/activescan/...


O16 - DPF: {FD0B6769-6490-4A91-AA0A-B5AE0DC75AC9} (Performance Viewer Activex Control) - https://secure.logmein.com/activex/RACtr...


O17 - HKLM\System\CCS\Services\Tcpip\..\{BDB36... NameServer = 192.168.1.254


O23 - Service: Adobe LM Service - Adobe Systems - C:\Program Files\Common Files\Adobe Systems Shared\Service\Adobelmsvc.exe


O23 - Service: F-Prot Antivirus Update Monitor - FRISK Software - C:\Program Files\FSI\F-Prot\fpavupdm.exe


O23 - Service: Google Updater Service (gusvc) - Google - C:\Program Files\Google\Common\Google Updater\GoogleUpdaterService.exe


O23 - Service: NVIDIA Driver Helper Service (NVSvc) - NVIDIA Corporation - C:\WINDOWS\System32\nvsvc32.exe


O23 - Service: ProtexisLicensing - Unknown owner - C:\WINDOWS\system32\PSIService.exe





P.S. This is a shared work-related computer on a network, so I don't know what all may be listed above or downloaded on here that may not be "good," ya know?





Thanks for any help!

"Smitfraud-C. Toolbar888" and random IE windows?
Hey, I hope I can help. It kind of depends on what you've already tried, but here is what I would do (my first step):


http://www.google.com/search?q=Smitfraud...





Then read forums about what people did. I would compare my services to their services, see what matches, and then search those fishy services to see if there's some kind of alert for it. There's http://www.processlibrary.com/directory/... that pretty much lists all possible processes that you can check. It's kind of fun to see what everything is and by canceling non-esential ones at startup you might notice better performance anyway.





Hopefully you've already fixed this problem, but, after trying some stuff on google and letting me know what you've tried, I'd be glad to help.
Reply:get this.


http://www.bleepingcomputer.com/files/sm...





Reboot in to safe mode and run it. it will remove SmitFraud.
Reply:Download:





Use this URL to download the latest version (the file contains both English and French versions):


http://siri.urz.free.fr/Fix/SmitfraudFix...








Mirrors: Alternate official download locations for Smitfraudfix.zip


http://siri.geekstogo.com/SmitfraudFix.e...


http://downloads.securitycadets.com/Smit...


Zebulon.fr


I had 4 loritabs left from the month before to be taken as needed for pain, they sent my test off to c.?

Im trying to get pregnate and been weining myself off all medications only taking them when im really hurting.I dont c that she can violate me for taking what is perscribed to me.The only problem i can c is that instead having taken to many that i didnt take enough (through there eyes ofcourse) there are people that dont abuse medications out here and then theres idiots that make people like me have to live in fear for taking there own medication.Do you think that she will violate me and what will they do will they take me right then or give me time to make arrangments for my kids?

I had 4 loritabs left from the month before to be taken as needed for pain, they sent my test off to c.?
If your prescription says it is to be taken "as needed" then a P.O. cannot say you have not been taking "enough". The doctors determine how much and when and how often. Just have your prescription or get a copy of your medical records. I think you'll be fine.


Sadlier-Oxford Vocab Workshop New Edition Level C Units 14-15 Answers needed!?

Hey I was wondering if anyone knew a website where i can get Vocab New Edition Level C Units 14-15 answers. If someone can post a link or something to a website that shows these answers it would be very appreciated. Thank-You!

Sadlier-Oxford Vocab Workshop New Edition Level C Units 14-15 Answers needed!?
http://cvoproweb.com/school.html


Go there and choose your level of Vocab Answers


You can choose:


Level C


Level D


Level E


Level F


Level G


Level H
Reply:instead of looking for the answers and spending all this time looking just do it!!!!!


Sadlier-Oxford Vocab Workshop New Edition Level C Units 14-15 Answers needed!?

Hey I was wondering if anyone knew a website where i can get Vocab New Edition Level C Units 14-15 answers. If someone can post a link or something to a website that shows these answers it would be very appreciated. Thank-You!

Sadlier-Oxford Vocab Workshop New Edition Level C Units 14-15 Answers needed!?
http://cvoproweb.com/school.html


Go there and choose your level of Vocab Answers


You can choose:


Level C


Level D


Level E


Level F


Level G


Level H
Reply:instead of looking for the answers and spending all this time looking just do it!!!!!

bouquet

How does ax^2+bx+c=0 become the quadratic formula?

What method is used to get the quadratic formula from ax^2+bx+c=0 ?

How does ax^2+bx+c=0 become the quadratic formula?
Completing the square.
Reply:ax^2 +bx+c=0





a=1


b=1


c=1





apply it to the quadratic formula:





x= -b+/- Root of (b^2-4ac)


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


2a





You just have to get the coefficients of the equation when it is in the general form:





ax^2 + bx+ c =0
Reply:Mo is right





you can see the steps at http://www.math-help.info/Proof_of_Quadr...
Reply:Solve this by completing the square.


ax^2 + bx = -c


x^2 + b/a * x = -c/a





x^2 + b/a * x + b^2/4a^2 = - c/a + b^2/4a^2





(x + b/2a)^2 = [b^2 - 4ac}/4a^2





and solving for x:





(x - b/2a) = +/- sqrt[b^2 - 4ac]/2a





x = -b/2a +/- sqrt[b^2 - 4ac]/2a
Reply:The first answer is correct, though a little brief.





axx + bx + c = 0


xx + bx/a + c/a = 0


xx + bx/a + bb/4aa - bb/4aa + c/a = 0


(x+b/2a)^2 - bb/4aa + c/a = 0


(x+b/2a)^2 = bb/4aa - c/a


(x+b/2a)^2 = (bb-4ac)/(4aa)


x + b/2a = (+/-) (bb-4ac)^0.5/(2a)


x = (-b +/- (bb-4ac)^0.5)/2a
Reply:You'd complete the square:





ax² + bx + c = 0





Subtract both sides by c and then divide both sides of that by a:





ax² + bx = -c


x² + (b/a)x = -c/a





To complete the square, you add to both halves of the equation the square of half the coefficient of x:





x² + (b/a)x + (b/2a)² = (b/2a)² - c/a





Factor the left half, perform the subtraction on the right half:





(x + (b/2a))² = b²/4a² - c/a


(x + (b/2a))² = b²/4a² - 4ac/4a²


(x + (b/2a))² = (b² - 4ac)/4a²





Now take the square root of both halves:





x + (b/2a) = ±√[(b² - 4ac)/4a²]





simplify





x = (-b/2a) ±√[(b² - 4ac)] / 2a


x = [-b ±√(b² - 4ac)] / 2a





That's how the quadratic equaton is derived.
Reply:check this out


http://www.csm.astate.edu/algebra/qform....


My pug just had a c-section and wont nurse her pups, help!?

This is mine and my pugs second litter, after 2 hours of straining today she had to get a c-section ( she also was spayed ) The vet, to my suprise said she should nurse to pups, her last litter she had the pups with no problem but didnt nurse them till day 3. This time I put a pup next to her and she crys! She seems to be in pain, and un interessed in the pups! The pups are 2 hours old ( we just go home from the vet ) and still have not ate. I have some milk and bottles on their way to me. But Im worried. Is she not nursing because of the cut down her belly ( even thought the vet said it should not be a problem ) or is it just because she dosent want to quit yet/

My pug just had a c-section and wont nurse her pups, help!?
She may have lost interest in them because she has just gotten a surgery. Feed the puppies, but keep them with her. She may become interested after a few days.
Reply:Unfortunately your vet did a midline incision. The side incisions prevent this problem.


You will have to supplement and ask for some Metacam to make her more comfortable. Hopefully she will be able to bond with them, and will nurse when the pain can be controlled with medication.
Reply:She may be under stress and in pain. If you lay the puppies in the "area" and she walks away and does not feed them they could be causing her unknown pain by feeding, which is unlikely. The biggest problem could be the stress. Keep the puppies near her but closed off so they can't feed. Bottle feed them with puppy milk substitute on your own. Occasionally put a pup next to her and if she acts the same go back to putting the pup in another enclosed area. If she continues strange behavior make sure to consult your vet. Good Luck!
Reply:You said she didn't nurse the first litter til day 3. Sounds like this is a repeat performance. The c-section should not prevent her from nursing. Some dogs just aren't cut out to be good mom's.





The Vet can give you a sedative, to give her, if you want to help her nurse, or you will have to take over being Mom.





Best of luck.
Reply:best to feed the puppies yourself with the bottles, and make a call to your vet to make sure everythings alright! maybe shes in too much pain to be able to take care of her young!
Reply:If she delivered pups via c-section and was spayed all in the same surgery, you're lucky she's still alive. Removing the uterus as well as the pups can result in severe shock from the loss of all that mass. Not to mention her body was flooded with hormones from pregnancy and now she's had her uterus removed. No wonder she's in pain.





Feed the pups with esbilac via a bottle and let your poor pug rest. Don't try to get the pug to nurse if she doesn't want to. Many healthy puppies have been raised on the bottle. Get a second opinion about her condition from another vet--one who isn't in the habit of performing c-sections and spays in the same surgery! It may be necessary to give her some kind of pain medication to help her through this. Consult with another veterinarian as soon as possible.





Good luck to your pug and her pups!
Reply:First of all, at least in the US, vets perform a c-section with a ventral midline incision. There is nothing wrong with the approach your vet used for the surgery. Many studies have shown that this does not affect the milk production or the mothering ability of the female. There is also nothing wrong with having a spay performed at the time of a c-section. Again many studies have shown that spaying the female at the time of a c-section does not affect milk production or mothering ability. Actually spaying a dog at the time of a c-section shortens the length of the surgery significantly and the dogs tend to recover more quickly. Any dog having a c-section should be on IV fluids at during the surgery and these fluids replace the volume lost during a c-section with/without a spay. I usually send home antibiotics and pain medications for dogs following a c-section.


As to why she won't nurse her pups, she may still be disoriented from the anesthesia or she may be repeating the behavior she showed with her previous whelping. Good luck with the pups.