thank you very much. it helps a lot.
bye.
Search found 8 matches
- Sun Jul 10, 2011 6:08 pm
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
- Sun Jul 10, 2011 12:23 am
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
Re: how to get millisecond and print it out?
hi,
i did not use wxwidget, i wrote a program basically a procedural oriented C type program. it run just fine. i used time.h's time() to measure a function. but it only returned time in seconds. when it run, i usually got o second. that is why i want to benchmark it with milliseconds.
thanks.
i did not use wxwidget, i wrote a program basically a procedural oriented C type program. it run just fine. i used time.h's time() to measure a function. but it only returned time in seconds. when it run, i usually got o second. that is why i want to benchmark it with milliseconds.
thanks.
- Sat Jul 09, 2011 11:33 pm
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
Re: how to get millisecond and print it out?
hi,
i got linker errors and i used wxDevc++. i don't know what you mean by minimal sample?
thanks for reply.
i got linker errors and i used wxDevc++. i don't know what you mean by minimal sample?
thanks for reply.
- Sat Jul 09, 2011 6:20 pm
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
Re: how to get millisecond and print it out?
hi doublemax: i looked at the stopwatch.h and found that Time() is declared but not defined. is that the header file of mine is inadequate? when i called the Time(), the compiler gave me an undefined error. i thought that the include statement in my program <wx/stopwatch.h> is incorrect but it did n...
- Sat Jul 09, 2011 3:51 pm
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
Re: how to get millisecond and print it out?
thanks doublemax. it will probably takes me couple of days to digest it. i really appreciate it.
- Sat Jul 09, 2011 2:12 am
- Forum: C++ Development
- Topic: how to get millisecond and print it out?
- Replies: 11
- Views: 26993
how to get millisecond and print it out?
hi,
i am a newby, i am new to c++. i have a very basic question. how do i sandwich a function to see how many millisecond it take to runs?
thanks
i am a newby, i am new to c++. i have a very basic question. how do i sandwich a function to see how many millisecond it take to runs?
thanks
- Fri Jul 08, 2011 7:43 pm
- Forum: wxDev-C++
- Topic: how to print out a wxLongLong value?
- Replies: 1
- Views: 1659
how to print out a wxLongLong value?
hi,
i used a wxGetLocalTimeMills() to get the local time in milliseconds, but when i tried to used the following statement, i get a compiler messages. did anyone know how to print it out?
cout << startll - curll <<endl; // startll and curll are of type wxLongLong.
i used a wxGetLocalTimeMills() to get the local time in milliseconds, but when i tried to used the following statement, i get a compiler messages. did anyone know how to print it out?
cout << startll - curll <<endl; // startll and curll are of type wxLongLong.
- Tue Jun 28, 2011 2:30 am
- Forum: wxDev-C++
- Topic: cannot load existing project into wxdev-c++ ide
- Replies: 0
- Views: 1814
cannot load existing project into wxdev-c++ ide
hi,
i can create new project and run it and debug it. but i cannot load existing project into my wxdev-c++ IDE. because the File|Open new file or project does not have new project option. all i can load are cpp files. when i load existing dev file, the program crash. please help.
thanks.
i can create new project and run it and debug it. but i cannot load existing project into my wxdev-c++ IDE. because the File|Open new file or project does not have new project option. all i can load are cpp files. when i load existing dev file, the program crash. please help.
thanks.