Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
strings
- Page 1
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
2 Months Ago
by usmanmalik57
…=['airline_sentiment', 'text']) # Remove rows where 'airline_sentiment' or 'text' are empty
strings
dataset = dataset[(dataset['airline_sentiment'].str.strip() != '') & (dataset['text'].str…
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: Strings
Programming
Software Development
18 Years Ago
by John A
[quote=superlox3;317484]I don't understand
strings
at all. I looked at the tutorial but I … there any tutorial that can be easily followed for inputting
strings
(no skimmers)?[/quote] Explain:[LIST] [*]What tutorial you read [*]… [*]Is there something particular that you don't understand about
strings
?[/LIST]Since you're Canadian I'll cut you lots…
Strings
Programming
Software Development
19 Years Ago
by NejiHyuuga
… use. Problem is in class we did a program with
strings
in which we input one name like "Dan"… along, because im seriously lost about this whole chapter on
strings
.
Strings
Programming
Software Development
18 Years Ago
by superlox3
I don't understand
strings
at all. I looked at the tutorial but I still don't get it... Is there any tutorial that can be easily followed for inputting
strings
(no skimmers)? -Superlox3
Re: Strings
Programming
Software Development
18 Years Ago
by Lazaro Claiborn
[quote=superlox3;317484]I don't understand
strings
at all. I looked at the tutorial but I still … there any tutorial that can be easily followed for inputting
strings
(no skimmers)? -Superlox3 [/quote] When you think of a string…
strings
Programming
Computer Science
12 Years Ago
by shsh111
Given two
strings
u and v and text T,i need help to find whether there is an occurrence of u and v interwoven in T, possibly with spaces. For example, the
strings
abac and bbc occur interwoven in cabcbabdcca (cabcbabdcca) along with other characters (in black). i tried to implement this but i'm stuck ! i hope someone here can help me
Re: strings
Programming
Computer Science
12 Years Ago
by Ancient Dragon
… as many times as you wish. If you have two
strings
"hello" and "world" call the function…
Re: strings
Programming
Computer Science
12 Years Ago
by Taywin
> For example, the
strings
abac and bbc occur interwoven in cabcbabdcca (cabcbabdcca) along with other characters (in black). The color doesn't show up so I am not sure what you mean by "interwoven"? Please give a better example or try to add ASCII visual instead.
Strings help
Programming
Software Development
18 Years Ago
by Wreef
… be 1,000, ect. But this doesn't work with
strings
. Can someone help me here?
Re: Strings help
Programming
Software Development
18 Years Ago
by Wreef
… program was just for me to get the idea of
strings
, ect, All I want is the repeat function so I…
Strings
Programming
Software Development
17 Years Ago
by PL.P27
… and GUI and I am having some trouble with comparing
strings
. I am doing hangman and I have a text field…
Re: Strings
Programming
Software Development
17 Years Ago
by Phaelax
Careful rajatC, with
Strings
you must compare them with the equals() method, as == is intended for primitives and String is an object. [code=java] JTextField guessI = new JTextField(); String g = new String(""); g = guessI.getText(); if(g.equals(word)) //worked; else //wrong; [/code]
Re: Strings
Programming
Software Development
17 Years Ago
by rajatC
[QUOTE=Phaelax;503209]Careful rajatC, with
Strings
you must compare them with the equals() method, as == is intended for primitives and String is an object. [/QUOTE] thanks for the suggestion..
Strings
Programming
Software Development
16 Years Ago
by MegaDave
… digits with (74210), coz as i far as i know
strings
use characters and not integers, is there any way to…
Re: Strings
Programming
Software Development
16 Years Ago
by MrSpigot
You're right,
strings
contain (ASCII) character codes, not integers. So in this case you need to consider each character in the string and convert it to an integer 1 or 0 before performing your arithmetic. There are a variety of ways to do the conversion, check out atoi() for starters.
Strings
Programming
Databases
11 Years Ago
by John_Tee
Hie,had just been told to do a research on
strings
,thier types and how there are used. Please help me out as i research the other side
Re: strings
Programming
Software Development
14 Years Ago
by Arbus
strings
are collection of characters that you enclose it with double quotes. eg: [CODE]char a[5]="world";[/CODE] a[0] will have w a[1] will have o a[2] will have r a[3] will have l a[4] will have d.
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by curls
…() #include <string> // For using
strings
within program using namespace std; // Define const int… // Variable Declarations string A[MAX_SIZE]; // Array of
strings
int I[MAX_SIZE]; // Array of integers int n … element int lengthofAll = 0; // Length of all
strings
input by user float averageLength = 0.0; //…
strings, arrays, length program
Programming
Software Development
17 Years Ago
by curls
… Read list of
strings
and store
strings
in array of
strings
. Max. of 10
strings
Let n be the… () { //Variable Declarations int n; // Number of
strings
to be read int i; string a[MAX_SIZE]; float …avgLength; // Average length of the
strings
string longestWord; // Longest word given int lengthofLongest; // …
Strings Program
Programming
Software Development
18 Years Ago
by limergal
…: a string which holds the original phrase and two
strings
to hold the two words. The function will break… [*]call the function [B]matchexact()[/B] passing the two
strings
. [B]matchexact()[/B] will determine how many times the …corresponding positions in the two
strings
hold exactly the same characters. The function will print…
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by curls
… partially. When it asks me to enter a number of
strings
, and say I enter 3, it still only allows me…'ve got the table set up -- where all of the
strings
should go to, but I'm not sure how to… longest word cout << "Enter the number of
strings
:"; cin >> n; // Loop for (i=0; i…
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by curls
…14. string A[MAX_SIZE]; 15. int n; // number of
strings
read 16. int i; 17. float averageLength; // average …length of
strings
18. string longestWord; 19. int lengthofLongest; 20. 21. 22…. cout << "Enter the number of
strings
:"<< 23. cin << ??? <&…
Re: Strings Program
Programming
Software Development
18 Years Ago
by Lerner
…parameters: a string which holds the original phrase and two
strings
to hold the two words" requires that makewords() …is passed three
strings
. You just pass the string. You don't need …to worry about the length of the
strings
when passing them. You should also be aware that …
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by curls
Ok. I had already figured out to pull lines 22-23 out of the loop. What I am not sure of is what to put into the for-loop. Where and how do I use my array in this? I know within the for-loop I should prompt to read the
strings
into the array. Not sure how to do this?
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by Ancient Dragon
… within the for-loop I should prompt to read the
strings
into the array. Not sure how to do this Read…
Re: strings, arrays, length program
Programming
Software Development
17 Years Ago
by Ancient Dragon
…] as a loop counter because it contains the number of
strings
you want to enter. [icode]for(int i = 0; i…
Re: Strings Program
Programming
Software Development
18 Years Ago
by Salem
> makewords( int a, int b, int c); How does this match your description of a function taking 3
strings
? Read up on the string class. There is plenty of functionality to say - find a space in a string - return sub-
strings
of a string. - get the length of a string.
Re: Strings Program
Programming
Software Development
18 Years Ago
by Lerner
… the string header file you supposedly will be using STL
strings
, which is fine. Under that scenario you could declare a… single string like this: string s; or an array of
strings
like this: string s[50]; but string[50] doesn't…
Re: Strings in Nasm
Programming
Software Development
10 Years Ago
by sbesch
… be a real pain. The days of simple ASCII
strings
have evaporated into the mists of time. Now we have … few useful items that you should consider when dealing with
strings
. There is really no substitute for the native x86 string… the way, watch out for odd terminating characters. Yes, c
strings
use a null byte and so do most assemblers, but…
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