ansi-c
How to convert char pointer into char in C Open VMS
This is to convert from char pointer into char. I followed the codes from another topi开发者_Python百科c but it seems like it\'s not working to me.[详细]
2023-04-13 05:24 分类:问答Print new line to a text file without carriage return (CR) in windows
I am writing a program in C that prints a random hexadecimal value to a text file. The printed value has a carriage return (CR) along with a line feed (LF). However, the CR (visible in notepad++) is c[详细]
2023-04-09 12:29 分类:问答Can an ANSI C-compliant implementation include additional functions in its standard library?
Is an ANSI C-compliant implementation allowed to include additional types and functions in its standard library, bey开发者_运维知识库ond those enumerated by the standard?(An ideal answer would referen[详细]
2023-04-03 20:57 分类:问答How do I obtain a copy of the ANSI C standard? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Where do I find the c开发者_StackOverflow中文版urrent C or C++ standard documents?[详细]
2023-04-03 20:50 分类:问答Does continous reassigning of character strings lead to memory leak?
I have two questions: Q1. The character pointers are used to point to a location where a given string is stored. If we keep reassigning the string, does it lead to memory leak?[详细]
2023-04-02 00:50 分类:问答Is a macro made to define constants? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: "static const" vs "#define" in c[详细]
2023-04-01 22:46 分类:问答Redirect stdout to file without ANSI warnings
I\'ve been trying to get a program\'s STDOUT redirecting to a file. So far, this code works well: FIL开发者_开发百科E *output = fopen(\"output\",\"w\");[详细]
2023-03-31 17:54 分类:问答order of two structures
I have these two structures... typedef struct{ MY_SECOND_STRUCTs1; }MY_FIRST_STRUCT; typedef struct{ int s1;[详细]
2023-03-26 12:17 分类:问答Struct member corrupted after passed but not after passed again
I\'m having some very strange bug in my ANSI C program. I\'m using debugger and I\'ve observed that \'size\' variable is corrupted in function \'doSthing.\' Outside of \'doSthing\' \'size\' got a pro[详细]
2023-03-25 21:24 分类:问答How to access user records stored in a file (no database)
How can the records of a user be kept and acc开发者_高级运维essed based on a primary key inside a file, working with ansi c++. A database is not used.The most simplistic scenario would be to (ab)use t[详细]
2023-03-24 10:35 分类:问答