There's this assignment I have for Spanish class where I have to write a 5-minute-or-so dialog. My group decided that it was going to be a murder mystery set in a mansion. It's due Monday, I have to write the whole thing myself. Problem is, I can't write mysteries. I need ideas, badly.
The unchangeables: It's a murder mystery in a mansion, and there are 4 characters. We may be able to get a fifth actor if they only have a few lines.
Since it's in Spanish, it doesn't have to be a masterpiece. It just has to make sense.
Not sure if this thread is even active or if I'll get a response. I was about to make a new post when I decided to double check the rules and, well, here I am.
About four years ago I started learning how to program in C while in my senior year of high school. From there, I moved on to a community college, and also learned a bit more about C in my first semester. Then I never used C again.
Surprise, surprise: I have to use C at the college I just transferred to. I never really understood some parts of C before they had us move on to Java instead, and it just so happens those are the exact parts I need to use now.
Unfortunately for me, this is one of those colleges where they lecture you about A, but give you an assignment on the topic of B. The book covers B, but it does so in such a bureaucratical, “up its own ass attempting to sound professional,” manner that I can’t make heads or tails of it.
I need to read a string, and then calculate a few things such as how many words there were, how many vowels, the average length of a word, etc. From what I could recall, a string tokenizer (or rather strtok, since only Java can use detailed function names :p) would handle the job nicely. In fact, it did, and everything worked out. Unfortunately, that was when I just ran a trial run with a known string size. The assignment adds the extra clause that the input will be of an unknown size. Again, from what I remember, this is what malloc is for. I believe they will be using Unix to direct the input from a file instead of from the keyboard (something with the > < operators, I didn’t really catch that part :-/) so I'm fairly certain a regular scanf should work/might even be required/I would be out of place using something more advanced.
The problem is, as I said, I can’t make heads or tails of how to apply malloc to my situation. I have all the code ready to token the hell out of any string, I just can’t get the string into a single character array.
Any help would be appreciated, either with malloc or an alternate way of doing this (reading each character one at a time perhaps, but even then, with an unknown input size, aren’t I just back at the same problem?). If I have to, I will, but I tend to not enjoy asking professors for help. I don’t know why, I’m just weird.
Private Mod Note
():
Rollback Post to RevisionRollBack
#define ALWAYS SOMETIMES
#define NEVER RARELY
#define ALL MANY
-=GIVE US SOMETHING TO BELIEVE IN=-
I'm nerd enough to link my WoW Armory Though I'll put it in a small font.
Would it help you to know that your string is already in character array form, at least in the abstract? Try finding the easiest way to get the first character out of your string and storing it into a variable. Can you do this?
Sorry, not sure if the typical protocol for this thread is to post when you no longer need help.
The solution was actually rather easy. I can't believe that none of my programming classes until now ever taught such a simple method.
while(1==(scanf("%s",word))){
/* code here */
}
"word" is, of course, a character array. Looking back, the program outline stated that the maximum amount of characters per word we can expect is 15 which, at the time, seemed like a useless piece of information. Without that limit, though, I would still probably need to use malloc if I wished the program to work with any input.
The only thing is that, with strtok, I could use spaces and punctuation as deliminators and not have to worry about them. I had to make my own function to cut them out of the string here, but that was no big deal.
Here's the program. It's probably not as efficient as it could be (I always seem to come up with roundabout methods :rolleyes:) but oh well, I don't think I'll get a lower grade unless it was gratuitously inefficient:
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define ICOUNTER 6
#define WORDSIZE 16
#define TEMP 10
/* Prototypes for the functions called by main. */
int isLetter(char);
int isPalindrome(char[]);
int main(void){
char word[WORDSIZE]; /* A character array to hold each word. */
/* Various coutners to keep track of the data needed to be calculated. */
int i,words3vows=0,palindromes=0,icounters[ICOUNTER]={0};
float totalwords=0,totalchars=0,totalvowels=0,
vowsthisword=0;
printf("Enter a string:\n");
/* This takes one word a a time into the word array to be analyzed. */
while(1==(scanf("%s",word))){
/* Counts the total number of words analyzed, a.k.a.
the amount of times the loop runs.*/
totalwords++;
/* Loops through the word array and chagnes each element to lower
case. */
for(i=0;i<=strlen(word);i++){
word[i]=tolower(word[i]);
/* Calls the isLetter function, which returns whether or not the
current character is a letter. If it is, then it increases the
char counter. If it isn't, then that means it is some sort of
punctuation at the end of the string, which needs to be removed
for the isPalindrome function call below. */
if(isLetter(word[i]))
totalchars++;
else
word[i]=NULL; /* Removes the char from the array. */
/* Determins whether or not any given element in the array (a
letter) is a vowel. If it is, the vowel counter is increased. */
switch(word[i]){
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':totalvowels++;
/* Keeps track of how many vowels this
particular word has had. */
vowsthisword++;
}
}
/* This goes through a loop, increasing the variable that
corresponds with the icounters array above, which itself counts
the individual amount of words that have 10 or more characters
at each incriment. */
for(i=0;i<ICOUNTER;i++){
if(strlen(word)==i+TEMP)
icounters[i]++;
}
/* If the word had three or more vowels, a counter is increased. */
if(vowsthisword>=3)
words3vows++;
vowsthisword=0; /* Resets the counter for the next word. */
/* Calls the isPalindrome function, which returns either true or
false. If true, it increases the palindrome coutner.
Additionally, if the word has only one character, it is
automatically a palindrome. */
if(isPalindrome(word)||strlen(word)==1)
palindromes++;
}
/* Print the findings. */
printf("Average length of a word = %.2f\n\n",totalchars/totalwords);
printf("Average no. of vowels in a word = %.2f\n\n",
totalvowels/totalwords);
printf("No. of words with at least three vowels = %d\n\n",
words3vows);
printf("Number of palindromes = %d\n\n",palindromes);
for(i=0;i<ICOUNTER;i++)
printf("Number of words of length %d = \t %d\n",i+TEMP,icounters[i]);
return 0;
}
/* The isLetter function determins whether or not any given char
varible is a letter. A letter, in this case, is defined by any
character that is not a punctuation mark or a blank space of any
sort. It returns either 1 (TRUE), or 0 (FALSE). */
int isLetter(char x){
/* The switch statement determines if the character isn't a letter. */
switch(x){
case '.':
case ',':
case ';':
case '?':
case '!':
case ' ':
case '\n':
case '\t':
/* 0 is returned if the character is anything but a letter. */
case '\0':return 0;
break;
default:return 1; /* 1 is returned elsewise. */
break;
}
}
/* The isPalindrome function determines whether or not a string of
chracters is a palindrome. It returns either 1 (TRUE), or 0
(FALSE). */
int isPalindrome(char x[]){
int i=0,j=strlen(x)-1,isPalindrome=1; /* Temporaries */
/* This loops through the array, analyzing the first character
(denoted by x[i] and comparing it to the last character (x[j]). */
while(i<=j&&isPalindrome==1){
if(x[i]!=x[j])
return 0; /* If at any time the letters don't match, the word is
not a palindrome, so the function returns 0 (FALSE). */
i++; /* Increases i to move forward through the word. */
j--; /* Decreases j to move backward through the word. */
}
return 1; /* If it makes it through the loop, then it must be a
palindrome, so it returns 1 (TRUE). */
}
Private Mod Note
():
Rollback Post to RevisionRollBack
#define ALWAYS SOMETIMES
#define NEVER RARELY
#define ALL MANY
-=GIVE US SOMETHING TO BELIEVE IN=-
I'm nerd enough to link my WoW Armory Though I'll put it in a small font.
I am taking a trig class, but i have no one to check over my work before i turn it in. Could you check it over for me. #2 was a real shot in the dark, and #5a was what i found online, is that right. Most of the other stuff i think is ok, but who knows.
I am taking a trig class, but i have no one to check over my work before i turn it in. Could you check it over for me. #2 was a real shot in the dark, and #5a was what i found online, is that right. Most of the other stuff i think is ok, but who knows.
This will help you answer #2, The ranges of trigonometric functions are as follows:
In case you don't know how to use the chart, the number on the right of the equal sign of the trigonometric function is the "range". This "range" must fall under the possible numbers set on the chart for the corresponding trigonometric function. One can answer the problems with a cursury glance. Here's the answers.
2a. possible, b. possible, c. impossible, d. possible, e. impossible, f. possible
In case you don't know how to use the chart, the number on the right of the equal sign of the trigonometric function is the "range". This "range" must fall under the possible numbers set on the chart for the corresponding trigonometric function. One can answer the problems with a cursury glance. Here's the answers.
2a. possible, b. possible, c. impossible, d. possible, e. impossible, f. possible
Thanks for the help, that make everything so much easier.
Well, an editorial is just an article with the editors opinions.
It's much more than that, an editorial is a piece written by an editorial writer to dictate the opinion of the newspaper. The editorial board oversees this process.
@ToAzT- to find stuff on the LHC, try looking at the New York Times archives, and check the Op-Ed page as well, it usually contains those political cartoons your looking for and will have content written by established writers (possibly scientists) who have written a piece on the LHC.
It's much more than that, an editorial is a piece written by an editorial writer to dictate the opinion of the newspaper. The editorial board oversees this process.
@ToAzT- to find stuff on the LHC, try looking at the New York Times archives, and check the Op-Ed page as well, it usually contains those political cartoons your looking for and will have content written by established writers (possibly scientists) who have written a piece on the LHC.
Op-Ed?
And Still nothing. I have an article by an editor..Does that count? Haha
And Still nothing. I have an article by an editor..Does that count? Haha
no picture tho.
An editorial is an article where you take a side and try to persuade your readers that your opinion is right.
With the collider, your best bet is to either be in favor of it because of possible advances in science or be against it because it's a waste of money. You can also take the against strategy and argue that there's a tiny danger of it creating a black hole, and thus destroying our world.
Edit: Op-Ed stands for Opinion-Editorial. Different newspaper go by different names.
Can someone help me. I am trying to do a group project on intercultural communication and they want me to research "anglo culture" the problem is i cannot find information or know how to phrase it in google.
Can someone help me i am trying to find information such as Anglo (European Americans) expect eye contact or so much perosnal space etc. CAn someone help me thanks ><
or even a list of thing of how us in the western culture do things would help EX: we in west genrally have big personal space, or its about me ETC?
Originally Posted by Darem talking about bird maiden http://dictionary.reference.com/browse/maiden 1 out of 4 says she is a human, 2 out of 4 says she is a horse, and 1 out of 4 says she is an execution device. Take your pick =p
Fusion Elemental is like riding a pony, which probably doesn't sound dangerous, except that in this case the pony is 300 feet tall and covered in chainsaws, and to get on the pony you have to take an elevator with sixteen live cougars.
Need some help from anyone that knows something about managing a hard disk.
Here's the problem:
1. Case Scenario: Peninsula Child Care is a nonprofit agency that provides childcare services for parents who are re‑entering the job market. Federal, state, and county agencies, as well as corporations, fund the agency’s programs with special grants and donate computer equipment for its administrative staff. The office manager, James O’Connor, checks each donated computer to make sure it is set up for use by other staff members. More often than not, he has to install software, reorganize folders on the hard disk, remove unneeded files, and check system settings. Recently, a staff member in another office acquired a new computer and gave James his old computer so that it could be set up for yet another staff member. After examining the computer, James discovered that:
· The hard disk contained many different installed applications stored in separate folders.
· The folder structure for document files was complex and extensive and, in some cases, included five or six levels of folders.
· Some document files were stored in folders below software folders.
· Some document folders contained close to 100 files, many of which were relatively small in size.
· The top‑level folder contained document files as well as temporary files and fragments of files probably created by a power failure.
· The hard disk, which uses the FAT16 filing system, was almost full.
Prepare a list of at least six recommendations on how James might improve the organization of information on the computer and free up valuable storage space on the computer. Assume that James wants to keep the majority of the document files, because these files contain grant proposals, agency progress reports, annual reports, budget documents, and other types of documents that will invariably prove valuable to other staff members.
Here's the answers I have so far:
1) Make sure that the top-level folder does not store any individual files, temporary or otherwise. It should only store other folders.
2) Streamline the storage of document folders. Put documents into the appropriate folder, but try not to have multiple levels of folders within each larger folder.
3) Combine files which are very small in size together if possible.
4) Do not store documents in software folders.
5) Remove unnecessary applications.
I need help thinking of a 6th recommendation, and also, feel free to correct me on any of the answers I did give. Admittedly, I wasn't trying too hard.
Thanks.
Private Mod Note
():
Rollback Post to RevisionRollBack
Winner of the SCG Invitational, Somerset, NJ, Jul 26-28, 2013
Top 8 of SCG Invitational, Las Vegas, NV, Dec 13-15, 2013
Top 8 of SCG Invitational, Somerset, NJ, Aug 28-30, 2015
Winner of SCG Worcester Team Sealed Open with Gerard Fabiano and Curtis Sheu, September 28, 2013
Edit: Op-Ed stands for Opinion-Editorial. Different newspaper go by different names.
No, it actually stands for "Opposite Editorial," as in the page opposite the Editorial page that contains signed opinion columns.
The editorial page is usually distinct from the op-ed page in that editorials are not signed by any specific person.
Quote from Bizkit Overlord »
I need help thinking of a 6th recommendation, and also, feel free to correct me on any of the answers I did give.
Convert the drive to NTFS. This should be possible on any computer running Windows NT, 2000, XP, or Vista.
Decrease the cluster size. Files on a hard drive occupy a minimum of one cluster of disk space, even if they're smaller than that cluster. If the disk has a large number of 3KB files, reducing cluster size from 8K to 4K can free up more space.
Alright, I thought I knew how to do this program (in C), but I'm actually very lost. What we have to do is take command line calls in the form of:
p4a infile start end flag
Where:
p4a = the name of the executable (doesn't mean anything, it's project 4 part a, though)
infile = a file to be read from
start = the byte position to start reading from
end = the byte position to end reading at
flag = -b, -q, -o, or -h. What this means is that the output should be each byte read printed in either binary, quarternary (base 4), octal, or hexidecimal, whichver is specified.
We're supposed to use fseek to reach the "start" byte position and fread to actually read each byte.
What I don't get is that, after reading one byte into a string (as fread copies whatever it reads into a character array, or so I've read and been taught), what exactly is in that string? How do I convert whatever it is to any of those bases? From the assignment itself:
Example 1: Suppose the command line is the following:
p4a file1.dat 230 +257 -b
In this case, your program must output to stdout the bytes in positions 230 through 257 (both inclusive) of the file file1.dat, with each byte written as a binary string.
...
When the flag is -b, each byte must be printed as a string of exactly eight bits. (Thus, leadin gzeros, if any, must also be printed.) Similarly, when the flag is -q, -o or -h, each byte must be printed respectively as as a string of exactly four quarternary digits (0 through 3) or exactly three octal digits (0 through 7) or exactly two hexadecimal digits (0 through 9 and A through F).
Any help would be appreciated. Help in English, preferably, not the typical "I'm going to use even more complicated programming jargon to answer your question" language I always seem to get whenever I go for help.
Private Mod Note
():
Rollback Post to RevisionRollBack
#define ALWAYS SOMETIMES
#define NEVER RARELY
#define ALL MANY
-=GIVE US SOMETHING TO BELIEVE IN=-
I'm nerd enough to link my WoW Armory Though I'll put it in a small font.
I'm attempting to write a research paper with the thesis: "Religion is not a reliable ethical guide," and though I have some ideas where to go, I could use some help. Would anyone care to toss me a couple tips?
Corruption without religious hierarchies, catholic molestation cases, unethical religions, definition of ethical as it differentiates from person to person.
Private Mod Note
():
Rollback Post to RevisionRollBack
Official Moderator of The [Gutter]
Think the MtgStaff is just swell? Join today! You too can be involved in an 8 year grudge and delete nearly 9000 of kpaca's posts!
I was working with the definition of ethics and ethical behavior, however this seems to be problematic, as the sources tend to be highly academic and confounding. What do you mean regarding corruption without religious hierarchies?
I was working with the definition of ethics and ethical behavior, however this seems to be problematic, as the sources tend to be highly academic and confounding.
You can find the definition of ethics from a dictionary. What I believe you're looking for are ethical theories by which to determine the rightfulness of an act. There are several common ones.
1. Utilitarianism
2. Rawl's Theory of Justice
3. Kantian Ethics
4. Egoism (Hobbe's)
5. Virtuism
Go to Wikipedia to learn more. Basically, each emphasizes a different aspect of human nature. They are (1) happiness, (2) justice, (3) duty, (4) selfishness, and (5) virtue respectively. Note that Virtuism isn't much of a theory. It simply states that we should follow the virtues that are not innate and that we've been taught as children. They are values such as honestly, kindness, justice, etc.
Private Mod Note
():
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Natural log is ln. or Log to the base e. A log with base 10 is the generic log, so it won't have anything else specifying it.
The unchangeables: It's a murder mystery in a mansion, and there are 4 characters. We may be able to get a fifth actor if they only have a few lines.
Since it's in Spanish, it doesn't have to be a masterpiece. It just has to make sense.
It could go either way. I was thinking that the minor fifth character could possibly be the victim, but it doesn't really matter.
EDIT: Yep. The precise trading amount was 1 euro for 1.5626 dollars.
About four years ago I started learning how to program in C while in my senior year of high school. From there, I moved on to a community college, and also learned a bit more about C in my first semester. Then I never used C again.
Surprise, surprise: I have to use C at the college I just transferred to. I never really understood some parts of C before they had us move on to Java instead, and it just so happens those are the exact parts I need to use now.
Unfortunately for me, this is one of those colleges where they lecture you about A, but give you an assignment on the topic of B. The book covers B, but it does so in such a bureaucratical, “up its own ass attempting to sound professional,” manner that I can’t make heads or tails of it.
I need to read a string, and then calculate a few things such as how many words there were, how many vowels, the average length of a word, etc. From what I could recall, a string tokenizer (or rather strtok, since only Java can use detailed function names :p) would handle the job nicely. In fact, it did, and everything worked out. Unfortunately, that was when I just ran a trial run with a known string size. The assignment adds the extra clause that the input will be of an unknown size. Again, from what I remember, this is what malloc is for. I believe they will be using Unix to direct the input from a file instead of from the keyboard (something with the > < operators, I didn’t really catch that part :-/) so I'm fairly certain a regular scanf should work/might even be required/I would be out of place using something more advanced.
The problem is, as I said, I can’t make heads or tails of how to apply malloc to my situation. I have all the code ready to token the hell out of any string, I just can’t get the string into a single character array.
Any help would be appreciated, either with malloc or an alternate way of doing this (reading each character one at a time perhaps, but even then, with an unknown input size, aren’t I just back at the same problem?). If I have to, I will, but I tend to not enjoy asking professors for help. I don’t know why, I’m just weird.
Though I'll put it in a small font.
Please stop hijacking my reply box.
The solution was actually rather easy. I can't believe that none of my programming classes until now ever taught such a simple method.
while(1==(scanf("%s",word))){
/* code here */
}
"word" is, of course, a character array. Looking back, the program outline stated that the maximum amount of characters per word we can expect is 15 which, at the time, seemed like a useless piece of information. Without that limit, though, I would still probably need to use malloc if I wished the program to work with any input.
The only thing is that, with strtok, I could use spaces and punctuation as deliminators and not have to worry about them. I had to make my own function to cut them out of the string here, but that was no big deal.
Here's the program. It's probably not as efficient as it could be (I always seem to come up with roundabout methods :rolleyes:) but oh well, I don't think I'll get a lower grade unless it was gratuitously inefficient:
Though I'll put it in a small font.
Please stop hijacking my reply box.
BUWGRChilds PlayGRWUB
BUWGR Highlander GRWUB
UBSquee's Shapeshifting PetBU
BW Multiplayer Control WB
RG Changeling GR
UR Mana FlareRU
UMerfolkU
B MBMC B
This will help you answer #2, The ranges of trigonometric functions are as follows:
For more information, go to Sparknotes and read under "Ranges".
http://www.sparknotes.com/testprep/books/sat2/math2c/chapter9section7.rhtml
In case you don't know how to use the chart, the number on the right of the equal sign of the trigonometric function is the "range". This "range" must fall under the possible numbers set on the chart for the corresponding trigonometric function. One can answer the problems with a cursury glance. Here's the answers.
2a. possible, b. possible, c. impossible, d. possible, e. impossible, f. possible
Thanks for the help, that make everything so much easier.
BUWGRChilds PlayGRWUB
BUWGR Highlander GRWUB
UBSquee's Shapeshifting PetBU
BW Multiplayer Control WB
RG Changeling GR
UR Mana FlareRU
UMerfolkU
B MBMC B
I've googled it, and To be honest..I have no idea what an editorial looks like.
If someone could help, or show me, i'd be thankful.
EDIT: I need a political cartoon too. Arg. I hate google. >=|
Thanks to .toRRent for the sig!
Trade thread!
http://forums.mtgsalvation.com/showthread.php?t=556274
or
http://darjarri.com
It's much more than that, an editorial is a piece written by an editorial writer to dictate the opinion of the newspaper. The editorial board oversees this process.
@ToAzT- to find stuff on the LHC, try looking at the New York Times archives, and check the Op-Ed page as well, it usually contains those political cartoons your looking for and will have content written by established writers (possibly scientists) who have written a piece on the LHC.
Op-Ed?
And Still nothing. I have an article by an editor..Does that count? Haha
no picture tho.
Thanks to .toRRent for the sig!
An editorial is an article where you take a side and try to persuade your readers that your opinion is right.
With the collider, your best bet is to either be in favor of it because of possible advances in science or be against it because it's a waste of money. You can also take the against strategy and argue that there's a tiny danger of it creating a black hole, and thus destroying our world.
Edit: Op-Ed stands for Opinion-Editorial. Different newspaper go by different names.
Can someone help me i am trying to find information such as Anglo (European Americans) expect eye contact or so much perosnal space etc. CAn someone help me thanks ><
or even a list of thing of how us in the western culture do things would help EX: we in west genrally have big personal space, or its about me ETC?
even going in the right direction adn thanks
Fusion Elemental is like riding a pony, which probably doesn't sound dangerous, except that in this case the pony is 300 feet tall and covered in chainsaws, and to get on the pony you have to take an elevator with sixteen live cougars.
Here's the problem:
Here's the answers I have so far:
1) Make sure that the top-level folder does not store any individual files, temporary or otherwise. It should only store other folders.
2) Streamline the storage of document folders. Put documents into the appropriate folder, but try not to have multiple levels of folders within each larger folder.
3) Combine files which are very small in size together if possible.
4) Do not store documents in software folders.
5) Remove unnecessary applications.
I need help thinking of a 6th recommendation, and also, feel free to correct me on any of the answers I did give. Admittedly, I wasn't trying too hard.
Thanks.
Top 8 of SCG Invitational, Las Vegas, NV, Dec 13-15, 2013
Top 8 of SCG Invitational, Somerset, NJ, Aug 28-30, 2015
Winner of SCG Worcester Team Sealed Open with Gerard Fabiano and Curtis Sheu, September 28, 2013
twitter
No, it actually stands for "Opposite Editorial," as in the page opposite the Editorial page that contains signed opinion columns.
The editorial page is usually distinct from the op-ed page in that editorials are not signed by any specific person.
Convert the drive to NTFS. This should be possible on any computer running Windows NT, 2000, XP, or Vista.
Decrease the cluster size. Files on a hard drive occupy a minimum of one cluster of disk space, even if they're smaller than that cluster. If the disk has a large number of 3KB files, reducing cluster size from 8K to 4K can free up more space.
p4a infile start end flag
Where:
p4a = the name of the executable (doesn't mean anything, it's project 4 part a, though)
infile = a file to be read from
start = the byte position to start reading from
end = the byte position to end reading at
flag = -b, -q, -o, or -h. What this means is that the output should be each byte read printed in either binary, quarternary (base 4), octal, or hexidecimal, whichver is specified.
We're supposed to use fseek to reach the "start" byte position and fread to actually read each byte.
What I don't get is that, after reading one byte into a string (as fread copies whatever it reads into a character array, or so I've read and been taught), what exactly is in that string? How do I convert whatever it is to any of those bases? From the assignment itself:
Any help would be appreciated. Help in English, preferably, not the typical "I'm going to use even more complicated programming jargon to answer your question" language I always seem to get whenever I go for help.
Though I'll put it in a small font.
Please stop hijacking my reply box.
You can find the definition of ethics from a dictionary. What I believe you're looking for are ethical theories by which to determine the rightfulness of an act. There are several common ones.
1. Utilitarianism
2. Rawl's Theory of Justice
3. Kantian Ethics
4. Egoism (Hobbe's)
5. Virtuism
Go to Wikipedia to learn more. Basically, each emphasizes a different aspect of human nature. They are (1) happiness, (2) justice, (3) duty, (4) selfishness, and (5) virtue respectively. Note that Virtuism isn't much of a theory. It simply states that we should follow the virtues that are not innate and that we've been taught as children. They are values such as honestly, kindness, justice, etc.