Novices sincerely ask for advice on C language problems, and hope that the masters will not laugh.

Updated on technology 2024-03-21
7 answers
  1. Anonymous users2024-02-07

    Reply to your questions one by one first:

    1. It can be supported, but it is very troublesome. In addition, Turbo C is both an integrated development environment (IDE) and a compiler. The device is just the same thing as a notepad.

    2. It is recommended to use gcc (mingw 64), or similar latest compiler.

    3. The book talks about practice programs (executable programs composed of a single file).

    4. There is an error in the program that the "*" at the beginning must be connected together, no spaces are allowed in the middle, and other operators have similar requirements.

    5. Actually, this is a different coding style, and the common styles are each layer (each curly brace), two spaces, four spaces, or a tab.

    Here are some suggestions that are not recommended for you to learn C from ten years ago or even earlier. Those C programs may no longer be usable in the new environment. Early C language had many flaws, and developing bad habits will not be good for the future.

    Learning Turbo C, Borland C, Visual Studio prior to 2008 is not recommended.

    GCC4 (Mingw 64) + CDT (Eclipse), VS+QT, etc. are recommended.

  2. Anonymous users2024-02-06

    First of allThis is a comment, and this is also a comment, and the question you asked can explain the plain point, what kind of space.

  3. Anonymous users2024-02-05

    It should be possible, it is recommended to use VC6,0, but it may not be compatible, and there is also C language, it is best to understand it yourself, find the rules, otherwise it is not conducive to learning. In fact, whitespace doesn't have much effect.

  4. Anonymous users2024-02-04

    Use vs bar, professional, leveraged.

  5. Anonymous users2024-02-03

    c, starting with 0 is octal, d single-precision significant digits are the first seven digits, of course, excluding the decimal point, but the decimal point is left behind the 6 decimal places by default, if not enough 6 digits are filled with 0.

    ox10, & is a bit and operator symbol.

    0x14&0x18 is 0001 0100& 0001 1000

    Determine whether the 5th bit is 1, as long as the bits are performed with the 0x10 and b&0x10, the result is 1, and the 5th digit is 1, otherwise it is 0, and the same hexadecimal 20 35

    ox10

  6. Anonymous users2024-02-02

    cb0x10

    b&10000<<4==1

    0x10 explanation: Question 5, 20, 35 binary respectively.

    1000=0x10

  7. Anonymous users2024-02-01

    The number starting with 0 indicates that the number after the base 8 should be 0-7

    f represents single precision, and if you don't write it, it will be double precision by default.

    Bitwise with 4(b>>3)&0x1 == 1 Check whether b's bit3 is 1%x read 20,35 as hexadecimal, read it and press the bit, i.e., 0x20&0x35, and then output the result in hexadecimal.

Related questions
4 answers2024-03-21

2. 1, True 2, False (there is only one program) 3, False (not necessarily) 4, True. >>>More

5 answers2024-03-21

For the first.

Manual settings: 1. Mobile Montnets GPRS (that is, used to go to the WAP network). >>>More

9 answers2024-03-21

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

14 answers2024-03-21

The program calculates the angle between the two needles at any time between 0:00 and 23:59. >>>More

6 answers2024-03-21

Use the ITOA function.

Prototype: extern char *itoa(int i); >>>More