Talk:C string

From Wikipedia, the free encyclopedia

I am facing a problem in C language. I want to convert String into Long.

char* s = "hello"; long l;

l = atol(s); cout<<l;

it returns me 0.

can anybody solve this problem. I am waitinf for ur kind replies... Thank you

The string "hello" isn't numeric so it can't be converted to a number (whether int, long, or what-have-you).
Atlant 12:53, 9 November 2005 (UTC)
As a side note, the language used above cannot be C, since cout is used. cout is used in C++.
81.234.182.189 14:42, 31 January 2007 (UTC)

hbvnbvnbvnv

[edit] C String

Time to create a disambig page, and to give the c-string women's bottom thong garment its own page? 85.227.226.168 17:03, 2 June 2007 (UTC)

Yes, please do create a disambig page.

C String is the brand name of new type of women's lingerie, which is worn instead of a thong. While the manufacturer calls it 'invisable underwear' it is essentially a thong with no waist band. A flexible internal frame holds it to the pelvis and keeps it stable. The manufacturer claims that the advantages are that there are no panty-lines. While many women worry that it will not stay in place, the manufacturer claims that it does. In addition to being used as underwear it can be worn to the beach as swimwear and it is sometimes worn by Brazilian samba dancers who are competing to wear the skimpiest of outfits at Carnival.

UK http://www.lovehoney.co.uk/brands/c-string/

USA http://www.squidoo. com/CString

A UK Video showing a C String over lingerie. http://www.youtube.com/watch?v=2kUgkDH27e8 —Preceding unsigned comment added by 80.218.52.38 (talk) 05:32, 10 January 2008 (UTC)

[edit] Redirect ASCIZ and ASCIIZ here

Currently "ASCIZ" redirects to String_(computer_science) and "ASCIIZ" to American_Standard_Code_for_Information_Interchange. Both should redirectet to the same article. I think to here (C_string) would be best. Other suggestions? /David A 195.84.167.2 08:34, 19 October 2007 (UTC)

Done! Now ASCIZ and ASCIIZ points here. (Have since found out ASCIZ is also something about DNA and proteins. That's someone elses problem.) /David A 195.84.167.2 (talk) —Preceding comment was added at 13:55, 22 April 2008 (UTC)


[edit] Was this article written by a crackhead?

It is confusing, doesn't describe anything properly and fails to distinguish between C and C++ headers. The article contains numerous FUD-licious statements about C strings, and reminds me of Java propaganda. It's as though it were a brain-dropping produced by the innards of some college freshman, and dumped into Wikipedia as part of coursework. 194.187.213.95 (talk) 15:03, 6 June 2008 (UTC)