-
It's called the [batch] program, in fact, don't think that the program you mentioned above to deal with garbage is really powerful, it's amazing, when you have learned DOS, that program can be said to be a very simple thing;
That is, those who take it as. tmp,.log and so on as the suffix of the file and ** site,The file in the cookie del [delete] is just that, f does not show the prompt, s is the user; echo is the display;
Don't underestimate C C++, you can learn MFC and Win32 programming, you will find the power of C++, and now the basic drivers are written in C language, as well as embedded program development, C language is also the preferred language, and now the counter program of commercial banks in the country is also written in C language of Linux environment;
Study hard, don't think that learning is easy now, in fact, you will find that those big and difficult programs can be divided into simple programs.
-
Honestly, this level should be simpler than a C++ program, ......
It's just that you're not learning that.
Batch Computing Scripting Language is not the same as C.
-
Alas,I remember learning computers before,The first thing is to learn DOS commands.,Now,It's all directly XP.,Now students,A lot of people are dizzy when they see DOS.。。。
-
Learning a programming language is like learning to write, but those who can write may not necessarily be able to write articles, and those who can write articles can not write well. But if you can't write, you won't be able to write.
Before learning C, you should learn the basics of computer science. Many of the concepts in it are very important for C programmers. If you have encountered a lot of problems before or have already started to learn C, you should take a good look at the computer basics book.
If you have enough patience and perseverance, you should learn compilation before learning C language, which will have a clear understanding of many of the more delicate concepts.
Then you can read it again after reading the C language textbook, but you must read it again, you will definitely benefit a lot. No matter what book you read, read it carefully first, don't be greedy for speed, and strive for in-depth understanding.
If you can solve all the exercises in a textbook more proficiently, then you should turn to the study of algorithms, although at this time the C language is not proficient, there are many details of the problem is not understood, many problems have not been encountered, but these problems will be solved in the later work and study.
You don't need much information, just a copy of The C Programming Language. It's even easier to keep learning. It is recommended not to look for shortcuts, except for passing the exam, the real level improvement is based on the accumulation of programming practice, and it must be completed one by one to improve.
-
Practice makes perfect, memory is the key, memorizing symbols and common function names is very annoying, the program format is very flexible, don't memorize the book format, remember the process by yourself by impression little by little to write, wrong is not afraid, wrong can be remembered.
-
C is a very practical language. If you want to learn it well, you'll have to work on it. But most people think it's too hard to learn.
So I didn't study seriously, and of course I couldn't learn well. Even computer science students can't learn it very well because they don't have the means to learn the language. I am also a computer student, and I passed the national computer grade exam in C.
So I have some tips that I would like to share with you.
First of all, you have to have a correct attitude, without a person with the right attitude will not be able to learn anything. If you really want to learn C well, you need to be prepared to learn it well, and don't be half-hearted.
Secondly, you need to understand the purpose of learning the language. Have you ever thought about the computer level exam?
I still want to really want to use this language. This makes a big difference, and it determines how well you learn.
Again, you need to understand the material you need. What kind of textbook is right for you? You have to choose carefully, don't be too casual. Because different textbooks have different levels, they may not be suitable for you.
Then, it's a matter of learning. You're prepared for the above, and you're good to start learning. But learning a language well, a good way, is very important.
You need to understand C as a whole, recognize the advantages of C, and the characteristics of C. C is a process-oriented language with a special emphasis on the relationship between programs. Like calls between programs, this is quite commonplace.
The basic part of a language is nothing more than the definition of the types of numbers, the types of characters. It's not hard to understand as long as you read carefully. However, the best way to do this is to debug on the machine.
Do some simple procedures at this stage. to understand the programming environment of the C language, the types of numbers. This will be faster to understand and easier to remember.
Later, it is a model for learning some of the basic patterns of process languages. Order, loop, select these things. These things are all living things, don't memorize them, it's useless.
At this stage, you can make some relatively simple programs. Like the calculation of data, the determination of grades, etc.
As you learn more, you'll find that there are many things interesting about the C language. Learning in this way is no longer a difficult thing, but a joyful thing. Finally, C language, like any language, needs more computer debugging and more brain.
The basic parts of the C language will be mastered in no time.
Finally, remember: there is no return without paying!
Wish: All the best in your studies.
-
Find a more classic material, Tan Haoqiang's is good, the key is to practice more on the computer after learning! Otherwise, it's a bit of a castle in the air!
int main()
int i,j,k; >>>More
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
main() [main function main program].
int i,j,k;【Define integer data i,j,k】for(i=1; i<=6;i++) main loop, i from 1 to 6, increasing to 1] for(j=1; j<=20-2*i;j++) subcycle, j from 1 to 20-2*i >>>More
2. 1, True 2, False (there is only one program) 3, False (not necessarily) 4, True. >>>More
C++ is an object-oriented language, not very easy to learn, because it is more flexible, so there are a lot of problems to consider when doing programs! Because of the direct operation of the hardware, it inherits the advantages of the C language, so it is very efficient, and is generally used for the underlying and embedded systems.