News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Application and Web Development
>
Standard C, C++
strlen("""")
User Name
Remember Me?
Password
Register
FAQ
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
09-24-2008, 12:17 AM
#
1
(
permalink
)
QUantumAnenome
Code Monkey
Join Date: Mar 2005
Posts: 56
strlen("""")
This is a strange one. I cannot figure out how to get a string that consists of one double quote. strlen("""") returns 0.
I had to do this:
char dq[2] = {0x22, 0};
Is there a cleaner way? Thanks!
QUantumAnenome
View Public Profile
Find More Posts by QUantumAnenome
09-24-2008, 09:02 AM
#
2
(
permalink
)
DJMaze
Senior Contributor
Join Date: Mar 2005
Posts: 735
"\""
__________________
UT: Ultra-kill... God like!
DJMaze
View Public Profile
Find More Posts by DJMaze
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
All times are GMT -8. The time now is
05:04 PM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.0.0 RC8
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
LinkBack
LinkBack URL
About LinkBacks