Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
string-array
- Page 1
McCharts - ArkTS
Programming
Software Development
1 Month Ago
by 杨_659
…the font size. 5. Chart data (data). An
array
used to store the content of the chart, where…:
string
| number; value:
string
| number; [key:
string
]: any; } //Chart feature interface interface interface_option { cWidth?:
string
| number, cHeight?:
string
| number, fontSize?:
string
| number, color?:
string
, cSpace…
Re: Show computer name on a label
Programming
Software Development
2 Months Ago
by Salem
… char[16] to system::
String
^ You need to convert your char
array
to a CLI
string
in the first instance,… before trying to pass it onto some other function expecting a CLI
string
…. https://learn.microsoft.com/en-us/cpp/extensions/
string
-cpp-component-extensions?view=…
string array
Programming
Software Development
17 Years Ago
by mrjoli021
…; void PrintArray(char *Title,
string
array
[row][col]); void Shuffle(
string
m[row][col]); int main(void) {
string
array
[row][col] = {"the…("Original Data",
array
); Shuffle(
array
); PrintArray("Shuffled Data",
array
); return 0; } void PrintArray(char *Title,
string
array
[row][col]) { /*…
String Array
Programming
Software Development
16 Years Ago
by shazzy99
… that are filled in an
array
lets say i have the following
array
defined
string
[] text = new
string
[50] and i fill the… that could return the number of elements/indexes within an
string
array
that are filled? I tried using text.lenght() but… that returns the total size of
array
. In above case it would return 50 which is …
Re: String array
Programming
Software Development
14 Years Ago
by tong1
… attributes for your class. When you declare an
array
, you may initiate the
String
array
with the corresponding values at the same time… assignments' code during declaration, which is wrong.
String
[] greeting = new
String
[4]; // declare an attribute of
STring
array
. It's good. greeting[0] = "…
String array
Programming
Software Development
14 Years Ago
by nocookies92
I'm trying to create a
string
array
, but the compiler keeps giving me an error message on … a value to each index of the
array
. Here's the code: [CODE]
String
[] greeting = new
String
[4]; greeting[0] = "Why, Hello… type, and <identifier> expected. I know creating an
array
is pretty basic, but I can't figure out what…
String array
Programming
Software Development
17 Years Ago
by Thew
… need to resolve this problem: I need to create
string
array
that contains another
string
array
. For example, it can be like this: [products…
string array
Programming
Software Development
17 Years Ago
by abar_sow
… the list of strings stored in one variable to one
string
array
.wordlist contains list of variables. [code] for (int s=0…; s <=wordlist; s++) {
String
wordlisting[s]=new wordlist; System.out.println(wordlisting[s]); } [/code…
string array issues with storing input (beginner)
Programming
Software Development
17 Years Ago
by rem0404
… { return true; } } // Testing for ADDMESSAGE function //
string
[]=
array
of messages //int[]=the
array
of keys //int = numElements //
string
= the text of the new message… the message, to go into the
array
of keys void addMessage(
string
messages[], int keys[], int numElements,
string
message, int key) { //this function…
String array and increasing array size
Programming
Software Development
12 Years Ago
by mikias.kidane.9
…( count ==
array
.length) {
String
[] temp = new
String
[
array
.length * 2]; for ( int i = 0; i <
array
.length; i++) { temp[i] =
array
[i];
array
= temp; } }
array
[count] = read…
String array being cut in half
Programming
Software Development
15 Years Ago
by T3Roar
… StringTokenizer to split the sentence, put the words into a
string
array
, use a 'for' loop to replace the necessary words and… tok = new StringTokenizer( enteredText, " "); //create
string
array
of length countTokens
String
[] sentenceArray = new
String
[tok.countTokens()]; //fill sentenceArray with tokens for( int…
Re: String array and increasing array size
Programming
Software Development
12 Years Ago
by Taywin
…a constant instead of keep checking for the
array
size. What you may do is to… besides checking for the
array
size (i.e. asking for continue or such).
String
array
[] = new
String
[7]; ... for (…int index = 0; index <
array
.length; index++ ) { // <…
String Array Removing Array Contents
Programming
Software Development
13 Years Ago
by lxXTaCoXxl
I have a
string
array
that I'm storing complete strings into. The
array
size is 1,000 so that I have plently of… some reason. [code]// Snippet for storing information into the
array
. public void StoreInfo(
string
Info) { MyArray[ListBox.Items.Count] = Info; ListBox.Items…
String Array in charAt method
Programming
Software Development
15 Years Ago
by intes77
…
array
. [CODE]import java.util.*; class charAt { public static void main(
String
[]args) { Scanner input=new Scanner(System.in);
String
[]sample=new
String
[52];
String
… "abcd1234" i wanted it to placed inside the
array
sample[0]=a sample[1]=b sample[2]=c sample… an error... i need help i only can use a
String
array
.
Re: String Array in charAt method
Programming
Software Development
15 Years Ago
by intes77
… i place each letter or digit inside the
array
using a
String
array
. example i would enter "abcd1234"… i wanted it to placed inside the
array
sample[… public static void main(
String
[]args) { Scanner input=new Scanner(System.in);
String
[]sample=new
String
[52];
String
enter; int x; …
string array to Timespan array
Programming
Software Development
12 Years Ago
by castajiz_2
… for buses but i got stuck with the
string
array
conversion to a timespan
array
, i have to convert it i order to…(File.OpenRead(ofd.FileName)); while (!sr.EndOfStream) { line=sr.ReadLine();
string
[]
array
=line.split(';') // time stored inside , format-->hours:minutes, example…
Re: String Array in charAt method
Programming
Software Development
15 Years Ago
by stephen84s
…j2se/1.4.2/docs/api/java/lang/
String
.html#charAt%28int%29"]charAt() [/URL]… method of the
String
class returns a "char" and …you are assigning it to a
String
type. Use the[URL="http://java.sun…to a
String
type. Or alternatively you could make your "sample" variable from a
String
array
to a…
Re: string array to Timespan array
Programming
Software Development
12 Years Ago
by castajiz_2
…) { line = sr.ReadToEnd();
string
[]
array
= line.Split(';'); // times stored inside ,,08:10, 08:30... TimeSpan[] array1 = new TimeSpan[
array
.Length]; for (int i…
Re: string array to function
Programming
Software Development
16 Years Ago
by monkey_king
…a newbie at this. I am supposed to pass a
string
array
to a function. Letter grade Please give me an … advance.[/QUOTE] What do you mean, an
array
of strings? og just a
string
have you simple tried [CODE] int fun…(std::
string
name); int fun(*std::
string
names); int fun(…
Re: string array value remove
Programming
Software Development
14 Years Ago
by kalpa23
lets say there is a
string
array
that have 3 values p001 p002 p005 i want the value p002 to be removed from the
array
but i want to do this at the run time so i don't know the which value is in which element so i need a way when i give the value p002 it should be searched in the
array
and if it exists it should removed from the
array
string array size
Programming
Software Development
18 Years Ago
by mrjoli021
in c++ how do I get the size of a
string
array
. sterlen(arrayname) does not work or size(arrayname) either. I am getting sterlen or size as idenitfier not found at compile time.
string array to function
Programming
Software Development
16 Years Ago
by Mossiah
Please help me with this. I am a newbie at this. I am supposed to pass a
string
array
to a function. Letter grade Please give me an example on how to do it plz. thanks in advance.
string array value remove
Programming
Software Development
14 Years Ago
by kalpa23
any one know how to search a
string
array
for a particular value a then remove it from there without keeping a null element to find the element where the value exists and then to remove the element Please if any one know how to do it give me an example
String Array problem
Programming
Software Development
12 Years Ago
by akashi
hi! can anyone solve this
string
-
array
problem or give me just an example about it * Write …
Re: string array
Programming
Software Development
17 Years Ago
by Ancient Dragon
… is the first character of a
string
then you need to access it like this: [icode]
array
[i][1][0][/icode], otherwise… if you want to pass the entire
string
then use "%s…" and [icode]
array
[i][1].c_str()[/icode]
Re: string array
Programming
Software Development
17 Years Ago
by mrjoli021
now i get "undefined reference to `Shuffle(std::
string
(*) [2])' collect2: ld returned 1 exit status " but it seems to compile. I am using code blocks
Re: string array
Programming
Software Development
17 Years Ago
by Ancient Dragon
You didn't code any function with that parameter. The function you coded takes an
array
of ints, not an
array
of std::
string
. Consequently, in c++, they are two different functions.
Re: String array
Programming
Software Development
17 Years Ago
by Lerner
… together into one. //declare an
array
of 2 pairs, where each pair is two strings pair<
string
,
string
> products[2]; products… out. For your information, an
array
of strings is frequently used:
string
products[2];
string
name = "myProgram";
string
version = "version 1…
Re: String Array
Programming
Software Development
16 Years Ago
by Antenka
… add elements dynamically and get the actual size of your
array
. 2. Create your own structure/class, that will contain your…
array
, the full
array
size (in your case it's 50) and number…
Re: String Array
Programming
Software Development
16 Years Ago
by shazzy99
… add elements dynamically and get the actual size of your
array
. 2. Create your own structure/class, that will contain your…
array
, the full
array
size (in your case it's 50) and number…
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
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC