Sponsored Content
Full Discussion: c programming language
Top Forums Programming c programming language Post 302117493 by Raghuram.P on Tuesday 15th of May 2007 12:13:49 AM
Old 05-15-2007
Hi,
The program basiaclly copies the character entered by the user to the variable c and then rits it to the output.
This goes on until the user enters the EOF character(I am not sure abt the character)

Thanks
Raghuram
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Does the programming language matters?

I see you guys encouraged people studied and used C while they were working on UNIX. Does C++ or JAVA matter? And in the past threads, Neo, PxT, and other members recommanded lots good books. I think those people who asked for the references, such as Dominic, had experiences on sys admin or... (8 Replies)
Discussion started by: HOUSCOUS
8 Replies

2. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

3. UNIX for Dummies Questions & Answers

Is PERL a programming language?

I need a small and simple clarification... Can someone tell me whether PERL is a programming language or not. Also, can shell scripts also considered as programming language or not. Also, please tell me the exact difference between programming language and scripting. Please help.... (3 Replies)
Discussion started by: Anjan1
3 Replies

4. Programming

How is a new Web Development language written ?

I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm asking... (1 Reply)
Discussion started by: Anna Hussie
1 Replies

5. Programming

What Programming language should I start learning first?

I want to create a computer program that will translate from English to Spanish and vice versa. So someone could type in a word, phrase, or paragraph and translate from one language to another. What programming language would I use to write up the code and then implement this program? I want to... (8 Replies)
Discussion started by: Anna Hussie
8 Replies

6. Programming

How is a new Web Development language written ?

I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm... (3 Replies)
Discussion started by: Anna Hussie
3 Replies
wctob(3)						     Library Functions Manual							  wctob(3)

NAME
wctob - Converts a wide character to a single byte in multibyte-character format LIBRARY
Standard C Library (libc) SYNOPSIS
#include <stdlib.h> #include <wchar.h> int wctob( wint_t wc ); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: wctob(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Points to a variable containing a wide-character value. DESCRIPTION
The wctob() function determines if a wide-character value constitutes a valid single-byte character in the initial shift state from a multibyte codeset. If so, the function returns the corresponding multibyte character. This function provides a wide-character to multi- byte-character format conversion correctly sized for the %c conversion specifier that is permitted in calls to *printf() functions. In general, use either the wctomb() or wcrtomb() function to perform wide-character to multibyte-character format conversions of single characters. Converting only the characters whose encoding requires one byte has limited usefulness in multibyte codesets, where codes for many or most characters require multiple bytes. RETURN VALUES
The wctob() function returns one of the following: The counterpart multibyte-character value, if wc can be converted to a multibyte-format character that is 1 byte in length and in the initial shift state EOF, if wc does not correspond to a valid multibyte character that is 1 byte in length and in the initial shift state ERRORS
The wctob() function sets errno to the specified value for the following conditions: An invalid character value is encountered. RELATED INFORMATION
Functions: btowc(3), mblen(3), mbtowc(3), wctomb(3), mbstowcs(3), wcstombs(3) Files: locale(4) delim off wctob(3)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy