Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
bit-string
- Page 1
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
2 Days Ago
by Inamullah_1
Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the …
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
1 Month Ago
by Erussuhsh
Hi I'm new android app development can you teach me
Re: Bit String help
Programming
Software Development
16 Years Ago
by Duoas
… file? I will assume some things from here on: A
bit
string
is more commonly called a binary number (integer types). Hence… bits for values that are already associated with a particular
bit
. The second sentence would then be: [inlinecode]11 1111 1101…
Re: Retrieving a bit in a bit string
Programming
Software Development
13 Years Ago
by Locke123
…this subroutine is to find the nth
bit
of a
bit
string
. the n is being based in the… ax reg and the pointer to the
bit
string
is being pulled from the si reg. The… value of the nth
bit
in the
bit
string
will be returned along the ax variable.…into ax test ax, 01h ; test the lowest
bit
of ax je zerobit ; if zero, goto …
Retrieving a bit in a bit string
Programming
Software Development
13 Years Ago
by Locke123
… have a subroutine that is passed a pointer to a
bit
string
in the si reg and an index in the ax…
Re: Bit String help
Programming
Software Development
16 Years Ago
by Duoas
… to go ask your professor for clarification. Sorry. Oh, the
bit
position is indexed like an element of an array. So… strings (as in [inlinecode]vector <
string
> values;[/inlinecode]), then
bit
zero represents values[ 0 ],
bit
1 represents values[ 1 ], etc. A…
Bit String help
Programming
Software Development
16 Years Ago
by DemonGal711
…'s the instructions. [B]Write a C++ program that uses
bit
strings to represent sets, and finds A^B, AUB, A… have absolutely no clue how they want me to use
bit
strings to represent the sets. I figured I'd read…
Re: Bit String help
Programming
Software Development
16 Years Ago
by DemonGal711
…, for setting the strings equal to a
bit
, can you simply do it by using
bit
# = <something> or is there…
Bit Strings in Java
Programming
Software Development
13 Years Ago
by razakhan
… insight on the program. Here is the problem: Given a
bit
string
expression, such as 10110 OR 11101, evaluate it. Input: Each…
string
represents a
bit
-
string
expression with one operator in it. The operators are…
Re: Retrieving a bit in a bit string
Programming
Software Development
13 Years Ago
by D33wakar
… hope this will help . suppose there's a
string
defined as [CODE]
string
db "ABCDEFGH",'$'[/CODE] and it's characters… can be accessed like this [CODE]mov bx,offset
string
mov al,[bx+si];al = "A" add si…="C"[/CODE] or like this[CODE]mov al,[
string
+si];al="A" add si,02 mov al…
Re: Bit String help
Programming
Software Development
16 Years Ago
by DemonGal711
Alright. Thanks
Re: Bit representation
Programming
Software Development
15 Years Ago
by masijade
… pad it with zeroes, as it will only produce a
String
as long as it [i]needs[/i] to be, rather… full 8 bits. I.E. if the "full"
bit
string
should be "0000101" this will only produce "…;101". Or, if the
bit
string
should be "00110010" it will produce "110010…
Converting a string of characters into a single string of 8 bit binary in 1/0 format
Programming
Software Development
15 Years Ago
by fliggygeek
I have a system that needs a 7
bit
character
string
converted to an 8
bit
string
of binary ones and zeroes, in this fasion… do manipulations on them. ideally this would have the text
string
passed as a parameter to the program. I have searched…
Re: parse bit-String to bytes
Programming
Software Development
13 Years Ago
by NormR1
Use the bitwise OR operator to set a
bit
in a byte. [CODE] byte x = 0; x = (byte)(x | …1); // set the low order
bit
x = (byte)(x | 0x80); // set the high order…
bit
System.out.println("x=" + x + " " + Integer.…
Re: parse bit-String to bytes
Programming
Software Development
13 Years Ago
by Ephron
hi, I searched around a
bit
and found this site: [URL="http://www.exampledepot.com/… is how I finally did it: [CODE]private byte[] toByteArray(
String
input) { //to charArray char[] preBitChars = input.toCharArray(); int bitShortage = (8…
Re: parse bit-String to bytes
Programming
Software Development
13 Years Ago
by JamesCherrill
… of 8 one at a time and set the corresponding
bit
of the output byte.
Re: parse bit-String to bytes
Programming
Software Development
13 Years Ago
by Ephron
thanks a lot so far, but em, I'm a
bit
of an newbee when it comes to bytes, could you show me how to set those bits? thanks
parse bit-String to bytes
Programming
Software Development
13 Years Ago
by Ephron
hi, I've got a really long
String
of bits, like: "0010101011101010011011011010100110101010110101..." And I want to chop it into pieces of eight and make bytes out of them, in an array. what would be a performant way to do this? Thanks Ephron
Re: Bit Strings in Java
Programming
Software Development
13 Years Ago
by NormR1
Cross posted at: [url]http://www.javaprogrammingforums.com/whats-wrong-my-code/13796-
bit
-strings-java.html#post57004[/url]
Re: String
Programming
Software Development
12 Years Ago
by stultuske
String
is a datatype. for more information, I would suggest you …](http://docs.oracle.com/javase/7/docs/api/java/lang/
String
.html) and go over your textbook/course notes again. it…/code I have yet to see, so studying up a
bit
is not a bad idea, but the question (how) you…
Re: Pack Unicode String
Programming
Software Development
15 Years Ago
by d5e5
… you could do is encode the unicode
string
into an 8-
bit
string
, which the 's' argument will accept and allow you to… you use depends on what characters will be in your
string
. In the following I use the 'utf-8' encoding: [CODE…
String Concatenation Help
Programming
Software Development
16 Years Ago
by gothicmisery85
…StrConcat.asm) ; This program concatenates a source ;
string
to the end of a target
string
. INCLUDE Irvine32.inc INCLUDE Bsearch.inc ARRAY_SIZE… ; FGH ; ; Fills an array with a random sequence of 32-
bit
signed ; integers between LowerRange and (UpperRange - 1). ; Returns: nothing …
String.yeilds class and pointer instead of desired text
Programming
Software Development
14 Years Ago
by speedkreature
… with Java. So far, I'm enjoying it quite a
bit
. It has the structure of C++ that I like, and…, the code snippet: [CODE]public static
String
decodeString (
String
InputString) {
String
DecodeResult="";
String
TempString1="";
String
TempString2 = ""; int TempInteger=0…
Re: String Concatenation Help
Programming
Software Development
16 Years Ago
by gothicmisery85
…nothing ;------------------------------------------------------------ mov edi,pString ; EDI points to the
string
mov ecx,Count ; loop counter mov edx,string_1 …esi edi, source:PTR BYTE, ; source
string
target:PTR BYTE ; target
string
;------------------------------------------------------------ mov ecx,eax ; EAX = length…
Re: String Method Question
Programming
Software Development
15 Years Ago
by tux4life
… as well, but where would you ever need a negative
string
size? The answer is: you'll never need that. An… be set to 1 (including the high order
bit
), but the high-order
bit
(of a signed integer) just indicates whether the… positive or as a negative value. If the high-order
bit
is 1, the (signed) integer will be interpreted as a…
string error
Programming
Software Development
16 Years Ago
by tootypegs
… set to just select 1 file I can get the
string
for the path of the file by [code] AnsiString LinkPath… they solved it? after a quick
bit
of googling I can across the below
bit
of code which seems to be everything…
Re: string.size and accentuated words
Programming
Software Development
16 Years Ago
by Duoas
…[/b] encoding, but that is limited to only 7-
bit
ASCII characters and any [i]system dependant[/i] character…-8, but where the smallest element is a 16-
bit
word instead of a byte. This format is considered…; #include <functional> #include <
string
> std::size_t UTF8_length( const std::
string
& s ) { return std::count_if( s…
String based Hangman game
Programming
Software Development
14 Years Ago
by ChrisXL
…with any kind of loops, so I'm a little
bit
clueless. Another problem I'm facing is that we …Yes then the removeDoubletons method is performed on the input
string
of text. Regardless of which button the user pressed …Yes then the randomMove method is performed on the input
string
of text. Regardless of which button the user pressed …
Re: String based Hangman game
Programming
Software Development
14 Years Ago
by ChrisXL
… the java docs for the
String
class quite a
bit
, and it does help, …class StringGame { private
String
wordInput; private
String
guessInput; public void removeDoubletons(
String
wordInput) {
String
newWordInput = null; … wordInput.charAt(i); } } } public static void main(
String
[] args) { } }[/code] I don't understand a…
String/Integer C++ Question
Programming
Software Development
16 Years Ago
by Yersey
… new to C++ and am having a
bit
of trouble reading in a text file to …be useful here? Thanks in advance. [CODE] bool isString = true;
string
Dogname = " "; int trash; while (isString = true) …) { readin >> trash; //convert
string
to integer? } else { //convert
string
to int? // push back to next dog …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC