Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
integer-arrays
- Page 1
Re: Arrays of arrays
Programming
Software Development
18 Years Ago
by Infarction
[inlinecode]int arrayOfArrays[2][3][/inlinecode] will make an array of 2
integer
arrays
of length 3 each. A 2x3 if you will.
Re: Arrays of arrays
Programming
Software Development
18 Years Ago
by Aia
[quote=Infarction;346358][inlinecode]int arrayOfArrays[2][3][/inlinecode] will make an array of 2
integer
arrays
of length 3 each. A 2x3 if you will.[/quote] Isn't an array of 3 integers of 4 elements each?
Need help with an array of arrays
Programming
Software Development
15 Years Ago
by slicer
…pass an array of 3 pointers, which are themselves
arrays
, and get the sum of the last two …The pointerarrays are filled with large
integer
numbers with each digit of the
integer
in a certain index of the…have so far. [CODE] pointerarray[1] = *oper1array; //Set
integer
arrays
to indexs of pointerarray[2] = *oper2array; //array to be …
New to programming, need help with arrays.
Programming
Software Development
16 Years Ago
by sjhentges
… store. Your program should: • Read the data into parallel
arrays
. Use
integer
arrays
for the part number and quantity and a float or… credit, you may dual sort the part number and value
arrays
(modify the dual sort function in the book to use…
Using functions and arrays to create a program for grades
Programming
Software Development
18 Years Ago
by DeeIT
…create and execute a C++ program with functions and
arrays
that will read student information input from an input text…into [B][COLOR=blue]two dimensional[/COLOR][/B] string and
integer
arrays
( [COLOR=#FF6600]string names[40][2] and int …][COLOR=blue] You may also declare three 1D float
arrays
for the averages and use one or more functions.[/COLOR…
Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by natnit
… between 1 and 100. A in this case is an
integer
array with the following attributes: [LIST] [*]any entry can be… figure, but I think we have around 5 million distinct
arrays
to hash here. What is a good hashing function that…
array of pointers to integer arrays
Programming
Software Development
16 Years Ago
by cppStudent
… can't find any helpful "enough" info about
arrays
of pointers. I understand that an array of pointers to… numberLists which is a pointer to a pointer to an
integer
. Unfortunately that doesn't get me very far. Thanks…
Adding to big Integer arrays
Programming
Software Development
12 Years Ago
by ShEeRMiLiTaNt
…-pencil" mehtod meaning to pretty much reverse the dynamic
arrays
and carry the ones over as you go. Thats where… i = 0; cout << "Please enter a positive
integer
with no more than " << numDigits <<…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by jim mcnamara
… for a given value, say -4, across all of your
arrays
you will have to consult each hash to see if… data design problem. Possibly you should have put in associative
arrays
upfront as part of the design. Hashing added after the…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by thekashyap
… at major performance gains. So I just hope tht these
arrays
represent your "keys" and not "values"…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by jim mcnamara
… would help. It might be possible to hash across all
arrays
. BUT. Your collision rate will be out of this world…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by natnit
…, and for the sake of argument, I have 1 million
arrays
. All I'm looking for is a hash function to…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by mathematician
…, and for the sake of argument, I have 1 million
arrays
. All I'm looking for is a hash function to…
Re: Simple Hash Function for Integer Arrays
Programming
Software Development
18 Years Ago
by thekashyap
[quote=thekashyap;327301]Are these
arrays
your keys to the map/list? Can there be any …
Fire event upon speakerconfiguration (integer change)
Programming
Software Development
14 Years Ago
by kindt.nick
… actually work with them and create custom events for booleans,
integer
,
arrays
, etc, but only for those I've created. I cant…
Re: Adding to big Integer arrays
Programming
Software Development
12 Years Ago
by np complete
… 12 / 10 = 1.2 and since we are dealing in
integer
it rounds of to 1 ) 6 + 8 = 14 14 + carry…
Re: Adding with an integer arrays?
Programming
Software Development
14 Years Ago
by w1mark
… of the integers separately and terminates after both of the
arrays
are both -99 and the last digit in temp is…
Read text file into two integer arrays
Programming
Software Development
13 Years Ago
by sunnynight
Dear Friends, This is my homework, I have a text file containing the following content: [QUOTE]0 12 1 15 2 6 3 4 4 3 5 6 6 12 7 8 8 8 9 9 10 13[/QUOTE] I want to read these integers from data.txt file and save the two columns into two different
arrays
in Java. I am a beginner in Java, and thank you for your help.
Adding with an integer arrays?
Programming
Software Development
14 Years Ago
by w1mark
… a number with up to 100 digits using a 100
integer
character array and then be able to add that class…
Re: programming (arrays) c++
Programming
Software Development
12 Years Ago
by Schol-R-LEA
… design. Note the use of pointers instead of fixed
arrays
for the
integer
arrays
. I hope this helps you see how to write…
Re: how to find length of integer array
Programming
Software Development
15 Years Ago
by necrolin
… if I'm wrong, but length() works for strings not
integer
arrays
. If it does work then please demonstrate how, because I…
Re: how to find length of integer array
Programming
Software Development
15 Years Ago
by Skeen
… if I'm wrong, but length() works for strings not
integer
arrays
. [/QUOTE] You're so right, that's why I used…
Re: Arrays in C++
Programming
Software Development
11 Years Ago
by mike_2000_17
… at which it is expected that there will be an
integer
value. When you have this: int (*aptr)[10]; you have… type of `ptr` is still a "pointer to an
integer
", however, after this assignment it just so happens that… of an array of integers (there is at least one
integer
there). In that sense, the `aptr` is more restrictive, because…
Arrays in C++
Programming
Software Development
11 Years Ago
by deceptikon
…name only, as it were. ;) ##What Are
Arrays
?## So what are
arrays
?
Arrays
are a fundamental feature of C++ that represent a…15} This concept can be scaled up into 3D
arrays
, 4D
arrays
, 5D
arrays
, and so on, but it's rare to see… An array of 5 pointers to functions that take an
integer
parameter and return nothing The last two examples (pointer to…
Arrays
Programming
Software Development
21 Years Ago
by Dani
…
integer
in your program within the boundaries of the size of my_array. [b]Practical Uses Of
Arrays
[/b]
Arrays
…also have the option of working with two-dimensional
arrays
, which can be visualized as a simple spreadsheet …object oriented programming). [b]Organizing Your Data[/b]
Arrays
are extremely important to programming as they allow an …
Arrays in classes (but not class arrays)
Programming
Software Development
16 Years Ago
by drew.haley
… a class I have created.... how do you get/set
arrays
within classes? basically I have an array with x and… Dim named As String Dim wdth As
Integer
Dim hght As
Integer
Dim dpth As
Integer
Dim Tils(wdth, hght) As Tile Public…
Arrays
Programming
9 Years Ago
by Tierra
…group. I don't understand the slightest bit about
arrays
, but I've been trying - now the code…} //Computes the numeric average //-----------------Tierra-------------------- public void average(ArrayList<
Integer
>){ public double average (int [] numeric){ return (double) sum…
arrays, private int and classes
Programming
Software Development
14 Years Ago
by computerbear
… currency //class method //A conversion method that will have the
arrays
passed to it and that will perform the breakdown. public…); //In Main() console code that prompts the user for an
integer
number of dollars. Console.Write("Please enter an amount…
Re: arrays & pointers
Programming
Software Development
12 Years Ago
by mike_2000_17
…4. This is exactly the same as creating 4
integer
local-variables one after the other, but with … out, it would be something like this: // create local char-
arrays
: char a1[] = "Sally"; char a2[] = …;Martha"; // grab pointers to the first element of these
arrays
: char* p1 = a1; char* p2 = a2; char* p3 …
Re: Arrays
Programming
Software Development
16 Years Ago
by Nick Evan
…,',')) { //convert buffer to int and put in '
integer
' istringstream strin(buffer); strin >>
integer
; //
integer
now contains the numeric value of the… buffer //so now push it in the vector all_numbers.push_back(
integer
); } cout << "Pushed " << all_numbers.size…
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