473,545 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

hi friends

I am learning datastructure using c in my syllabus and i want to learn
about datastructure, c++, java, oracle, web design, html,c#.
SO I AM REQUESTING YOU THAT PLEASE SEND ME SOME INFORMATION
ABOUT THE ABOVE MENTIONED TOPICS.

AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.

YOURS FAITHFULLY
KIRAN.M.K

Jun 27 '06 #1
16 2444
appi wrote:
AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.


Shouting on Usenet does not get you friends.

--
Chris "hush" Dollin
"People are part of the design. It's dangerous to forget that." /Star Cops/

Jun 27 '06 #2

appi wrote:
I am learning datastructure using c in my syllabus and i want to learn
about datastructure, c++, java, oracle, web design, html,c#.
SO I AM REQUESTING YOU THAT PLEASE SEND ME SOME INFORMATION
ABOUT THE ABOVE MENTIONED TOPICS.

AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.

YOURS FAITHFULLY
KIRAN.M.K


Internet lesson 1: SHOUTING AT PEOPLE IS VERY VERY RUDE!

Usenet lesson 1: comp.lang.c deals with C not any of the other stuff
you mention.

c.l.c lesson 1:
<http://www.clc-wiki.net/wiki/Introduction_to _comp.lang.c>

Good luck!

Jun 27 '06 #3
appi said:
I am learning datastructure using c in my syllabus and i want to learn
about datastructure, c++, java, oracle, web design, html,c#.
SO I AM REQUESTING YOU THAT PLEASE SEND ME SOME INFORMATION
ABOUT THE ABOVE MENTIONED TOPICS.

AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.

YOURS FAITHFULLY
KIRAN.M.K


#include <stdio.h>
#include <ctype.h>

int main(void)
{
int ch;
while((ch = getchar()) != EOF)
{
putchar(tolower ((unsigned char)ch));
}

return 0;
}

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Jun 27 '06 #4
Richard Heathfield wrote:
appi said:
I am learning datastructure using c in my syllabus and i want to learn
about datastructure, c++, java, oracle, web design, html,c#.
SO I AM REQUESTING YOU THAT PLEASE SEND ME SOME INFORMATION
ABOUT THE ABOVE MENTIONED TOPICS.

AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.

YOURS FAITHFULLY
KIRAN.M.K


#include <stdio.h>
#include <ctype.h>

