C language algorithm for I Ching divination

Updated on technology 2024-05-11
15 answers
  1. Anonymous users2024-02-10

    This is the method used yarrow divination by the ancients to derive the six lines and their changes. Later generations have simplified this process by substituting money for yarrow, and it has been accepted by the people. According to my research, this process can still be simplified, so to speak, no matter what, it is enough to be able to get six ya, and to be able to reflect the change.

  2. Anonymous users2024-02-09

    How difficult it is to learn fortune telling There are few people who can really do it, and those who really know how to do it can't do it. Those who can really calculate, directly have bosses, leaders or something that are often patronized by a lot of income, even if they can really calculate the programming software, we will not smash our own jobs.

  3. Anonymous users2024-02-08

    It's best not to be too obsessed with learning C, because the most used programming is object-oriented programming, so for beginners who learn C, as long as they understand the basic ideas of C, the basic statements are fine.

    The focus is on C++ or whatever, learning is a gradual process, but it is important to know where the end is, and the goals to be achieved are:

    1.Able to understand the concepts of functions, loops, judgments, variables;

    2.understand objects, structures;

    3.Learn to use MFC to write Windows interface programs;

    4.learn to debug bugs;

    5.Proficient in basic sentences;

    6.Write or find according to your own needs, in short, form your own function library, which includes many basic functions.

    The most important thing is to learn to think in the way a computer works, and then be able to easily convert your thoughts into the format of a standard language.

  4. Anonymous users2024-02-07

    C is a language used for programming, and how well you learn it depends on how well you use it. There is an old Chinese saying called "touch bypass", what is Tong? There is a saying in the I Ching that "pushing and doing is the predicate".

    Therefore, the key to learning C language is to see how much it is used, and the key to how much it is used is to see how well it is implemented.

  5. Anonymous users2024-02-06

    It's good to learn to be able to complete certain projects independently.

  6. Anonymous users2024-02-05

    At the moment, most people think that pointer and string manipulation are the most difficult, so I think it would be nice to learn pointer and string manipulation just by simple programming. Many of the questions in the computer science graduate school are also string operations. If you want to make something out, I suggest that you find a C version of the data structure after reading the book you talked about.

    I think it's best to learn programming on the computer and write little by little. It is not advisable to only read books.

  7. Anonymous users2024-02-04

    The key to how far you think you want to learn is how far you want to go.

    You said that you have finished reading the book, so what can you make out of it? You need to ask yourself about this.

    The difference between learning a program and reading a political book is that you read it, you can use it, you can use it skillfully. Rather than understanding or simply understanding.

    C language is the foundation, and it is closely related to hardware. If you want to develop a graphical user interface, you need to consider some other languages.

    Regardless of the language, it almost includes syntax, data structures, and algorithms. The latter two of them will be very rewarding with the accumulation of experience. Grammar, you need to rely on reading books on a regular basis. But there is not much room for improvement.

  8. Anonymous users2024-02-03

    You can't just read books.

    You have to put it into practice. Write enough tens of thousands of lines**, probably even if you learn well.

  9. Anonymous users2024-02-02

    In the case of logical operations, the two are more closely related, and in the case of arithmetic operations, even if they are said together, it is a bit far-fetched.

  10. Anonymous users2024-02-01

    #include

    #include

    #define maxsize 100

    typedef int elemtype;

    typedef struct bitnodebitnode,*bitree;

    bitree creatbintree()return t;

    void visit(int data) Question 1: void preorder(bitree t)void inorder(bitree t)void postorder(bitree t)void levelorder(bitree t)if(a[front]->rchild!=null)}} int countleaf(bitree t)void main() input.

    Press Enter to get the result.

  11. Anonymous users2024-01-31

    All your confusion will be dissolved.

    At the same time, it can also point out the direction of your learning

    At the same time, a lot of information was also shared in the group.

    Of course, you can also pour water and chat, the south and the north, the sea and the sky, what are you waiting for? Hurry up and join us!

  12. Anonymous users2024-01-30

    Check it out, it's detailed. I won't explain much.

  13. Anonymous users2024-01-29

    1. If you want to learn ** and read the Book of Changes, then the first clear ruler lacks this book, I still introduce you to read "Yi Xia - Remembering Zhang Yansheng". You first have a comprehensive and simple understanding of the I Ching. The book is available online. An electronic version is available online**.

    2. Defense: Zhang Yansheng is the first person to use the Book of Changes in practice after the end of the Cultural Revolution in the last century, and he is still the undisputed master of Yi Jing.

  14. Anonymous users2024-01-28

    #include ""

    #include ""

    int jt(int y,int m) simply determines the validity of the date if(m<=0||m>=13)

    return 1;

    Interest is calculated based on the annual interest rate.

    double yearl(int y,int m,int y1,int m1,double yl,double cap)

    elseelse

    for(i=0;i=0)

    month=(y1-y)*12+(m1-m);

    for(i=0;i

  15. Anonymous users2024-01-27

    I Ching sixty-four hexagram names phonetic.

Related questions
5 answers2024-05-11

First, 3 linklist types list, p, and r. are declaredYou can think of list as a table, but at the beginning it is an empty table, list is assigned to r, start a for loop, specify the next node of r as p (head node), and then assign p to r, the next node of the head node is list, list is assigned to p, enter a from the keyboard, if a > 0, then the data part of the second node is the value of a, and the cycle continues, and the condition for the end is to enter the value a>=0, when p is sure to reach the last node after the while loop ends, p is assigned to r, r is the end node, and then output with do while, output the data of each node, and the end condition is p to the end node. To put it bluntly, first create an empty table k-1 node, then input the keyboard to assign the value of the data part of each node to "0", and finally output the input value.

18 answers2024-05-11

Why they are taken in this way, and why x is from 1 to 14, this needs to be carefully calculated. Because the amount of calculation in this problem is very small, sometimes I try to save my own effort (calculate a little less) and let the computer calculate a little more. >>>More

4 answers2024-05-11

The DES encryption algorithm is as follows:

1. Introduction to DES encryption algorithms. >>>More

9 answers2024-05-11

Scope. You static char *chh;

static char *ch1;Although the address pointed to by the two pointers does not change, have you ever wondered whether the memory address they point to has been released, char chc[10]; It's local, the function is out, the lifecycle is over, and you're trying to access it with a pointer in void times(). >>>More

11 answers2024-05-11

Valid variable names for the C language:

First, it can only contain numbers, letters, and underscores. >>>More