Tutorial Archive: C  C++  Java  Certification  Interview  Javascript  JSF  JSP  Java Beans  J2ME  JDBC  PHP  VB.net  EJB  Struts  Hibernate
Google Web java-samples.com
Subscribe in a reader
Forum
Submit Tutorial
Latest Tutorials


1. Calculator in C
By: Emiley J : 2010-04-16
Description: This is a simple calculator written in C. To use this calculator, just type the number, followed by the operand and then by another number. The application will then display the result. After the result is displayed, the program goes into the loop which asks if they want to do another calculation. If y is pressed, another calculation can be carried out.
Read the full article
 
2. Passing double value to a function in C
By: Emiley J : 2010-04-16
Description: This sample program in C demonstrates the concept of passing a double value to a function as parameter. The program accepts a number in feet and converts the feet into meters by using a conversion function.
Read the full article
 
3. Passing pointer to a function in C
By: Emiley J : 2010-04-16
Description: This sample program in C demonstrates the concept of passing a pointer as a parameter to a function. In this program, the function "prompt" accepts two pointers. The second parameter (num) is a pointer to the variable i. Since it is a pointer, the function does not return the value. The value is stored in i itself.
Read the full article
 
4. Infix to Prefix And Postfix in C
By: Prachi : 2009-03-21
Description: This is a sample program that converts Infix to Prefix and Postfix in C.
Read the full article
 
5. while, do while and for loops in C
By: Ram : 2008-09-16
Description: The various loops in C are While loop,do..while loop, and for loop. These loops can be nested to perform complex operations. The break and the continue statements are used to navigate inside loops.
Read the full article
 
6. Unicode and UTF-8 in C
By: Ramlak : 2008-08-13
Description: Starting with GNU glibc 2.2, the type wchar_t is officially intended to be used only for 32-bit ISO 10646 values, independent of the currently used locale. This is signalled to applications by the definition of the __STDC_ISO_10646__ macro as required by ISO C99. The ISO C multi-byte conversion functions (mbsrtowcs(), wcsrtombs(), etc.) are fully implemented in glibc 2.2 or higher and can be used to convert between wchar_t and any locale-dependent multibyte encoding, including UTF-8, ISO 8859-1, etc.
Read the full article
 
7. Formatting with printf in C
By: Siva : 2008-08-06
Description: We could right justify our output using the format specifiers. The field-width specifier tells printf( ) how many columns on screen should be used while printing a value(as in %wd),here the value is right justified and is padded with blanks on the left. If we include the minus sign in format specifier (as in %-wd), this means left justification is desired and the value will be padded with blanks on the right.
Read the full article
 
8. if, if...else and switch statements in C with samples
By: Siva : 2008-08-06
Description: The If statement in C - The if....else statement in C - Logical Operators in C and the Switch statement in C are discussed in detail with examples
Read the full article
 
9. Statements in C
By: Ram : 2008-07-31
Description: All the statements in C ends with a “;”. The various statements in C are Declaration Statement, Assignment Statement, Output Statement, Input Statement, Control Statement, Loop Statement etc.,
Read the full article
 
10. Writing The First C program
By: Ram : 2008-07-08
Description: The basic syntax of writing a C program - The anatomy of C
Read the full article
 

     Next

   

Google
 
Web java-samples.com

C Tutorials C++ Tutorials Java Tutorials Certification Interview JavaScript Tutorials J2ME Tutorials Java beans Tutorials JSP Tutorials EJB Tutorials JDBC Tutorials PHP Tutorials VB.net Tutorials Struts Tutorials Hibernate Tutorials Latest Tutorials   Forum

[ Copyright © 2006 Java-Samples.com ]
Send mail to webmaster@java-samples.com  with questions or comments about this web site.