>DansTonCode();

Tous les codes sourcespage 25

C++
 28 Avril, 2016 à 01:30
#239
// In my date/time class
while (iMilliseconds > 999)
{
   iMilliseconds -= 1000;
   ++iSeconds;
}
PHP
 27 Avril, 2016 à 01:30
#238
//Global definitions.
//Joomla framework path definitions.
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);

//Defines.
define('JPATH_ROOT',			implode(DIRECTORY_SEPARATOR, $parts));
C#
 23 Avril, 2016 à 10:16
#237
/// <summary>
/// Does the file exist?
/// </summary>
/// <param name="path"></path>
/// <returns></returns>
public static bool exists(String path)
{
   return File.Exists(path);
}