Click here to Skip to main content
16,004,782 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalmail Pin
urbdos10-Sep-07 21:31
urbdos10-Sep-07 21:31 
QuestionHELP ME PLEASE!!!!! Pin
PalmPalm3-Sep-07 4:31
PalmPalm3-Sep-07 4:31 
QuestionHELP ME PLEASE!!!!! Pin
PalmPalm3-Sep-07 4:30
PalmPalm3-Sep-07 4:30 
AnswerRe: HELP ME PLEASE!!!!! Pin
Christian Graus3-Sep-07 5:02
protectorChristian Graus3-Sep-07 5:02 
QuestionOdd memory access error thrown Pin
Xpnctoc2-Sep-07 18:36
Xpnctoc2-Sep-07 18:36 
AnswerRe: Odd memory access error thrown Pin
Xpnctoc3-Sep-07 3:53
Xpnctoc3-Sep-07 3:53 
QuestionCould you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
6530573371-Sep-07 10:07
6530573371-Sep-07 10:07 
AnswerRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Luc Pattyn1-Sep-07 12:15
sitebuilderLuc Pattyn1-Sep-07 12:15 
Hi,

Substring is explained in the .NET reference manual (use MSDN or Google).

this strange piece of code takes a datetime number and tries to find the previous
sunday midnight, using lots of strings: it repeatedly converts to string, then
checks for "Sun" in it, takes away 24 hours, etc; then forces the hour to "00", etc.

Obviously all the while loops are redundant: if the hour is 23, then subtracting 23*60*60
could happen straight away; etc.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


QuestionRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
6530573372-Sep-07 3:32
6530573372-Sep-07 3:32 
AnswerRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Luc Pattyn2-Sep-07 3:54
sitebuilderLuc Pattyn2-Sep-07 3:54 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Mark Salsbery2-Sep-07 9:58
Mark Salsbery2-Sep-07 9:58 
NewsRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
6530573373-Sep-07 1:03
6530573373-Sep-07 1:03 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Luc Pattyn3-Sep-07 5:23
sitebuilderLuc Pattyn3-Sep-07 5:23 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
Mark Salsbery3-Sep-07 12:14
Mark Salsbery3-Sep-07 12:14 
GeneralRe: Could you please help me to understand what ( str_time.substr(11,2) != "00" ) would do Pin
6530573372-Sep-07 4:19
6530573372-Sep-07 4:19 
Questionload GIF file in the turbo c++ Pin
mahdiehIR1-Sep-07 3:51
mahdiehIR1-Sep-07 3:51 
AnswerRe: load GIF file in the turbo c++ Pin
Mark Salsbery1-Sep-07 7:59
Mark Salsbery1-Sep-07 7:59 
QuestionWhy two vfptr incase of virtual inhertance? Pin
Sameer_Thakur31-Aug-07 19:38
Sameer_Thakur31-Aug-07 19:38 
AnswerRe: Why two vfptr incase of virtual inhertance? Pin
prasad_som1-Sep-07 3:59
prasad_som1-Sep-07 3:59 
QuestionAccess between classes Pin
BuckBrown31-Aug-07 10:47
BuckBrown31-Aug-07 10:47 
AnswerRe: Access between classes Pin
Gammill31-Aug-07 10:57
Gammill31-Aug-07 10:57 
QuestionHowTo: Create MFC CDialog from Win Forms Pin
Gammill31-Aug-07 9:39
Gammill31-Aug-07 9:39 
AnswerRe: HowTo: Create MFC CDialog from Win Forms Pin
Gammill31-Aug-07 10:49
Gammill31-Aug-07 10:49 
QuestionIdentification of batch file name/path Pin
Jack Rong30-Aug-07 4:54
Jack Rong30-Aug-07 4:54 
QuestionI Need to make the CListCtrl non sortable at run time Pin
Javed Akhtar Ansari30-Aug-07 0:49
Javed Akhtar Ansari30-Aug-07 0:49 

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.