![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
how to initialize a char matrix matrix with empty elements?hello guys!
i have a problem (don't know why) and need some help I have a matrix se part of the code below CPP / C++ / C Code:
If a remove this statement everything is correct but i get some strange (random character) at the empty matrix element when i print it on the screen Can somebody tell me how do i intialize an element of the matrix with an empty character ' ' without geting this error ? |
|
#2
|
||||
|
||||
Re: how to initialize a char matrix matrix with empty elements?You specify your loop as:
CPP / C++ / C Code:
During your last loop, what is the value of i? What does that do to your indecies? CPP / C++ / C Code:
__________________
Age is unimportant -- except in cheese |
Recent GIDBlog
Meeting the populace by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Combining Vectors and References | Frankg | C++ Forum | 7 | 14-Jan-2006 06:17 |
| Memory cannot be read? | dlare9 | C Programming Language | 3 | 16-Nov-2005 07:03 |
| Debug Assertion Failed! | dlare9 | C Programming Language | 3 | 13-Nov-2005 23:18 |
| Reading non ASCII with read() | Atomical | C Programming Language | 8 | 13-Sep-2005 14:30 |
| template comiling problems - need expert debugger! | crq | C++ Forum | 1 | 01-Feb-2005 21:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The