Forum: C# Jan 19th, 2007 |
| Replies: 5 Views: 11,696 Shouldn't MyTime = DayOfWeek.Now; be something like MyTime = (DateTime.Now);. Then you should be able to do MyTime.DayOfWeek since DayOfWeek is a property of the DateTime class, so should be called... |
Forum: C++ Nov 8th, 2006 |
| Replies: 14 Views: 2,662 i believe your missing a close bracket "}" from your initial if block |
Forum: C Nov 2nd, 2006 |
| Replies: 13 Views: 4,848 Probably dont even need &array to pass it to the function. The variable name itself should hold the beginning address. As a+i is the same as a[i]. |
Forum: C Nov 2nd, 2006 |
| Replies: 13 Views: 4,848 Please note that 2-d arrays are pointers to pointers. Not sure if this is the problem, but it could be if your having problem with 2-d arrays. |
Forum: C Nov 1st, 2006 |
| Replies: 13 Views: 4,848 Unfortunately you cannot return an array type in C, but you can pass back values through the parameters of your method to the array variable stored in main. To do so, pass the address of an array... |