Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
double-quotes
- Page 1
C++ programming error
Programming
1 Month Ago
by sammieb
… I am getting this code because of my single
quotes
instead of
double
quotes
before and after my string. But when I replace… them with
double
quotes
, I get the "not expected" error. Any help…
Re: C++ programming error
Programming
1 Month Ago
by rproffitt
You'll want to escape those quote marks and maybe more. Read https://en.cppreference.com/w/cpp/language/escape Example follows: #include <iostream> using namespace std; int main() { cout << "furey, edward \"sphere calculator\" at https://www.calculatorsoup.com/calculators/geometry-solids/…
Re: Undefined Index issue
Programming
Databases
15 Years Ago
by dickersonka
double
quotes
[code] $master_id=mysqli_insert_id($mysqli); }else{ $master_id=$_POST["master_id"]; } [/code]
Re: Compare Char[] to ""
Programming
Software Development
18 Years Ago
by Ancient Dragon
double
quotes
mean a null-terminated string, single
quotes
is a single character. Replace the
double
quotes
in the if statement to single
quotes
. [code] if ( term1[1] == '(' ) [/code]
Re: chars and if statements
Programming
Software Development
13 Years Ago
by Fbody
Double
-
Quotes
( " " ) are used to enter "string literals". Single-
quotes
are used to enter a single character i.e. 'C…::string myString = "This is a string literal, it uses
double
-
quotes
."; char charString[80] = "This is also a string…
Re: beginners
Programming
Software Development
16 Years Ago
by Ancient Dragon
>>
Quotes
are generally used to reference headers that require an absolute … known directories, such as the compiler's include directory and
double
quotes
are used to reference all other header files, such as… otherhand, I have used compilers that treat angle brackets and
quotes
the same.
Re: Simple char array question
Programming
Software Development
16 Years Ago
by ~s.o.s~
Double
quoted literals are used to define strings, while single quoted literals for characters. Since you are creating an array of characters, you need to enclose the O in single and not
double
quotes
like Wolfy has already said.
Re: T_string error
Programming
Web Development
11 Years Ago
by pritaeas
Double
quotes
within a
double
quoted string need to be escaped with a backslash.
Double quotes prob in mysql query
Programming
Web Development
14 Years Ago
by sarithak
….... the above query working for all other sarch items, except
double
quotes
words...plz give me some suggestions... Thanks in advance... Saritha…
double quotes using xslt
Programming
Software Development
6 Years Ago
by priyanka.choudhary.90038
How to escape the
double
quotes
using XSLT: My xls file converting xml file into csv …
Adding double quotes to a string problem.
Programming
Software Development
14 Years Ago
by Carrots
…); //add
double
quotes
to m_Address: m_Address = addDoubleQuotes(m_Address); //add
double
quotes
to m_PostCode: m_PostCode = addDoubleQuotes(m_PostCode); //add
double
quotes
to m_TelNo: m_TelNo = addDoubleQuotes(m_TelNo); //add
double
quotes
to…
Re: Adding double quotes to a string problem.
Programming
Software Development
14 Years Ago
by Carrots
… getDate() = 0; virtual string getTime() = 0; //Virtul function for adding
double
quotes
to strings for the .csv file: virtual void addDoubleQuotes(string…() { return m_Time; } string getDate() { return m_Date; } //Virtual function for adding
double
quotes
to strings for the .csv file: void addDoubleQuotes(string&…
Use variables with double quotes sed -i
Programming
Software Development
14 Years Ago
by inspire87
…/bin/" As you can see, both variables contains " (
double
quotes
) If I run the 'sed -i' command, I get an… error. I cant use
double
quotes
within the
double
quotes
of the 'sed' command... The sed command would look… solution to this problem. Do I need to use the
double
quotes
in both commands?? Thanks in advance!
Re: How to remove double Quotes from a text file when importing to a Hash
Programming
Software Development
13 Years Ago
by d5e5
…consisting of a
double
-quote followed by a comma followed by zero or more single-
quotes
." That won…forgot the square brackets? An example of removing
quotes
from data read from a tab-delimited file …words in array. foreach(@words){ s/"//g; #Remove
double
quotes
before storing word in hash. undef($h{$_}); #Store…
How to remove double Quotes from a text file when importing to a Hash
Programming
Software Development
13 Years Ago
by BSauer
…text file. The file is a tab delimited file with
double
quotes
surrounding the text. The routine needs to compare these values…another imported list of values that do not have the
double
quotes
around the text. I have been able to get the… information imported to a hash but the
double
quotes
are still there. Is there anyway to use the qw…
Re: why using double quotes..
Programming
Web Development
14 Years Ago
by darkagn
Using
double
quotes
in PHP has many advantages, not the least of which … $i $i $i $i There are other advantages to using
double
quotes
in php, including being able to use escape characters such… your specific example, The variables are inside
double
quotes
and single
quotes
, because the single
quotes
are needed in the SQL statement but we…
Escape Sequences or Accepting Double Quotes in String Constants
Programming
Software Development
18 Years Ago
by SlyMaelstrom
… string in it. Now in C and C++, to write
double
quotes
in a literal constant you just use a backslash infront… backslash in a string and closed the string at the
quotes
, like so: [CODE][foo].ControlSource = [COLOR=Red]"=IIf([foo…;[/COLOR][/CODE] So does anyone know the code to accept
double
quotes
in string constants?
Re: Multiple double and single quotes
Programming
Software Development
10 Years Ago
by TrustyTony
have you tryed to use the command ib command prompt? I remember that sometimes you must add one more level of
double
quotes
arround the
double
quotes
, which gets removed. Can you not use only
double
quoting inside the command, I do not think CMD supports single
quotes
. I am not 100% sure, though. Can you give exact error message you are getting?
xml is showing double quotes
Programming
Web Development
9 Years Ago
by mark103
…, I can see that I'm using
double
quotes
but i want to use the single
quotes
. I want to add the single… code, I can see that I have got the single
quotes
. <programme channel='101 ABC FAMILY' start='2014-05-04…;); fwrite ($handle, $xml); ?> How I can see the single
quotes
in the xml tree when I'm generating the xml?
Re: xml is showing double quotes
Programming
Web Development
9 Years Ago
by pritaeas
Change line 8, swap the single and
double
quotes
.
Multiple double and single quotes
Programming
Software Development
10 Years Ago
by fatalaccidents
… is that the command has a lot of single and
double
quotes
in it and I can't seem to get it… it to (since I tried \ escaping one of the single
quotes
.. here is an example of what I'm trying to…
Re: Multiple double and single quotes
Programming
Software Development
10 Years Ago
by fatalaccidents
… the problem is in the way I'm using the
double
quotes
and single
quotes
. I can't figure it out.
Escaping single and double quotes mysql
Programming
Web Development
10 Years Ago
by GlenRogers
…, sometimes that data has single and
double
quotes
in it. How do you get the
quotes
to be part of the string so…
Re: Escaping single and double quotes mysql
Programming
Web Development
10 Years Ago
by GlenRogers
On further inspection this seems to be esaping the
double
quotes
but not the single
quotes
! Anyone know why?
Re: Escaping single and double quotes mysql
Programming
Web Development
10 Years Ago
by GlenRogers
Now I get this error An error occured: Column count doesn't match value count at row 1 Query was: INSERT INTO projects VALUES (NULL, ''', ''', '', '', '') But only when there are single
quotes
, works ok for
double
quotes
!
scaning array of strings or vector under double quotes in c++
Programming
Software Development
7 Years Ago
by can-mohan
… dynamically process name through array of strings or vector under
double
quotes
and want to execute the same so that instead of… ouptut of n number of dynamically populated process in under
quotes
. "ps -C gnome-terminal -o %cpu,%mem | tail -n…
Php Cli, how to use single and double quotes
Programming
Web Development
12 Years Ago
by stefh
Hi everyone :) Does someone have a solution to use single and
double
quote with php cli when passing code with the -r option? Example, this won't work:[CODE]$ php -r 'echo 'ok'; echo "ok";'[/CODE] I'm looking for a solution that allows me to use single AND
double
quotes
in the same code... Thanks for your help!
why using double quotes..
Programming
Web Development
14 Years Ago
by karthikanov24
…;'$mainImage'"; $thumbnail = "'$thumbnail'"; why $mainimage is inside
double
quotes
?
Compare characters to double quotes?
Programming
Software Development
14 Years Ago
by spursfan2110
Hi everyone, I'm kind of stuck, is this the correct notation to compare a char to
double
quotes
? variable == "\""
C# syntax for double quotes in a sql
Programming
Software Development
13 Years Ago
by bnath001
…" from tableA" (basically the columns are wrapped in
double
quotes
. I used this synatax in C#: string mysql = "select…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC