Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: timeGetTime() illegal ? Pin
wogerdoger30-Aug-03 2:21
wogerdoger30-Aug-03 2:21 
GeneralRe: timeGetTime() illegal ? Pin
User 665830-Aug-03 2:39
User 665830-Aug-03 2:39 
GeneralRe: timeGetTime Thankyou Pin
wogerdoger30-Aug-03 8:53
wogerdoger30-Aug-03 8:53 
GeneralSetting Array SIZE....help! Pin
colormyiris30-Aug-03 0:34
colormyiris30-Aug-03 0:34 
GeneralRe: Setting Array SIZE....help! Pin
Abin30-Aug-03 0:48
Abin30-Aug-03 0:48 
GeneralRe: Setting Array SIZE....help! Pin
Simon.W31-Aug-03 2:34
Simon.W31-Aug-03 2:34 
GeneralRe: Setting Array SIZE....help! Pin
User 665830-Aug-03 1:13
User 665830-Aug-03 1:13 
GeneralRe: Setting Array SIZE....help! Pin
Mira30-Aug-03 1:20
Mira30-Aug-03 1:20 
hi it seems that u really have not finished your C++ courses.
the array that you are using is not a dynamic array.
you need to know more about POINTERS. These are really the dynamic arrays.
if u r in a hurry u can use these lines. but my advice is that you should read more in C++ specially in pointers and dynamic memory allocation.
First you declare ur array like this:
unsigned long *Data;
when you know the actaual size of ur array you set it like this:
Data= new unsigned long[arraySize];
now u can use it as an ordinary array.
after u finish using it is better to free the memor u allocated
delete Data;
i hope this works with you but you still need to know more in C++
Good Luck.


The music in my heart I bore
Long after it was heard no more.
- William Wordsworth
Questionwhat do i make for my major project Pin
IT_student30-Aug-03 0:31
IT_student30-Aug-03 0:31 
AnswerRe: what do i make for my major project Pin
Beer2630-Aug-03 3:29
Beer2630-Aug-03 3:29 
GeneralRe: what do i make for my major project Pin
IT_student30-Aug-03 7:56
IT_student30-Aug-03 7:56 
GeneralRe: what do i make for my major project Pin
Maximilien30-Aug-03 8:48
Maximilien30-Aug-03 8:48 
GeneralRe: what do i make for my major project Pin
IT_student30-Aug-03 8:58
IT_student30-Aug-03 8:58 
GeneralRe: what do i make for my major project Pin
Simon.W31-Aug-03 2:41
Simon.W31-Aug-03 2:41 
GeneralRe: what do i make for my major project Pin
IT_student31-Aug-03 5:16
IT_student31-Aug-03 5:16 
GeneralRe: what do i make for my major project Pin
wogerdoger1-Sep-03 21:36
wogerdoger1-Sep-03 21:36 
QuestionRegistry ??? Pin
dirand8529-Aug-03 22:27
dirand8529-Aug-03 22:27 
AnswerRe: Registry ??? Pin
vcplusplus30-Aug-03 0:59
vcplusplus30-Aug-03 0:59 
GeneralRe: Registry ??? Pin
dirand8530-Aug-03 3:07
dirand8530-Aug-03 3:07 
GeneralCircular rotating Buttons.. Pin
cutti29-Aug-03 21:45
cutti29-Aug-03 21:45 
GeneralRe: Circular rotating Buttons.. Pin
PJ Arends29-Aug-03 22:56
professionalPJ Arends29-Aug-03 22:56 
GeneralAbout Float Point Exception Pin
HansonDavid29-Aug-03 20:52
HansonDavid29-Aug-03 20:52 
GeneralPROJECTS Pin
Neelesh K J Jain29-Aug-03 18:49
Neelesh K J Jain29-Aug-03 18:49 
GeneralRe: PROJECTS Pin
TigerNinja_29-Aug-03 18:54
TigerNinja_29-Aug-03 18:54 
GeneralWinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 18:36
TigerNinja_29-Aug-03 18:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.