Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
chars
- Page 1
chars and strings
Programming
Software Development
15 Years Ago
by asymmetric
… there are two approaches: the first is to format the
chars
as a string using [icode]SSCANF[/icode] (125) (with %s… doesn't involve syscalls. are there any drawbacks to printing
chars
instead of strings? thanks asymmetric
Chars and Ascii table
Programming
Software Development
9 Years Ago
by Slavi
… and keep it so that it loops back the the
chars
97-122 (small letters in english)
Re: Chars becoming negative.
Programming
Software Development
15 Years Ago
by ArkM
… of type 'string', str[i] is of type 'char'.
chars
will be considered negative whenever the top bit is set… signed or unsigned, it's an implementation-dependent issue. All
chars
with true predicate [icode]c > '\0' && …c <= '\x7f'[/icode] (ascii-
chars
) are converted to positive integers, others may be positive or…
Re: Chars becoming negative.
Programming
Software Development
15 Years Ago
by dougy83
assuming str is of type 'string', str[i] is of type 'char'.
chars
will be considered negative whenever the top bit is set. It's not an issue if you are bitwise ORing, as you will get the correct result. If it annoys you, feel free to cast to unsigned char, as necessary.
help replacing special chars with ascii chars in strings
Programming
Software Development
11 Years Ago
by Ritesh_4
…do know the string replace method thus replacing these special
chars
with normal alphabets, with the example below: `$vSomeSpecialChars …quot;** and it may be possible that other special
chars
are present in the strings which follow. Thus I… would need some help in finding these
chars
positioning and then add the concatenation sign, ||, and…
Replace Chars in String Problem
Programming
Web Development
15 Years Ago
by dev.cplusplus
… hope someone can help me. I need to replace special
chars
that appear in a string. [B]for example if I… have the string:[/B] this- is a !string with special
chars
- [B]I want to receive[/B] this45 is a 33string… have the string:[/B] this- is a !string with special
chars
- I receive: [B]this45 is a 33string with special…
Readings chars from file into vector
Programming
Software Development
15 Years Ago
by DeadJustice
…'m trying to read in the
chars
for a file in order to compare…gt; cyphVector; char c; //fill vector with cypher file
chars
while( cyphFile.good() ){ cyphFile >> c;…cyphVector.push_back(c); } //fill vector with plain file
chars
vector<char> plainVector; char d; while(plainFile…
Re: Replace Chars in String Problem
Programming
Web Development
15 Years Ago
by dev.cplusplus
… better way, and I way that will change all the
chars
. Thanks
Copy chars from array into dynamically allocated array
Programming
Software Development
16 Years Ago
by pacman326@gmail
Hey guys, I am trying to take
chars
from a file, and place them into 2 different dynamically …, I am at a loss for how to take the
chars
and use strcpy to get them into the arrays. Thanks…
problem rendereing special chars in user control
Programming
Software Development
15 Years Ago
by gpnet
…); Invalidate(); } }[/CODE] The strange thing is when I write special
chars
like / (slash) or \ (backslash) . In these cases the text rendering… suspect the user control or the drawstring function interpret these
chars
like escape sequence , but I don't know how to…
Recursive function with parameter - array of chars.
Programming
Software Development
15 Years Ago
by carolinepoland
… function which have a parameter - array of
chars
. This function have to change order of
chars
: first becomes last, second - last but…
Special chars in Insert query...
Programming
Databases
14 Years Ago
by Krstevski
Hello guys, how can to make correct query if in the typed values have a special
chars
(e.g. ' ") ? If the typed values have a one special char I know how to make the correct query, but if it have more then one special
chars
then I don't know how to make the correct query... can someone help me ? Thanks.
mod_rewrite not escaping chars correctly
Programming
Web Development
14 Years Ago
by jacob22
… without the "\,\=" part, but i need those two
chars
in particular for the URL that I am trying to… the .htaccess file work, although they dont have the two
chars
as above. cheers for your help.
Separate an int into two chars
Programming
Software Development
14 Years Ago
by ignorantpenguin
I have an int that I need to store as two
chars
. So is there some way to get the first 8 bits and the second 8 bits and store them as
chars
. And if so, how would I recombine them later to get a meaningful int value?
limit text chars this script?
Programming
Web Development
12 Years Ago
by Inny
Id like to limit the text
chars
shown in this script because too many
chars
are displayed causing overlap (see link) no idea…
LINQ query stripping of front chars then Highest no
Programming
Software Development
12 Years Ago
by Ggalla1779
Hi guys I need to find next highest no in a field that is a stick ref it has
chars
at front and 0 padded How so I strip off front
chars
and 0's to get actual highest no number in the table field? Am using LINQ against entity framework cheers George
A quick question about checking chars
Programming
Software Development
11 Years Ago
by Lord_Migit
Hi folks, just a queary about checking
chars
. I have a char[] variable. I ask the user a … I am just wondering where I am going wrong. Perhaps
chars
are not the way to go when doing this? Also…
Joining to chars in c++
Programming
Software Development
10 Years Ago
by christinetom
… the new year. I'm having trouble with joining two
chars
and displaying the output. For example Any clues as to…. Probably cos it's seeing the binary value of the
chars
. cout << a + b << endl; //I tried…
Re: strip() method with chars doesn't seem to work
Programming
Software Development
9 Years Ago
by vegaseat
… manual that ships with every installation: str.strip([
chars
]) Return a copy of the string with the leading… and trailing characters removed. The
chars
argument is a string specifying the set of characters… to be removed. If omitted or None, the
chars
argument defaults to removing whitespace. ... Python has an easy…
Re: Recursive function with parameter - array of chars.
Programming
Software Development
15 Years Ago
by mvmalderen
[QUOTE=carolinepoland;841588]This function have to change order of
chars
: first becomes last, second - last but one etc. Then, I have to write some simple program with this function. [/QUOTE] Actually that's the same as: [U]Write a function which uses recursion to reverse a c-string ...[/U]
Re: Separate an int into two chars
Programming
Software Development
14 Years Ago
by ignorantpenguin
[QUOTE=Ancient Dragon;1160102]what makes you think an int is only 16 bits? Depending on your compiler, it might, but then again it might not.[/QUOTE] Okay, then store an int as however many
chars
it needs to be...that's easily determinable using sizeof
Re: Postgre convert non latin chars case
Programming
Databases
11 Years Ago
by McLaren
… function is from some page, I just added few more
chars
of lithuanian language. It will be ok. This will not… work for example with russian
chars
, because there are no those yet, but if we will…
Re: Joining to chars in c++
Programming
Software Development
10 Years Ago
by Lucaci Andrew
… ss; ss<<a<<b; //adds both
chars
to the stringstream string concat = ss.str(); //you can get…
lowercase chars
Programming
Software Development
19 Years Ago
by dcving
…]How do I get the student names in all lowercase
chars
except the first letter which is capitalized?[/COLOR] [code] #include…
having problem with some chars to display
Programming
Web Development
17 Years Ago
by noman78
… instead of above 2. this is happening with some other
chars
as well. but the interesting thing is , if i try…
Removing found chars from string
Programming
Software Development
17 Years Ago
by sgriffiths
… able to search a string and remove non a-z
chars
and also search for certain words and then remove them…
Re: Removing found chars from string
Programming
Software Development
17 Years Ago
by andor
…] Whats the posibility that the string have more than 25
chars
? [code] #include <stdio.h> int main() { char p…
Re: Removing found chars from string
Programming
Software Development
17 Years Ago
by Ancient Dragon
…]whats the posibility that the string have more than 25
chars
?[/quote] 100 % when the string contains some other characters. Loops…
Re: Removing found chars from string
Programming
Software Development
17 Years Ago
by mkadwa
…, you can do the cleanup of removing non a-z
chars
as norm. ** ** Hint: key is set up as an array…
Arabic label in ASP.NET dispalys junk chars
Programming
Web Development
16 Years Ago
by nurit
Hi, I'm developping a site in arabic, I put the UTF-8 charset, but the arabic
chars
that are shown correctly in design view become junk in browser view. text from DB is shown correctly anu idea? Thanx,
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
Forums
Top Members
Meet People
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