![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Use a recursive function to extract all negative numbersHello there ,
I have 2 nasty problems to solve in C++ and I am wondering is someone that knows C++ can help. 1st one is about 'row' and an user must use a recursive function to extract all negative numbers that are provided in that row. (the row will be given from the first place e.g. : row[20] ) 2nd one is about a matrix from which I must extract the seems negative numbers ( like -2 -4 -6 -8 etc) and after getting them , I need to multiply them (each with another (like -2*-4*-6*-8 = result) ). Can anyone help please ? |
|||
|
#2
|
||||
|
||||
Re: Use a recursive function to extract all negative numbersQuote:
Should we assume that a "row" is part of a matrix or that the caller of the recursive function is going to provide just the row of data and not the whole matrix to the recursive function? Maybe you should provide at least a function prototype of what it is that you want for each "problem?" MxB |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache Web Server newbie problem | niss3 | Apache Web Server Forum | 1 | 13-Apr-2009 19:38 |
| Torrents Download Problem | chandeep | Computer Software Forum - Linux | 7 | 09-Oct-2006 23:37 |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 13:31 |
| Runtime Problem involving "printf" in C Program | supamakia | C Programming Language | 2 | 09-Oct-2005 11:09 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 08:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The