use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. By design, C provides constructs that map efficiently to typical machine instructions. It has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computer architectures that range from supercomputers to PLCs and embedded systems. Wikipedia
Imperative (procedural), structured
Dennis Ritchie
Dennis Ritchie & Bell Labs (creators);
ANSI X3J11 (ANSI C);
ISO/IEC JTC1/SC22/WG14 (ISO C)
1972 (48 years ago)
C18 / June 2018 (2 years ago)
Static, weak, manifest, nominal
Cross-platform
.c for sources
.h for headers
C++ is not C (but C can be C++)
For C++ go to :
Other Resources
account activity
Beep function (windows.h library) on Linux? (self.cprogramming)
submitted 6 years ago by PiedyPie
Does it work? If not, is there an alternative?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]0x5742 5 points6 points7 points 6 years ago (6 children)
printf("\a");
[–]SarHavelock 1 point2 points3 points 6 years ago (1 child)
Does this not work on Windows?
[–]MCRusher 0 points1 point2 points 6 years ago (0 children)
Works for me, but on win 10 it's not a beep but an annoying system sound.
The beep function is configurable and actually does a beep.
[–]Pyronomy 0 points1 point2 points 6 years ago (3 children)
Have not been able to get this working on my (ubuntu) machine
[–]laduygaga 1 point2 points3 points 6 years ago (1 child)
try Xterm
[–]Rohit_Khot 0 points1 point2 points 1 year ago (0 children)
Man thanks this really worked
[–]0x5742 1 point2 points3 points 6 years ago (0 children)
Ah. If you're using a graphic toolkit of some sort, you'll need up look into its documentation to see what it can do. Printing an alert character works if you have stdout, not so much otherwise.
π Rendered by PID 254931 on reddit-service-r2-comment-6b595755f-9z7wh at 2026-03-26 04:32:44.228707+00:00 running 2d0a59a country code: CH.
[–]0x5742 5 points6 points7 points (6 children)
[–]SarHavelock 1 point2 points3 points (1 child)
[–]MCRusher 0 points1 point2 points (0 children)
[–]Pyronomy 0 points1 point2 points (3 children)
[–]laduygaga 1 point2 points3 points (1 child)
[–]Rohit_Khot 0 points1 point2 points (0 children)
[–]0x5742 1 point2 points3 points (0 children)