Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Paul Dhertoghe

@Paul Dhertoghe
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C++ related
    P Paul Dhertoghe

    Initialize the array in the following way: CMyclass object[12] = { CMyclass(argument), CMyclass(argument), CMyclass(argument), ..., CMyclass(argument) };

    C / C++ / MFC c++ data-structures question

  • CTime::GetSecond()
    P Paul Dhertoghe

    The problem come from the fact that you're using GetCurrentTime() in the wrong way; it is a static function that returns a CTime object filled with the current time. Therefore, the following code should work: CTime somecoolvariablename, anothercoolvariablename; somecoolvariablename = CTime::GetCurrentTime(); // do some work anothercoolvariablename = CTime::GetCurrentTime(); if(anothercoolvariablename.GetSecond() - somecoolvariablename.GetSecond() > 10) // CRASH HERE! MessageBox(yadda yadda yadda);

    C / C++ / MFC
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups