Search:

Type: Posts; User: password636

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,501

    @whiteflags sorry not reply to notify you....

    @whiteflags

    sorry not reply to notify you. Please take a look at my last reply.
  2. Replies
    6
    Views
    1,501

    @whiteflags In , So the...

    @whiteflags
    In <The c preprocessor>,

    So the character set for c preprocessor internal processing is "source character set" called in the C standard.
    I agree that input character set...
  3. Replies
    6
    Views
    1,501

    @whiteflags you mean '\a' will be replaced with...

    @whiteflags
    you mean '\a' will be replaced with the alert character, but the alert character is in some other character set, not basic source character set.
    I think the order stated by <The c...
  4. Replies
    6
    Views
    1,501

    simple escape sequence conversion

    Hi,
    In the <The C Preprocessor>, section 1.1 Character sets:


    After preprocessing is complete, string and character constants are converted again, into the execution character set.
    .........
  5. Replies
    2
    Views
    5,092

    @Salem, I got it. It's target matches against...

    @Salem,
    I got it. It's target matches against pattern rule, not pattern rule matches against target.
    thank you very much!
  6. Replies
    2
    Views
    5,092

    % in makefile target match range

    Hi,

    I was reading a makefile in someone else's C code. I found the percentage sign use and looked up the GNU make manual. In the manual, the sign is illustrated in a snippet as follows:


    %.o:...
  7. Replies
    3
    Views
    1,431

    @anduril462 thank you. But why do we need the...

    @anduril462
    thank you. But why do we need the variable `d' as a flag? It makes no significant sense.
  8. Replies
    3
    Views
    1,431

    unused variable in a program?

    Hi,

    This is an easy program for the answer to the exercise of K&R C 1-10:
    Write a program to copy its input to its output, replacing each tab by \t , each backspace by \b , and each backslash by...
  9. Replies
    5
    Views
    2,842

    @JohnGraham, Thanks. Just still curious why they...

    @JohnGraham,
    Thanks. Just still curious why they name an integer type 'char' .. did they want to indicate people like this: when you want a character, use this integer type named 'char'.
    They may...
  10. Replies
    5
    Views
    2,842

    'char' integer type or character type?

    Hi,

    I read a page about C character type history.
    It says that there were just 'char' and 'unsigned char' in K&R C first edition. C language used these two data types as integer types already...
  11. @dmh2000, yes, great, that does the trick!

    @dmh2000, yes, great, that does the trick!
  12. thank you. I'm just curious when I read about cpp...

    thank you. I'm just curious when I read about cpp macro :) seems no way to implement that.
  13. can pass half parentheses as macro agument?

    Hi,

    Is there any way to pass a left parenthese or right parenthese as an argument to a function-like macro?

    Thanks,
  14. Replies
    20
    Views
    3,195

    Well, yes, C99 states it very clearly. That...

    Well, yes, C99 states it very clearly. That explains.
  15. Replies
    20
    Views
    3,195

    Hi laserlight, What about “same scope” by this...

    Hi laserlight,
    What about “same scope” by this meaning? Strictly speaking, every identifier's scope other than label names starts at a different point in a translation unit. Their scopes may end...
  16. Replies
    20
    Views
    3,195

    Hi subsonics, I read your reply but I am still...

    Hi subsonics,

    I read your reply but I am still not sure which is correct. I'm not an native English speaker so I sometimes need to know the exact meaning of the words in the standard. Then my...
  17. Replies
    20
    Views
    3,195

    Hi grumpy, Thank you for your answers. But I...

    Hi grumpy,
    Thank you for your answers. But I don't think it's directly related to my questions. From your answers, I think scope is a region of program text, but how to explain "same scope"? I know...
  18. Replies
    20
    Views
    3,195

    What are different scopes and same scope?

    Hi,

    I was reading the following in the C standard,

    3.1.2.2 Linkages of identifiers

    An identifier declared in different scopes or in the same scope
    more than once can be made to refer...
  19. Replies
    3
    Views
    3,017

    integer constant data types

    Hi,

    I have couple of basic questions about data types for integer constants in C.
    In a fragment of code like the following:


    long i = 10;

    I want to confirm the processing of this simple...
  20. I'm talking about C90 actually, and it does take...

    I'm talking about C90 actually, and it does take the order int, long, unsigned long. Why never in an unsigned one? What about unsuffixed octal and hex integer constant? They can also be unsigned.
  21. why omit unsigned int in unsuffixed decimal integer constant?

    Hi,

    In the K&R C II,


    The type of an integer constant depends on its form, value and suffix.
    (See Par.A.4 for a discussion of types). If it is unsuffixed and decimal, it
    has the first of...
  22. Replies
    7
    Views
    7,619

    Yes.. I think maybe that's the way, or I should...

    Yes.. I think maybe that's the way, or I should really consider buying one...
  23. Replies
    7
    Views
    7,619

    I'm sorry. But I found so many downloads for 2nd...

    I'm sorry. But I found so many downloads for 2nd edition.
  24. Replies
    7
    Views
    7,619

    where can I get K&R C 1st edition

    Hi

    I'm looking for something historically on the C programming language, and want to check out the C programming language 1st edition. I know it's pretty old. I can't find any online doc or...
  25. Hi Salem, Thank you very much!! Finally I created...

    Hi Salem, Thank you very much!! Finally I created a sparse file.
    By the way, if anyone interested in this find `DeviceIoControl' returns 0, try `0x000900C4' instead of `FSCTL_SET_SPARSE'.
Results 1 to 25 of 48
Page 1 of 2 1 2