February 18th, 2014, 02:24 PM
hey guys i have an array of strings that i need to split into 2 different string.
string title = " "Rebecca" "Alfred Hitchcock" ";
so far all the data is in one string called title...
January 20th, 2014, 11:14 AM
Right now all the data is stored as string.. How do I extract? Because 1's and 0's are also stored as lines in string using get line... Whereas they should be stored in 2D array table. Thank you
January 19th, 2014, 06:29 PM
my hw is wayyy different.. im just trying to learn how to read more than one different data types from a file.. until now we only learned reading int..
January 19th, 2014, 05:53 PM
the names are only 3 letters, but the teacher said array should be able to hold up to 60 names.. she gave us a new file.. so now the file has 15 names and table is also 15 x 15 but the table should...
January 19th, 2014, 05:22 PM
yeah there are 2 different arrays.. string names and table.. but they are mixed up.. how do i make sure.. names get read into string and numbers into table??
for (int i = 0; i <...
January 18th, 2014, 10:51 PM
I know to read a strings into array and tables.. what is they are mixed up?? strings are just names ( 3 characters) and there are bunch of table.. the max size was set to 60
ex. text file
January 14th, 2014, 10:27 PM
they are different because in this one i know the how many elements each array has, in the other thread. i dont know hom many elements each array has but just maximum elements it can hold.
January 14th, 2014, 09:02 PM
hey guys i got 2 arrays, how would i print 10 numbers per line, so that would be 5 numbers from each array.
array1 array2// array1 array2// array1 array2 // array1...
January 14th, 2014, 08:54 PM
i would but there are a total of 40 elements in all the arrays together.. so i was wondering is there a quicker way to do with a loop
January 14th, 2014, 08:23 PM
the above format didnt print how i wanted too
//EVEN ODD NEGATIVE
// 2 3 -2
// 4 5 -4
// 6 7 -9
January 14th, 2014, 08:20 PM
hey guys i have 3 arrays (even, odd and negative), they are all different sizes, but they maximum elements they can have is 50. how do i write them to a file in this format
EVEN ODD NEGATIVE
January 11th, 2014, 05:46 PM
question : Place the even lucky numbers in an array called evenList, the odd lucky numbers in an array called oddList, and the negative lucky numbers in an array called negList.
//So in main main...