Posts Tagged ‘array’
How to split a string and store each portion to a separate array in C?
I am writing a c program and i can’t quite figure out how to split each string (such as: ABC|DEF|123 using ‘|’ to split.) and store each part into a different array.
c++???????
I am trying to make a tic tac toe game for c++ but i don’t know how to use an array to make the board. also after i make the board hiw do i code it so each player can take turns picking a square.
Is there an open source, multi-track recording platform for XP?
I need an open source, freeware, multi-track recording platform for Windows XP. Something with an editing window, and ease of use, and also an array of effects. Preferably similar to GarageBand in the sense of intuitiveness, but definitely not MixCraft by Acoustica. Any help would be friggin amazing.
How to compare 2 arrays and get the intersection in C?
I am new to programming and have to get the user to input 2 arrays and then find the intersection and put that into a 3rd array. I understand that i must search each element in the 1st array for that in the second, but I am a bit confused on how to do that. I am using Visual C by the way.
How do I dynamically create arrays based on a mysql query?
Using MySql and PHP, I want to have an array created for each row in a table. How do I go about doing this?
What PHP function do you use to get a specific number of items from an array in PHP?
You want to only get the first 5 items from an array, but if there only exists less than 5 items in the array, you still want to get them all.
The result would be an array variable containing at most 5 items.
Is there a single PHP function that can do this? (I want to avoid using any loop or if statement)
Many thanks to you all.