File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes C / C++ and the fly likes 1D array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » C / C++
Bookmark "1D array" Watch "1D array" New topic

1D array

kycee kendo

Joined: Oct 03, 2012
Posts: 1
Please I need tutorial on array declaration
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11952

There are probably hundreds of website that have that already, as well as countless books on the subject. Surely you have access to something. It's been a while since I've done any C, but if i recall correctly, it's as simple as

This declares an array of 10 integers, indexed from 0 through 9.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
semaphore software

Joined: Mar 18, 2013
Posts: 4
you can use the link
Victor Paul

Joined: Apr 17, 2013
Posts: 3
Same name same data type are called 1d Array.

Design Engineering Jobs
I agree. Here's the link:
subject: 1D array
It's not a secret anymore!