! text 1 Major-Willard 1104600621 89 hypnosis_ the unary boolean not operator
!! text 1 Random832 1262200005 5 salil_ /say !! is a common idiom for normalizing booleans - it will turn any nonzero value into 1, and leave zero at 0. For example, !!50 is 1.
!foo-nix text 1 foo-nix 1199181810 0 nobody told to be the worst *nix distribution ever.
!non_zero_int text 1 dho 1232742194 0 nobody guaranteed to return either 0 or 1.
!std text 1 snhmib 1243936077 2 robbe- /say $args is not mandated by the C standard. stfu.
" text 1 Major-Willard 1106527346 3 fickbowt the character that begins and terminates a string literal
# text 1 Auris- 1197579677 4 disappearedng used to commence a preprocessor directive (include, define, undef, ifdef, ifndef, pragma) and as the stringization operator (#x).
## text 1 Auris- 1211531275 18 pragma_ the preprocessor concatenation (token pasting) operator.
##c text 1 anttil 1245454768 0 nobody #c is for discussion involving the C programming language itself. We do not deal with the whole range of the spectrum. libgtk may be written in C, but this is hardly the proper channel for GTK-related questions. Try #gtk. Likewise, makefiles and autotools: #devtools, assembly: #asm, Xlib: #xlib, C++: #c++, and so on.
#c text 1 pragma_ 1109029677 19 anttil for discussion involving the C programming language itself. We do not deal with the whole range of the spectrum. libgtk may be written in C, but this is hardly the proper channel for GTK-related questions. Try #gtk. Likewise, makefiles and autotools: #devtools, assembly: #asm, Xlib: #xlib, C++: #c++, and so on.
$ text 1 Major-Willard 1106526551 4 pragma_ a character that has no special meaning
% text 1 Major-Willard 1106531636 3 lemonade` the remainder after division operator
%: text 1 twkm 1104401858 0 nobody digraph alternative for #
%:%: text 1 twkm 1104401865 0 nobody digraph alternative for ##
%> text 1 twkm 1104616316 0 nobody digraph alternative for }
%d text 1 prec 1104400903 1 pragma_ a *printf format specifier which converts its signed int argument to decimal representation; a *scanf format specifier which parses a decimal representation to its int* argument
&= text 1 prec 1107898482 0 nobody the bitwise inclusive-AND assignment operator. The expression (x &= y) is equivalent to (x = x & y) except that the expression x is evaluated only once.
&x->y text 1 pragma_ 1107406471 2 prec The address of the y member of the structure pointed to by x.
* text 1 Major-Willard 1104600319 19 geckos the multiplication binary operator. It is also the unary pointer dereference operator. It is also used in declarations to declare a variable which is a pointer to a type: <type> *p;
+ text 1 Major-Willard 1104595760 8 mordy_ the addition binary operator
++ text 1 Major-Willard 1105219173 2 jengelh a unary operator that increments basic types by 1; if it is placed before a variable the value of the expression is: <var> + 1; if it is placed after a variable the value of the expression is: <var>
, text 1 prec 1107316491 7 Wulf the sequence operator. It is also used to separate syntactic elements of: function arguments in a function call, declarators (in declarations of the same type), formal parameters in function declarations, enumeration elements, and initializers.
- text 1 Major-Willard 1104595811 10 pZombie the unary negation operator; the binary subtraction operator
-- text 1 Major-Willard 1105219433 1 jengelh a unary operator that decrements basic types by 1; if it is placed before a variable the value of the expression is: <var> - 1; if it is placed after a variable the value of the expression is: <var>
-> text 1 Major-Willard 1104601334 7 ColonelJ the operator that dereferences a pointer to permit access to a structure/union member. The expressions (x->y) and ((*x).y) are equivalent.
-pedantic text 1 pragma_ 1107929320 7 jwillia3 a GCC flag that issues all warnings demanded by strict ISO C; rejects most programs that use forbidden extensions; should not be used to check for strict ISO conformance as it only warns for coding practices that _require_ a diagnostic, not everything; loosely supported
-std text 1 pragma_ 1107929785 16 jwillia3 a GCC flag that is used to specify which C standard to follow when compiling; some valid standards are: c89 (-ansi), c99, gnu89 (default), gnu99
. text 1 Major-Willard 1104600864 19 [Pwner]John the decimal point; the operator that permits access to a structure/union member; is used in structure member designators in C99.
/ text 1 Major-Willard 1104600246 0 nobody the division binary operator
// text 1 Major-Willard 1108293482 2 Major-Willard used to introduce a comment that continues to the end of the line [C99]
/= text 1 prec 1107662173 0 nobody the division assignment operator. The expression (x /= y) is equivalent to (x = x / y) except that the expression x is evaluated only once.
20? text 1 pragma_ 1200772242 0 nobody /say If you have a question, please be specific and concise. Don't ask questions like 'Does anyone know how to ...' or 'What is the best way to ...'. We do not have the time or patience to play a game of 20 questions with people that are not capable of articulating properly. See also: http://www.catb.org/~esr/faqs/smart-questions.html
20q text 1 Jafet 1215709795 2 n00p /say If you have a question, please be specific and concise. Don't ask questions like 'Does anyone know how to ...' or 'What is the best way to ...'. We do not have the time or patience to play a game of 20 questions with people that are not capable of articulating properly. See also: http://catb.org/~esr/faqs/smart-questions.html
?: text 1 infobahn 1104925315 6 Wulf the conditional (ternary) operator; <e1> ? <e2> : <e3> if <e1> is true, the operator evaluates and yields <e2>; otherwise it evaluates and yields <e3>
B text 1 Major-Willard 1111209918 6 honschu the programming language which was the precursor of C ; http://en.wikipedia.org/wiki/B_programming_language
BFS text 1 Wulf_ 1242883241 1 zacs7 Breadth First Search -- http://en.wikipedia.org/wiki/Breadth-first_search
C/C++ text 1 pragma_ 1108258486 14 lemonade` a misnomer. These two languages are completely different languages with each having its own standard. C++ is not a "superset" of C anymore. For C++ questions, please join #C++
CHAR_MAX text 1 defrost 1104389685 0 nobody #include <limits.h> - maximum value for type char. Its value is: SCHAR_MAX if char represents negative values, UCHAR_MAX otherwise. - >= 127
CHAR_MIN text 1 defrost 1104389685 0 nobody #include <limits.h> - minimum value for type char. Its value is: SCHAR_MIN if char represents negative values, zero otherwise. - <= 0
EOF text 1 infobahn 1104596552 32 pragma_ an integer constant expression, with type int and a negative value, that is returned by several functions to indicate end-of-file (ISO/IEC 9899:1999 7.19.1(3)). It is NOT a char. It is NOT a byte that is stored at the end of every file.
EXIT_FAILURE text 1 mauke 1105443776 0 nobody a macro defined in <stdlib.h> whose value can be passed to exit() or returned from main() to indicate unsuccessful termination
EXIT_SUCCESS text 1 mauke 1105443603 0 nobody a macro defined in <stdlib.h> whose value can be passed to exit() or returned from main() to indicate successful termination
H&S text 1 heina 1109636091 123 Dianora "C - A Reference Manual" by Harbison & Steele; a reference for C on par with K&R - http://www.amazon.com/Reference-Manual-Samuel-P-Harbison/dp/013089592X
LONG_MAX text 1 twkm 1104369746 0 nobody #include <limits.h> - LONG_MAX - maximum value of a long int object, at least +2147483647
LONG_MIN text 1 twkm 1104369732 0 nobody #include <limits.h> - LONG_MIN - minimum value of a long int object, at least -2147483647
Lt-Col-Kilgore text 1 Lt-Col-Kilgore 1106871669 0 nobody 1st of the 9th, air-mobile
MB_CUR_MAX text 1 twkm 1104394983 0 nobody #include <limits.h> - maximum number of bytes in a mult-byte character for an extended character in the current locale, which is never greater than MB_LEN_MAX.
MB_LEN_MAX text 1 defrost 1104389706 0 nobody #include <limits.h> - maximum number of characters that constitute a multibyte character in any supported locale. Its value is >= MB_CUR_MAX.
NULL text 1 Major-Willard 1104596262 36 SimManiac the (implementation defined) pointer value used to indicate a pointer that refers to no object; a macro expanding to a compile-time integer zero, possibly cast to (void *), e.g. ((void *)0) or 0L
NeverDream text 1 NeverDream 1109794818 1 NeverDream the master of all things, living and dead. And those things which exist as a wave function that describes the state of both living and dead. But especially _YOU_!
Sailormoon text 1 pragma_ 1259190786 15 bvalek2 an ignorant Nazi-supporter who makes up imaginary stories about his education in order to disguise the fact that he flunked out of elementary school and didn't make it to high school; now he can only be accepted by Canadian TV Internet colleges, where he spends $1200 every 3 months on Internet classes with a robot teacher. Also, rarely emerges from his parents' house. Converse with this person only if you wish to be insulted and belittled.
Utopiah text 1 pragma_ 1260585861 2 pragma_ a Google-and-Wikipedia whore who likes to quote random links, but doesn't really understand the contents of most of them; never goes outside to interact with reality, and is a sheltered fool who cannot differentiate sarcasm and metaphors from literal speech.
[] text 1 pragma_ 1194260776 7 n00p the array subscript operator. It is also part of declarator syntax. The expressions (x[y]) and (*(x + y)) are equivalent. See also &x[y].
\ text 1 Major-Willard 1104603271 8 Random832 the line continuation character; used in strings to specify special characters; used in character constants to specify special characters; when followed by u or U in C99, is used to specify a universal character name for use in string constants, character constants, or identifiers.
_ text 1 mauke 1105863511 13 pragma_ /say All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use. All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces. (ISO 9899:1999, 7.1.3) Don't use such identifiers.
__ text 1 kate` 1249744636 2 kate` /say seriously, will everbody please just shut up about the *__*!*@* ban already. it's there to stop idle reconnecting clients postfixing underscores
address text 1 s00p 1273064028 0 nobody C has pointer types and addresses (or pointer values). foo x; &x results in an address that points to an object. foo *y; y is an instance of a pointer type. Instances of pointer types do not magically point to objects. They must be assigned to before being used, for example: y = &x;
advicepredicate text 1 pragma_ 1258763084 0 nobody "I recommend to" "My advice is to" "I think it $advicehelper2 be $advicehelper3 to" "I think it $advicehelper2 be $advicehelper3 to" "I think it $advicehelper2 be $advicehelper3 to" "I think it $advicehelper2 be $advicehelper3 to" "I think it $advicehelper2 be $advicehelper3 to"
aids text 1 PARLIAMENT 1264285407 2 SailorReality "There's no easy way to say this. You got aids. Yuck! :x" $noaids $noaids $noaids "You contracted aids from $who_answers!" "You were attacked by a $animals! You now have aids." $noaids $noaids
ansispec text 1 Cin 1190684046 1 pragma_ www.nirvani.net/docs/ansi_c.pdf
ansispecpdf text 1 pragma_ 1192736407 3 pragma_ /call standard
answers text 1 pragma_ 1195010969 2 pragma_ Yes. "Most likely." No. "I think not." Brilliant! "Are you a $sizes $idiot?" "Definitely not." "Most assuredly." Absolutely! "Not likely!" "Do I look like I care?" "Ask again later." "Outlook good." "Outlook not so good." "Reply hazy, try again." "Forget it!" "Yeah, right." "As if!" "Can has happy fun time!" "Signs point to yes." "You may rely on it." "That gives me an idea!"
any2c text 1 Baughn 1219872462 1 pragma_ recode ascii..ascii/x
apue2 text 1 kp 1197696012 5 Draconx http://www.apuebook.com/
archivist text 1 Squall` 1110594100 3 archivist someone who wishes he had an identity
argc text 1 prec 1104396991 3 Draconx the traditional name of the first parameter to main(); argc is non-negative and gives the number of command line arugments (including the program name).
argv text 1 prec 1104397065 7 Anon472 the traditional name of the second parameter to main(); argv[argc] == NULL; if argc>0 argv[0] is the program name. if argc>1, argv[1] through argv[argc-1] are the command line arguments.
array text 1 Wulf_ 1247726531 6 wiel An array type describes a contiguously allocated nonempty set of objects with a particular member object type, called the element type.
ask text 1 pragma_ 1106341082 197 Plazma /say If you have a question, just ask. If somebody knows, they'll answer :) For best results, be specific, informative, complete, concise and on-topic! Don't ask if you can ask a question. Don't ask if anyone uses/knows about foo. Please don't be demanding or insulting. Remember, we're all volunteers. Also see: http://www.catb.org/~esr/faqs/smart-questions.html
autoshit text 1 PoppaVic 1104954897 9 PoppaVic the portability whore that is GNU autoconf/automake/configure/aclocal/libtool/sh/m4 messes that are NOT portable
b1 text 1 notadev 1183722776 8 lemonade` bashphorism 1: the questioner's first description of the problem/question will be misleading.
b2 text 1 notadev 1183722799 2 kate` bashphorism 2: The questioner will keep changing the original question until it drives the helpers in the channel insane.
badcode text 1 pragma_ 1232034710 0 nobody http://www.exmsft.com/~hanss/badcode.htm
blamethecompiler text 1 prec 1106336163 4 n00p a common disease mostly contracted by beginning programmers. There is no known cure except that over time, outbreaks will occur with less and less frequency.
bossbear text 1 pragma_ 1259019160 5 pragma_ an unoriginal plagarist and UFO nut whose babble closely resembles http://timecube.com -- Do not click any of his links.
byte text 1 prec 1104873342 13 sjm13 defined by the C standard as an addressable unit of storage large enough to hold a character value. The char type is byte-sized and is at least 8 bits wide. CHAR_BIT in <limits.h> defines the byte size for any given implementation. The term "byte" is most often used to mean 8 bits; however, the term octet is preferred.
c text 1 pragma 1108006206 138 hypnosis /say C is a low level language designed to make assembly "easier", useful for device drivers or operating systems. Thusly, one has to maintain buffers, memory, and various low level information. C is not meant to be used for everyday applications, a common misconception.
cgisock text 1 pragma_ 1106002098 0 nobody See http://www.cyberspace.org/~pfv/libcgisock.html for a nifty little module for the Apache Web Server that allows a browser to connect to programs already loading and running on remote systems via the ubiquitous Unix-Socket.
char*a,b text 1 Random832 1262676676 2 Chris /say The declaration "char* a, b" declares a as a pointer to char and b as a char - it does not declare b as a pointer to char.
charset text 1 prec 1107982156 1 richardus a character set is a set of characters. http://www.cs.tut.fi/~jkorpela/chars.html
chill text 1 notadev 1182354783 8 lclimber /say OK, it's getting a little hairy, and really we're all here because we love C. So relax, take a walk, have a cuppa, whatever. Er.. please? ;)
cluebat text 1 pragma_ 1208762427 2 andy /me whacks $args with a $sizes $colors cluebat.
codeblocks text 1 Jafet 1185606931 2 whoppix /say Code::Blocks is a fairly popular IDE for C and C++ development. Some folks beef that it has been distributing nightly builds and not releasing stable ones for quite some time now, others like it for this very fact. http://codeblocks.org
commands text 1 pragma_ 1179674227 21 SiegeX /call list commands
common text 1 pragma_ 1230993541 3 n00p http://www.myconfinedspace.com/wp-content/uploads/2008/04/common-sense-superpower.jpg
comparch text 1 pragma_ 1180158061 2 n00p http://dept-info.labri.fr/~strandh/Teaching/AMP/Common/Strandh-Tutorial/Dir.html
compilable text 1 pragma_ 1271712329 5 pragma_ /say Please paste a *compilable* test-case that exhibits your symptoms. If the code is incomplete, we cannot discount potential errors or undefined behavior elsewhere in your code, nor can we use our tools to debug. Please do not waste our time this way.
compilerline text 1 PoppaVic 1266709397 7 n00p Order Matters: CC <overall options> [-std=whatever] <debugging> <optimizing> <warnings> [-pedantic] <Other Include Paths> <Other Lib Paths> <Magic Defines> <Magic Undefines> [-f<language/platform options] [-m<machine options>] [-o outfile] files..... (this is all documented, and files can be .c or .o, .a or .so, or -l<to be linked> commands.) <paraphrased from man gcc>
const text 1 prec 1107648578 19 kuala http://publications.gbdirect.co.uk/c_book/chapter8/const_and_volatile.html - see section 8.4.1, http://c-faq.com/ansi/constmismatch.html
continue text 1 Major-Willard 1104888657 4 pragma_ the statement used recommence the currently executing block
cpp-com text 1 n00p 1263936430 2 n00p /say cplusplus-dot-com is a C++-related website that happens to reference C89 functions. Many of the examples given are actually C++ because they use 'headers' such as <cstdio> instead of <stdio.h>. A better reference would be the !c99 standard.
dance text 1 pragma_ 1271192355 6 out0xCF8 /me $dances.
dances text 1 pragma_ 1271192341 0 nobody "does a slow Fandango" "dances an Irish jig" "does the bunny hop" "does the Macarena" "does the robot" "shakes it like a Polaroid picture"
declaredefine text 1 kate` 1179653420 5 PoppaVic A declaration specifies the interpretation and attributes of a set of identifiers. A definition of an identifier is a declaration for that identifier that: for an object, causes storage to be reserved for that object; for a function, includes the function body; for an enumeration constant or typedef name, is the (only) declaration of the identifier.
die text 1 syntropy 1249675373 0 nobody YOU MUST DIE. http://omploader.org/vMjQ4MQ
digraph text 1 twkm 1104552499 2 pragma_ a two character alternative punctuator, intended to make using c possible on systems where the primary punctuator is missing, typically from keyboards. they are normal tokens, so are processed in the same way as other source characters (apart from trigraphs).
doesntcare text 1 pragma_ 1105954303 14 n00p /say Standard C does not know nor care about colors, mice, windows, keyboards, networks or any other system specific things. If you want help with something like that, you would want to tell us what OS, compiler, tools or libraries you are or intend to use/abuse.
doesntwork text 1 pragma_ 1175456821 129 pragma_ /say "It doesn't work!" is not very informative for the people trying to help you. Please describe what you think may be wrong, what results you expected to get and what instead actually happens. Pasting a compilable test-case and/or compiler messages to http://codepad.org/ may be helpful.
dontcastmalloc text 1 infobahn 1104594725 453 Wulf /say There is no need to cast the result of library functions that return void *; it makes your code hard to read, adds no value, and can hide a bug if you don't have a valid prototype in scope. See http://www.cpax.org.uk/prg/writings/casting.php and http://c-faq.com/malloc/mallocnocast.html
double text 1 pragma_ 1195072541 20 n00p /say When taking input for type double you need to use lf format specifier in the scanf statement. But when you are outputting a double you use f format specifier in the printf statements.
duffs-device text 1 defrost 1104395556 0 nobody magical old school technique to directly express general loop unrolling in C. see http://www.lysator.liu.se/c/duffs-device.html
else text 1 Major-Willard 1105258795 0 nobody the keyword that executes a statement/block should an ''if'' expression evaluates to false
errno text 1 defrost 1104386234 0 nobody library error macro, #include <errno.h> The macro designates a modifiable int object that is asigned a value greater than zero on certain library errors. see http://www.iso-9899.info/man?strerror
errors text 1 pragma_ 1108853504 17 lemonade` /say If you have an error message please paste the actual error message. Do not say "I have an error in my code." Please paste the relevant code at http://rafb.net/paste/ with comments indicating the line numbers and a description of what you're trying to accomplish. Do not ask to "find the error in my code, plzz".
escapes text 1 PoppaVic 1186590660 0 nobody http://www-ccs.ucsd.edu/c/charset.html
espdiff text 1 prec 1106956904 0 nobody a program which applies the appropriate transformation to a patch or set of patches, depending on what you intend to accomplish.
existence text 1 pragma_ 1258974955 10 pragma_ /say The most basic property is the property that there are no properties; which is a property in itself. The most basic object is the void; which by the same vein of the first sentence means that there cannot be a void. Everything and nothing is filled with something. Existence is simply a paradox of contradictions and opposite reactions. Ones and zeroes, truth and fiction. Everything that shall be will be. A collective imagination of sentience.
explain text 1 pragma_ 1191042468 1870 sktrdie /call cdecl explain
feof text 1 Major-Willard 1104888995 5 kuala a function, taking one FILE * as an argument, indicating a file has been completely read by getc/getchar/fread (not a recommended construct)
fool text 1 pragma_ 1194366107 8 kjelle /say He who asks a question may be a fool for five minutes; he who does not ask a question remains a fool forever.
fpt text 1 OrngeTide 1189558928 4 n00p /say Function Pointer Tutorial: http://www.newty.de/fpt/fpt.html
getabook text 1 Cin 1194842863 3 cousteau http://img145.imageshack.us/img145/6982/1193921620752dw2.jpg
getcdecl text 1 pragma_ 1191041433 3 PoppaVic http://hpux.cs.utah.edu/hppd/hpux/Misc/cdecl-2.5/
getopt text 1 Quetzalcoatl_ 1237062000 1 cousteau a C library function for parsing command-line arguments. It is found on Linux, BSD, and other Unix systems.
gets text 1 pragma_ 1108103139 51 wito very bad. It cannot be told the size of the buffer to read in, therefore it has no way of preventing buffer overflows. Use fgets() with 'stdin' as the FILE* instead. http://www.eskimo.com/~scs/C-faq/q12.23.html
gettimeofday text 1 Major-Willard 1104639290 0 nobody a function that returns the time in seconds and milliseconds since the epoch (Thursday, January 1 1970) and the local timezone
global text 1 n00p 1271966015 3 s00p /say There is no "global" scope in C. There are four kinds of scopes: function, file, block, and function prototype. A variable that appears outside of any block or list of parameters has file scope, which terminates at the end of the translation unit.
godprogrammer text 1 pragma_ 1260214264 9 lemonade` /say It's not unreasonable that if computer programmers developed an autonomous self-learning/self-correcting AI world and allowed it to run for several billion iterations; then came back to it, that they may not be able to alter it without destroying it. If such a programmer were to have orginally created debug routines and backdoors, such code would ultimately point to obsolete code regions.
greenspun text 1 mauke 1108933892 3 leth /say Greenspun's Tenth Rule of Programming: "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp."
grot text 1 pragma_ 1260048234 6 grot /say <grot> I remember the relief of waking up one morning (sane) in a hospital bed, after a night of terror after smoking cannbis, having freaked out completely and developed symptoms that went beyond ordinary panic attacks
guesscoding text 1 Tefaj 1215947047 4 Jafet the act of trying to write code without learning the language, or to use a library without reading the documentation. How guesscoders even get anything done is anyone's guess.
gw text 1 dbtid 1254241388 23 PoppaVic /say "Given..Want": What do you have to work with? What's the desired goal? Between them is the resulting Process. Now ask yourself: WHY am I doing this? Why THIS way?
help text 1 NeverDream 1109792986 444 Syntropy|Laptop /say To learn all about me, see http://www.iso-9899.info/wiki/Candide
herring text 1 Baughn 1173805492 2 n00p a vicious species, loyal only to Baughn. Attempts to wrest control of the Herring Hordes can result in consequences similar to http://fukung.net/v/2833/15cod.jpg .
hi text 1 pragma_ 1109044278 805 pragma_ /say $hi_phrases, $nick
homework text 1 kate` 1231165509 24 LeoNerd /say We can help with homework, as long as it's within the spirit of the assignment. We won't do it for you, though.
house text 1 pragma_ 1194058489 3 mauke /say What you're attempting is akin to an apprentence carpenter attempting to construct an entire house without having learned how to measure. In other words, there will be a lot of holes -- if the entire contraption doesn't fall apart completely.
how_answers text 1 pragma_ 1193949354 2 pragma_ "I don't know." "If you investigate a $sizes amount further, you can figure it out." "Are you thinking clearly?" "Are you sure you're not a $sizes $idiot?" "By reading the documentation, of course."
howto text 1 pragma_ 1208326120 1 pragma_ /say http://samizdat.mines.edu/howto/HowToBeAProgrammer.html
identifier text 1 Wulf 1268936732 1 Wulf /say An identifier can denote an object; a function; a tag or a member of a structure, union, or enumeration; a typedef name; a label name; a macro name; or a macro parameter. The same identifier can denote different entities at different points in the program.
if text 1 Major-Willard 1105258377 10 M1TE5H the keyword that tests a bracketed expression and if true, executes the following statement or block; if the expression evaluates to false an optional ''else'' clause is executed
implementation text 1 pragma_ 1106459085 1 pragma_ a particular set of software, running in a particular translation environment under particular control options, that performs translation of programs for, and supports execution of functions in, a particular execution environment (ISO/IEC 9899:1999 3.12)
int text 1 infobahn 1104595147 29 Love4Boobies a signed integer data type, at least 16 bits wide, which must be able to represent (at least) all the numbers in the range -32767 to +32767. Its lowest value, INT_MIN, and highest value, INT_MAX, are defined in <limits.h>
integer text 1 prec 1189048945 3 pragma_ http://wikipedia.org/wiki/Integer
ipc text 1 twkm 1104609621 7 n00p /say IPC is Inter-Process Communication. A nice tutorial for UNIX is at http://www.ecst.csuchico.edu/~beej/guide/ipc/
k&r text 1 Chris 1243951633 467 apples /say K&R is The C Programming Language, 2nd edition, by Kernighan and Ritchie, http://cm.bell-labs.com/cm/cs/cbook/ - be sure to see the errata as well, at http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html
learning text 1 pragma_ 1108007774 8 appletizer /say Most beginners are just trying to learn C. Try not to question their "silly" methods and please try to provide the answer to the question they are asking. They will learn better tricks as they gain more experience. One cannot expect someone to instantly know the _best_ way to write 'foo'. You were a beginner once; only by persistence did you learn more efficient methods. Try not redicule the beginners.
long text 1 infobahn 1104595499 7 bros a signed integer data type, at least 32 bits wide, which must be able to represent (at least) all the integers in the range -2147483647 to +2147483647. Its lowest value, LONG_MIN, and highest value, LONG_MAX, are defined in <limits.h>
main text 1 twkm 1104231974 74 Jafet int main(int argc, char *argv[]); or int main(int argc, char **argv); or int main(void); See also ''argc'' and ''argv''; the standard entry point to C programs
murphy text 1 pragma_ 1191356935 2 pragma_ /say If there's more than one possible outcome of a job or task, and one of those outcomes will result in disaster or an undesirable consequence, then somebody will do it that way.
nak text 1 joeyadams 1256592064 1 joeyadams someone who doesn't know candide commands. Ha ha!
necrophile text 1 kp 1194246813 3 kp /me plays dead
nelemof text 1 prec 1108151345 2 pragma_ a standard idiom for computing the number of elements in an array variable: #define nelemof(array) (sizeof array/sizeof *array)
never text 1 syntropy 1249676626 1 syntropy /say http://bit.ly/2KsmMm
nickreg text 1 pragma_ 1267639456 1 pragma_ /say In order to speak in this channel, you must register your IRC nick-name through NickServ. See `/msg nickserv help register` or follow the guide at http://www.wikihow.com/Register-a-User-Name-on-Freenode
noaids text 1 PARLIAMENT 1264284537 1 PARLIAMENT "Whew, you lucked out" "The needle was clean!" "The fresh corpse was clean!" "The prosititute didn't have aids!" "The teddy bear was aids free." "The homeless bum didn't have aids!" "Your hands were aids-free that time." "$who_answers didn't have aids . . . yet!" "$who_answers is aids-free at this time."
nobook text 1 Baughn 1186245248 8 PoppaVic /say If you don't have a book then you are wasting your time and ours. The only good way to learn C or C++ is throuhg a book. If you are too cheap to buy a book then just give up and learn something else that doesn't require a book. In eithercase, go away until you have a book.
notC text 1 n00p 1273154639 0 nobody /say ##C is not a support channel for applications written in C. If there aren't any manuals for the relevant software, then ask the authors of the software. If they've run away, don't use the software. It doesn't take Albert Einstein to work out that ##C is not a good place to ask about operating systems that are written in C. Please find a more suitable channel.
onedim text 1 pragma_ 1258771422 1 n00p http://www.marcuse.org/herbert/pubs/64onedim/odmcontents.html
onlinek&r2 text 1 LordOllie 1175854606 26 n00p If you cannot will not buy k&r2 go here at least, then quit pissing and moaning. http://publications.gbdirect.co.uk/c_book/
oopbad text 1 Baughn 1190225745 3 n00p http://www.geocities.com/tablizer/oopbad.htm
oreo text 1 pragma_ 1108081475 10 pragma_ /say Considering your ineptitude and lack of formulating pointed questions, these people have actually wasted more time attempting to assist you than you deserve. I suggest you copy the answers they are giving you and take a break to review them later when you are of a more calm disposition. Obviously you are too upset or frustrated to think straight. Go have an oreo.
owner text 1 umopepisdn` 1260340966 1 umopepisdn` /say upsidedown is my owner.
pZombie text 1 pragma_ 1258884496 9 pragma_ a moron incapable of logic who hasn't taken any computer science or electrical engineering classes and therefore holds mystical beliefs about what is possible with robots and simulations, constantly fabricating ridiculous laughable experiments.
paste text 1 PoppaVic 1247850332 54 Xgc /say Paste code/errors to http://codepad.org
pastebin text 1 pragma_ 1193081655 56 Xgc /say Please do not use pastebin.org. The reasons are many, including: the font is small and makes '1' and 'l' indistinguishable, among others; lacks syntax highlighting; copy/paste includes line numbers; cluttered layout; etc. Please use http://codepad.org instead.
pastebin.com text 1 Jafet 1216238716 1 pragma_ /say pastebin.com and similar pastebins have ugly colour contrast, hard-to-read fonts, and insert pesky line numbers into the clipboard. Please use a better pastebin, like http://rafb.net/paste.
patterns text 1 Baughn_ 1199480016 2 pragma_ /call size
pizzatest text 1 tolkad 1261813809 1 tolkad delicious
plz text 1 Draconx 1187652483 19 pragma_ /say Please do not abbreviate 'please', 'thanks' or 'sorry'. It makes you look as though you don't really care. See http://lumpio.no-ip.com/dont-use-thx-sry-plz.txt
pointerfun text 1 Baughn 1206989366 9 lemonade`_ /call binky
pointerops text 1 pragma_ 1195411991 5 kate` /say The * operator makes an object from a pointer value. The & operator makes a pointer value from an object.
prepared text 1 pragma_ 1175464588 13 pragma_ /say If you're working on this, you really shouldn't be asking C questions. All your C questions should have been answered years ago or you probably aren't ready/prepared for this project.
quotegrabs text 1 pragma_ 1260876948 18 pragma_ /say For quotegrab commands: http://www.iso-9899.info/wiki/Candide#Quotegrabs -- For a table of grabbed quotes: http://blackshell.com/~msmud/candide/quotegrabs.html
quotehelp text 1 pragma_ 1258776165 13 pragma_ /say Usage: !quote [--author <author>] [text] -- If you use !quote without arguments, it returns a random quote; if you use it with an argument, it searches for quotes containing that text; if you add --author <name> at the end, it searches for a quote by that author; if you specify text and --author, it searches for quotes by that author, containing that text.
rand text 1 twkm 1104397431 5 kate` pseudo-random number generator, #include <stdlib.h>, int rand(void); returns the next number in the sequence in the range [0,RAND_MAX], see http://www.iso-9899.info/man?rand; a *printf format specifier which converts its signed int argument to decimal representation; a *scanf format specifier which parses a decimal representation to its int* argument; test
recurrence text 1 ws 1238875844 1 daemon see: recursion
recursion text 1 ws 1238875840 1 daemon see: recurrence
rednecks text 1 pragma_ 1180158102 4 PoppaVic http://tlf.cx/bilder/tn/computing_for_farmers.jpg.ths.html
reference text 1 twkm 1104460727 29 lemonade` http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
referencedtype text 1 pragma_ 1107989463 2 lemonade` "a pointer type may be derived from a function type, an object type, or an incomplete type, called the referenced type. A pointer type describes an object whose value provides a reference to an entity of the referenced type. A pointer type derived from the referenced type T is sometimes called ``pointer to T''. The construction of a pointer type from a referenced type is called ``pointer type derivation''."
references text 1 pragma_ 1108087719 3 pragma_ C does not have pass-by-reference or "heavy" references like C++ or some other languages do. C does have a definition of references that is probably not what you want or need to know about, see: !referencedtype
regexp text 1 pragma_ 1205423735 3 PoppaVic http://swtch.com/~rsc/regexp/regexp1.html
register text 1 pragma_ 1107636580 9 Syntropy|Laptop a storage-class specifier for an object that suggests that access for the object be as fast as possible. The extent to which the suggestion is effective is implementation defined. Whether or not addressable storage is actually used, the address of any part of an object declared with storage-class specifier register cannot be computed.
religion text 1 Baughn 1202935690 0 nobody http://www.iso-9899.info/wiki/Religion
resistance text 1 kp 1195527445 0 nobody futile.
resources text 1 pragma_ 1106813548 17 KucukMubasir http://www.cognitiveprocess.com/~rjh/prg/portable/c/resources.html - http://www.iso-9899.info/wiki/Web_resources - http://www.iso-9899.info/wiki/Books - See also: reference
restrict text 1 twkm 1105427254 6 syntropy_ a type qualifier, which may only be used with a pointer type, and which requires that objects referenced through such a pointer must be made through a single pointer value, i.e., no aliases / pointers into other parts of the object are allowed
rpg_ans text 1 pragma_ 1231873892 0 nobody "You are standing $rpg_location. You see a $sizes $rpg_location2 to the $rpg_direction." "You have been killed by a $sizes $animals! R.I.P."
rpg_direction text 1 pragma_ 1231873524 0 nobody north east south west southwest northwest northeast southeast
rq text 1 orbitz 1234617864 10 bone random quote in ##c++
rtfb text 1 PoppaVic 1192833517 9 lemonade` /say Read the @#&ing Book - Your primary guide for learning C should be a good book (see http://www.iso-9899.info/wiki/Books). You must not expect to become a proficient C programmer just from reading crappy online `tuts', staring at other people's code, and/or boring us to death by asking dozens of exceedingly trivial questions.
say text 1 pragma_ 1251663502 365 SoulSeller /say $args
scanf text 1 Major-Willard 1106970012 298 Dianora a function that's stupid - "It's nearly impossible to do decent error recovery with scanf; usually it's far easier to read entire lines (with fgets or the like), then interpret them, either using sscanf or some other techniques." - See http://www.eskimo.com/~scs/C-faq/q12.20.html
scanf_is_stupid text 1 n00p 1264982172 5 n00p /say It looks like the !scanf factoid was unsuccessful at convincing you not to use scanf(). scanf() isn't really that stupid, providing you know how to use it correctly. Chris Torek explains some problems with the way scanf() is commonly used and provides methods of solving those problems here: http://bytes.com/topic/c/answers/215517-warning-against-scanf#post840862
schildt text 1 twkm 1105514020 15 s00p please avoid herbert schildt's books, see http://www.iso-9899.info/wiki/Main_Page#Stuff_that_should_be_avoided
scissors text 1 pragma_ 1273104511 2 pragma_ /call rockpaperscissors
sequencepoint text 1 Wulf_ 1263575275 0 nobody Evaluation of an expression may produce side effects. At certain specified points in the execution sequence called sequence points, all side effects of previous evaluations shall be complete and no side effects of subsequent evaluations shall have taken place.
serialize text 1 PoppaVic 1266811304 4 PoppaVic packing structures, usually portably for later extraction: see man 3 xdr as well as http://tpl.sourceforge.net/ and http://www.leonerd.org.uk/code/libpack/
short text 1 infobahn 1104595429 3 n00p a signed integer data type, at least 16 bits wide, which must be able to represent (at least) all the numbers in the range -32767 to +32767. Its lowest value, SHRT_MIN, and highest value, SHRT_MAX, are defined in <limits.h>
size_t text 1 prec 1107760223 11 s00p an unsigned integer type which is the result type of the sizeof operator. A size_t variable can store the size of any object. C90: printf("%lu\n", (unsigned long)sizeof a); C99: printf("%zu\n", sizeof a);
sizeof text 1 prec 1108181591 13 Wulf_ an operator which yields the size, in bytes, of the expression or the parenthesized type given as its operand. The result type of the sizeof operator is size_t. See also size_t and byte.
source text 1 pragma_ 1105954460 65 pragma_ /say My guts can be browsed at http://code.google.com/p/pbot2-pl/source/browse/#svn/trunk or checked out via ` svn checkout http://pbot2-pl.googlecode.com/svn/trunk `
south text 1 pragma_ 1231873967 2 Spark /say $rpg_ans
southeast text 1 pragma_ 1231873996 1 cousteau /say $rpg_ans
southwest text 1 pragma_ 1231874001 2 Wulf_ /say $rpg_ans
spiral text 1 Draconx|Laptop 1198028238 10 Draconx The "Clockwise/Spiral Rule" is a technique for understanding C declarations. See http://c-faq.com/decl/spiral.anderson.html
sscanf text 1 pragma_ 1271531720 2 n00p /say The sscanf function is similar to scanf, except that its input comes from a string instead of a stream. fgets is commonly used prior to sscanf to provide a simple approach which doesn't leave unmatched bytes on the stream, unlike scanf. Note that sscanf's and sprintf's format specifiers are not perfectly reflective, and that it is possible for fgets to fetch part of a line.
standard text 1 kate` 1249578326 55 kjelle /say C99 + TC1,2,3 working paper: http://open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf - Quick C library reference: http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ - An explanation of all C standards: http://clc-wiki.net/wiki/The_C_Standard - Draft ANSI C Rationale: http://www.scribd.com/doc/16306895/Draft-ANSI-C-Rationale
static text 1 Major-Willard 1106976976 15 n00p used if the function/variable is only used in one source file, at file scope, it should be declared as static; variables of this storage class are initialised to zero; variables of this storage class which are declared in functions maintain their value between calls to the function
std text 1 Chris 1247743928 135 kjelle /call standard
stdin text 1 Major-Willard 1104616182 16 Major-Willard a FILE *, traditionally associated with file descriptor 0, using fflush() with it is generally pointless
stdinflush text 1 pragma_ 1193892288 19 pragma_ /say Will fflush(stdin) flush unread characters from the standard input stream? No! See http://www.c-faq.com/stdio/stdinflush.html and http://www.c-faq.com/stdio/stdinflush2.html
stop text 1 joeyadams 1249676931 4 aeritharcanum /say If you do not stop it, I'm going to invoke my scary admin powers against you. You've been warned.
support text 1 prec 1108943444 18 pragma_ /say If you are looking for installation support for a particular piece of software, you are in the wrong place. This channel exists for C programmers and those aspiring to be C programmers -- it is not a general software support channel.
taunt text 1 pragma_ 1259025697 1 pragma_ /call insult
teacher text 1 pragma_ 1199779292 5 kate` /say If someone in the channel is asking pointed questions of a specific individual, please do not answer their questions if you are not that individual. We're sure you're quite smart and capable, but the point is to let the individual infer the answer himself. You can give a programmer Coca-cola, but if you teach them how to carbonate coffee ...
teaching text 1 twkm 1108008187 7 lemonade` not just accepting that the person asking knows what they are doing and has merely forgotten the proper forms to use. Rather, they need insight into what solutions exist to solve the problems they face; for which, there can be no better tool than a clear explanation of the problem, even if you must draw it out of them millimeter by torturous millimeter.
temp text 1 syntropy_ 1254013586 0 nobody /msg ##c foo
terminator text 1 Cin 1194839172 0 nobody http://img223.imageshack.us/img223/7959/stringliteralgg3.png
testbed text 1 PoppaVic 1187198287 3 Wulf A simple program that grows and evolves to _test_ what you learn/read and is disposable.
testcase text 1 lemonade` 1249772768 213 Wulf /say A testcase is a minimal compilable example exhibiting your symptoms. "Minimal" means just the bare essentials required to illustrate your question. Please paste a testcase at http://codepad.org to help us assist you.
thesims text 1 pragma_ 1260214746 2 pragma_ /say It's not entirely unreasonable that God is just a computer programmer and we're just The Sims; albeit with a very complex and intelligent autonomous AI that is capable of deluding us into thinking we have free-will. See also !godprogrammer
toolchain text 1 PoppaVic 1268857525 12 PoppaVic /say For all your makefile/scripting/toolchain needs, please join ##workingset.
top10 text 1 pragma_ 1193812563 14 n00p /say Top 10 beginner mistakes: http://www.andromeda.com/people/ddyer/topten.html (Bonus: find the mistakes within the mistakes!)
tor]{ text 1 pragma_ 1258970930 8 pragma_ a devout extremist Christian zealot who believes strongly in the Bible's "word of God". He will "conveniently" ignore any relevent commentary you make and will relentlessly pursue his attempts to belittle non-believers. He possesses no logic or rationality; only absolute faith. He cannot make arguments; he can only preach. Converse with him at your own risk.
trie text 1 PoppaVic 1205343145 2 Wulf_ http://www.cs.bu.edu/teaching/c/tree/trie/
trigraph text 1 twkm 1104552373 3 pippijn a three character sequence beginning with two question marks, intended to make using c possible on systems where the usual punctuators are missing, typically from keyboards. these sequence is replaced during phase 1 of translation and takes place even within quoted strings.
tutorial text 1 pragma_ 1108597292 40 snhmib http://www.iso-9899.info/wiki/Web_resources#Getting_Started , "the tutorial, by being brief, may also be misleading"
tuts text 1 Jafet 1216118004 7 lemonade` /say Almost every "tutorial" on the web is written by a person who does not know C well. Would you learn C from such a person? Obtain a good C book (see !books) and read it.
twiddle text 1 kate` 1204722036 1 kate` /call twiddling
understood text 1 Auris- 1204317155 13 kate` /say We understood you the first time, and answered already; you may not have understood the answers. Instead of ignoring them and repeating your question, find out what they mean.
unp2 text 1 twkm 1104636219 11 Dianora unix network programming, volume 2: interprocess communications, by stevens, see http://www.kohala.com/start/unpv22e/unpv22e.html
unsigned text 1 infobahn 1104595343 2 n00p a qualifier for integer data types, which renders them incapable of representing negative numbers but increases the number of positive values they can represent.
usetherighttool text 1 vorpal 1225802282 4 pragma_ /say Use the right tool for the job. Someone once said, "if the only tool you have is a hammer, you tend to see every problem as a nail." Avoid placing artificial limitations on your projects by keeping an open mind and learning more tools, as your skills improve.
utf-8 text 1 Wulf_ 1236229252 6 Random832 an ascii-compatible way to represent arbitrary unicode characters with octets. http://en.wikipedia.org/wiki/UTF-8 | printf("\xc3\xb6\n");
valgrind text 1 joeyadams 1249675748 7 c_nick a memory debugging tool. When your program is exhibiting erratic behavior, it may be due to a memory error such as overrunning a buffer or not updating the pointer after a realloc. Try running your program with valgrind; it will save you a lot of time.
videotestcase text 1 lemonade` 1236379037 1 lemonade` a video testcase is a minimal viewable video exhibiting your example. "Minimal" means just the bare essentials required to illustrate your example. Please record a video testcase at http://www.youtube.com to help us assist you.
vim-cheat-sheet text 1 pragma_ 1199481348 0 nobody http://www.viemu.com/vi-vim-cheat-sheet.gif
vla text 1 Wulf_ 1241436478 2 Love4Boobies a variable length array; an array data structure of automatic storage duration whose length is determined at run time (instead of at compile time). Example: void voo(int n) { float arr[n]; }
wcs text 1 prec 1104399769 1 Saparok a reserved function identifier prefix when followed by a lowercase letter
wcsftime text 1 twkm 1104393957 1 mauke convert date and time to wide string, #include <wchar.h>, size_t wcsftime(wchar_t *ws, size_t maxlen, const wchar_t *format, const struct tm *timeptr); returns NULL if the conversion would succeed within maxlen wide characters otherwise the number of codes stored excluding the terminating null wide character, see http://www.iso-9899.info/man?wcsftime
wcsrtombs text 1 twkm 1104395426 0 nobody convert wide character string to (narrow) character string (restartable), #include <wchar.h>, size_t wcsrtombs(char *s, const wchar_t **ws, size_t len, mbstate_t *ps); returns (size_t)-1 and stores EILSEQ in errno if a wide character is encountered that cannot be converted otherwise the number of bytes in the resulting sequence not including the terminating null character, see http://www.iso-9899.info/man?wcsrtombs
why_answers text 1 pragma_ 1194140322 4 joeyadams "I don't know." "Because the $sizes $colors $animals made it that way." "That's just how it is." "If you just investigate a $sizes amount further, you can figure it out." "Because I said so!" "Are you thinking clearly?" "Are you sure you're not a $sizes $idiot?"
whymove text 1 pragma_ 1111196059 4 pragma_ /say See http://freenode.net/policy.shtml and http://freenode.net/policy.shtml#channelnaming for information on the unusual channel name.
windows text 1 Major-Willard 1106527942 15 Jafet a thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition.
xy text 1 Draconx|Laptop 1175596315 161 kate` /say The XY problem: You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X.
|= text 1 prec 1107898467 8 pragma_ the bitwise inclusive-OR assignment operator. The expression (x |= y) is equivalent to (x = x | y) except that the expression x is evaluated only once.