Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C
Console 74 codes
Home
C
Console
1 A simple example for printf
2 Add format to scanf
3 Characters in the format control string
4 Check how many char have been outputed from printf
5 Console menu
6 Convert temperatures
7 Demonstrates how to read a number
8 Demonstrates printing the results of simple equations
9 Displaying a Quotation
10 Displaying a string
11 Displaying printable characters
12 Displaying printable characters plus whitspace names
13 Do calculation inside printf
14 Exercising formatted input
15 Flush a stream
16 Force user to enter a valid response
17 Formatted output
18 Get a string from stdin
19 Get char from console and display it
20 Get char from the console
21 Get decimal from console
22 Get string from console and assign it to a char pointer
23 Get string from console and output it
24 Get the next character from stdin
25 Integer output variations
26 More output format with printf
27 Narrow down the input by setting scanf
28 Narrow the input
29 Output a string to stdout
30 Output float with format
31 Output formatted ramdom integer
32 Output int value
33 Output int value to console
34 Output justify
35 Output same value by different printf parameters
36 Output string to console
37 Output the chars ASCII code
38 Output the string array with formatting
39 Outputting floating-point values
40 Pause until a key is pressed
41 Pointer argument to scanf
42 Press any key to exit
43 Print a int with a string
44 Print formatted data to stdout
45 Print the string in the reverse order
46 Printf
47 Printf usage
48 Printf with format
49 Prints 3 characters forward and backward to demonstrate character printing
50 Prints Hello on standard output
51 Read a certain length of string
52 Read a char and check it value
53 Read a char from console
54 Read and output string
55 Read and write an int value from and to console
56 Read and write int value in console
57 Read formatted data from stdin
58 Read formatted data from string
59 Read int value from console
60 Read only a range of char
61 Read string
62 Read unsigned int, long and short from console
63 Reading characters with scanf()
64 Reading monetary amounts separated by commas and spaces
65 Reading types of strings from the keyboard
66 Return value from printf
67 Simple printf demo
68 Use fgets to read string from standard input
69 Use getchar() in for loop
70 Use getchar() to read user choices
71 Use getche() to receive user selection
72 Use printf to control the output format
73 Variations on a single integer
74 Various read