int main(void)
{
int ch;
while((ch = getchar()) != EOF)
{
putchar(tolower ((unsigned char)ch));

<snip>

What is the cast supposed to accomplish here? If I've understood the
standard correctly, nothing.

Is it supposed to accomplish something in general? If 'ch' were not
representable as an unsigned char, you avoid undefined behavior with an
explicit conversion, but since the end result is still indeterminate to a
portable program, this doesn't seem like a big win (it's a small win, since
you at least know your program will output gibberish at the worst, rather
than launch the nuclear missiles, but still).

If invalid values are expected, the program should handle their occurrence
explicitly. If the most appropriate explicit handling turns out to be
converting the values explicitly and hoping for the best, then that's fine,
but I wouldn't insert that reflexively.

S.
Jun 27 '06 #5
Skarmander wrote:

Richard Heathfield wrote:
putchar(tolower ((unsigned char)ch));

What is the cast supposed to accomplish here? If I've understood the
standard correctly, nothing.

Is it supposed to accomplish something in general?


Yes.
If ch is a negative value,
and if ((unsigned char)ch) compares equal to 'A',
then putchar(ch) will output 'A'.

--
pete
Jun 27 '06 #6
pete wrote:
Skarmander wrote:
Richard Heathfield wrote:

putchar(tolower ((unsigned char)ch));

What is the cast supposed to accomplish here? If I've understood the
standard correctly, nothing.

Is it supposed to accomplish something in general?


Yes.
If ch is a negative value,
and if ((unsigned char)ch) compares equal to 'A',
then putchar(ch) will output 'A'.

But why would this be useful? How would you obtain such values, and why
would you use them?

S.
Jun 27 '06 #7
Skarmander wrote:

pete wrote:
Skarmander wrote:
Richard Heathfield wrote:

putchar(tolower ((unsigned char)ch));

What is the cast supposed to accomplish here?
If I've understood the
standard correctly, nothing.

Is it supposed to accomplish something in general?


Yes.
If ch is a negative value,
and if ((unsigned char)ch) compares equal to 'A',
then putchar(ch) will output 'A'.

But why would this be useful?
How would you obtain such values, and why
would you use them?


In the C locale,
which is what the program in question was,
I don't think it matters.

But I took your phrase "in general"
to imply "regardless of locale".

N869
7.4 Character handling <ctype.h>

[#2] The behavior of these functions is affected by the
current locale.

--
pete
Jun 27 '06 #8
pete wrote:
Skarmander wrote:
pete wrote:
Skarmander wrote:
Richard Heathfield wrote:
> putchar(tolower ((unsigned char)ch));
What is the cast supposed to accomplish here?
If I've understood the
standard correctly, nothing.

Is it supposed to accomplish something in general?
Yes.
If ch is a negative value,
and if ((unsigned char)ch) compares equal to 'A',
then putchar(ch) will output 'A'.

But why would this be useful?
How would you obtain such values, and why
would you use them?


In the C locale,
which is what the program in question was,
I don't think it matters.

But I took your phrase "in general"
to imply "regardless of locale".

N869
7.4 Character handling <ctype.h>

[#2] The behavior of these functions is affected by the
current locale.

"Regardless of locale" just means the program can't assume a particular
locale to be in effect.

I didn't mean to ask if there was some possibility that the statement
putchar(tolower ((unsigned char) ch));
occurring in some program, using some locale, has a reason for the cast to
be there. Of course there will be such programs and locales. The question is
whether there's any other interpretation of that cast *in general* than a
slightly questionable attempt at error handling.

Either the value you're working with is expected, or it isn't. If it isn't,
converting makes little sense (except to convert potentially undefined
behavior into potentially gibberish output, which may have some extrinsic
value). If it is, converting makes sense only for some particular algorithm
in combination with some particular locales, which was not the context I was
talking about.

S.
Jun 27 '06 #9
appi wrote:
I am learning datastructure using c in my syllabus and i want to learn
about datastructure, c++, java, oracle, web design, html,c#.
Are all of the above included in your syllabus!?

Try to learn one langauge at a time. It's better to know one or two
langauges really well than hack around with several langauges. I
suggest you learn C, SQL and HTML to start with. I personally favour
Python instead of Java or C++, but YMMV.
SO I AM REQUESTING YOU THAT PLEASE SEND ME SOME INFORMATION
ABOUT THE ABOVE MENTIONED TOPICS.
Firstly, using all caps is considered as shouting. We've left Yahoo!
Chat; we're in Usenet.
Also this group deals with standard C and not general programming. You
might want to post to comp.programmin g, *but*, before you do that, be
sure to read the information at the following URLs.

<http://cfaj.freeshell. org/google/>
<http://clc-wiki.net/wiki/Introduction_to _comp.lang.c>
<http://www.safalra.com/special/googlegroupsrep ly/>
<http://en.wikipedia.or g/wiki/USENET>
<http://en.wikipedia.or g/wiki/Netiquette>
AND ALSO SEND ME SOME INFORMATION ABOUT INTERNET.

I assume you know how to use Google... ?

Jun 27 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
9470
by: Sean Don | last post by:
Hello! Is it possible to make classes friends in Python? Or is it better to just stick to "Java style" .isThis, .getThat, .setThis style functions? I understand that classes are generally grouped logically into separate files anyway. So, this isn't always necessary. But I'm a perfectionist and was wondering if friendships were possible in...
4
2443
by: jr | last post by:
I'm currently using the msnp.py code from Manish Jethani's project. I havn't been able to get the friends list to update like it should. it works once out of about every 25 times the program loads. Has anyone been able to implement his code and get the friends list to actively update? Or have any suggestions? Any info would be great....
11
2567
by: Micha | last post by:
Hello there, I think I've run into some classic c++ pitfall and maybe some of you guys can help me out. For my project I will need to use matrices and vectors and so I decided to implement them by myself. I know there are already tons of vector and matrix implementations, but I wanted to have one taylored for my needs and without debugging...
6
2114
by: (Pete Cresswell) | last post by:
I'm makeing a little DB to help manage high school class reunions. One feature I'm trying to implement is "Friends". e.g. Fred Smith is a friend of Joe Jones and Bill Anderson. We record that so that when Fred moves and our mailing bounces, we can call Joe and/or Bill in hopes of getting Fred's new address. I started implementing...
11
2571
by: zhangzhan | last post by:
hello.everyone,i am an chinese.i study in shanxi unniversity,as i like english very much,i also wanr to make friends with a foriger. .....i really don't kown what i should to say ,as i first came here,if i have make some mistakes ,please excuse me. i like english ,but i more like my friends,so i hope there are some person want to make...
0
1621
by: goosen_cug | last post by:
hello.everyone,i am an chinese.i study in China University of Geosiences,as i like english and C++(program) very much,i also want to make friends with a foriger to improve my english and the ability of program.so i hope there are some person who want to make friends with me,if you want to email me,please sent emails to goosen108@gmail. I...
1
2175
by: goosen_cug | last post by:
hello.everyone,i am an chinese.i study in China University of Geosiences,as i like english and C++(program) very much,i also want to make friends with a foriger to improve my english and the ability of program.so i hope there are some person who want to make friends with me,if you want to email me,please sent emails to goosen108@gmail. I...
3
1713
by: shaun roe | last post by:
Hello, I am working in a framework with certain restrictions; in particular I have a 'data' class with getter and setter methods, and a some 'filling' classes which know how to insert the data to the data class (they match various sources such as a text file or a database, and then fill the data). The filling methods use the 'setter'...
1
2315
by: KittenKoder | last post by:
Basically I'm trying to parse my friends page on MySpace. It's easy to get Page 1. I can use "MSXML2.ServerXMLHTTP" to get the page and parse all my friends. The question is, how do I get page 2 and page 3 and so on? There's a simple Javascript post on the page, eg to get page 4 it's ...
2
2899
by: LeXave | last post by:
Hi all I've got the following problem in my database structure : I have a table "User". Each user can have one or more friends which are users too. And I have no idea about the way I must think my structure. My first idea was to create a second table "User2" which would be an exact copy of the table "User", but I can't because of the fact...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7808
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
704
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.