| | |
Print Array: strings!
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
Can someone tell me why my print array method won't print strings.
It works with an int array, but only prints a few strings.
any help would be great thanks.
It works with an int array, but only prints a few strings.
C# Syntax (Toggle Plain Text)
template < typename T > void printArray(T * const array, int size) { for (int i=0; i < size; ++i) cout << array[i] << ' '; cout << endl; }//printarray
any help would be great thanks.
![]() |
Similar Threads
- Need to list an array of strings in reverse order. (C++)
- strings, arrays, length program (C++)
- Need help with Array sorting using Java Servlet (Java)
- A program to print out the names, remarks and average of five students in descending (C)
- Array problem in Pascal (Pascal and Delphi)
- Sorting a 2D Array of Strings (C++)
- print words in reverse in a given sentence (C)
- 2d array of strings (C++)
- Initializing an array of strings and printing it. (C++)
Other Threads in the C# Forum
- Previous Thread: Get the name of Serial Port to which a Device is Connected
- Next Thread: reading a certain word from a text file
| Thread Tools | Search this Thread |
.net access algorithm array backup barchart bitmap box broadcast buttons c# check checkbox client clock combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees developer development draganddrop drawing dynamiccreation encryption enum excel file form format forms function gdi+ hospitalmanagementsystems httpwebrequest image index input install interface java label list listbox mandelbrot math microsystems mouseclick mysql operator password path photoshop picturebox pixelinversion post priviallages. programming property radians regex remoting richtextbox running... serialization server sleep soap socket sql sqlserver stack statistics stream string table temperature text textbox thread time timer update usercontrol validation visualstudio webbrowser windows windowsformsapplication winforms wpf write xml





