Format:
Recent snippets matching tags of C
<# .COMPONENT NUPosh .SYNOPSIS Test if an Assembly (.dll) is already loaded. .DESCRIPTION Test if an Assembly of the same name is already loaded in the current runspace. Using the -PasThru parameter will return the AssemblyInfo object along with the boolean. .PARAMETER Name
10 Views
no comments
/*********************************************/ /* This program will ask how many students */ /* are in the class. Based upon your answer */ /* it will then ask what the ages are for */ /* each student. From the answers provided */ /* it will round to the nearest whole number */ /* the average age for the class. */ /*********************************************/ #include <stdio.h> // Allows printf() function #include <math.h> // Allows the roundf function to be used.
21 Views
no comments
<Image Margin="367.056,8,8,0" VerticalAlignment="Top" Name="imgLargePreview" Width="640" Height="480" MaxHeight="480" MaxWidth="640" /> Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click saveImage() End Sub Sub saveImage() Dim encoder = New PngBitmapEncoder()
8 Views
no comments
//******************************// //Prevent wrong input for mobile //******************************// $("#Mobile").keydown(function (event) { // Allow: backspace, delete, tab and escape if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || // Allow: Ctrl+A (event.keyCode == 65 && event.ctrlKey === true) || // Allow: home, end, left, right
7 Views
no comments
http://altitudegame.com/friend/857014
5 Views
no comments
http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014 http://altitudegame.com/friend/857014
5 Views
no comments
/*
* add this function on model User
*/
public function getNameById($id){
$data = $this->Koordinator->Pasar->findById($id);
return $data['Pasar']['nama_pasar'];
}
11 Views
no comments
return members == null ? 0 : members.Count;
14 Views
no comments
function build_docs($url) {
$url = $this->clear_url( urldecode( $url ) );
if ($url == "" ) return;
if ( $file_type == "pdf" or $file_type == "pptx" or $file_type == "pptm" or $file_type == "ppt" or $file_type == "tiff" ) return "[docs=".$url."]";
return "<!--dle_docs_begin:".$url."--><center><iframe style=\"border-style: none;\" src=\"http://docs.google.com/gview?url=$url&embedded=true\" width=\"600\" height=\"650\"></iframe></center><!--dle_docs_end-->";
}
18 Views
no comments
#include "Text.h" #include <iostream> using namespace std; int main() { Text longText( 6, "Hello World, this is a program that output text like you would see in RPG..", 50 ); longText.output(); return 0; }
14 Views
no comments
#ifndef TEXT_H #define TEXT_H #include <string> using std::string; class Text { private:
14 Views
no comments
#include "Text.h" #include <Windows.h> #include <string> #include <iostream> using namespace std; // todo: add desired color to text Text::Text() : color( 0 ), text( "DefaultText" ), speedDisplay( 0 )
14 Views
no comments
Xbox Live was created and run by Microsoft Corporation being said the has the only online gaming that serves on console which makes gaming a lot more fun. And for the newest and coolest games visit our page we will post it here soon to keep you updated, bookmark our site and view our site for new updates. Roughly speaking, more and more website online are claiming to have quality-guaranteed Code Generator but I must warn you, you have to be care what to download from the web if you prefer to download the Code Generator elsewhere because a lot of this site are just scams and most probably the content of your downloading contents boatloads of viruses. So I recommend you to download it from this site withouth looking somewhere else. Eitherway it's your call to make. Have fun for the newly updated Xbox Live Code Generator and enjoy.
http://techlivegen.com
Xbox Live is an online multi-player gaming service that the Microsoft Corporation operates. Each country has its own pricing regulation for playing the game. The game comes in two versions Xbox Live Silver and Xbox Live Gold. Xbox Live comes with several features such as avatars, videochat, multi-players, Mottos for display on gamer profiles, Game achievements, which are earned during gameplay, Xbox Guide, Friends list, Integration with Windows Live Messenger, etc. Microsoft charges a fee for Xbox Live, but there are ways to get online and become part of the Live community for free. These are outlined below.
21 Views
no comments
try { if (Size >= 1) { if (Size <= 80) goto label_7; } throw new ArgumentOutOfRangeException(); } catch
47 Views
no comments
<script src="http://h2.flashvortex.com/display.php?id=2_1336478086_64321_420_0_550_100_9_2_39" type="text/javascript"></script>
17 Views
no comments
//Remeber to use Html.TextBoxFor Html Helper with Html class attribute // a custom method for validating the Departure and Arrival Dates $.validator.addMethod('dateBeginEnd', function () { return new Date($('#DepartureDt').val()) < new Date($('#ArrivalDt').val()); }, 'Depature date must be before Arrival date.'); // a new class rule to group all three methods $.validator.addClassRules({ requiredBeginEndDate: { required: true, date: true, dateBeginEnd: true }
15 Views
no comments
var baseUrl; var applicationUrl; baseUrl = document.location.href; baseUrl = baseUrl.substring(0, baseUrl.lastIndexOf('/')); applicationUrl = baseUrl.substring(0, baseUrl.lastIndexOf('/'));
16 Views
no comments
//start processing var api = new moviesApi(); api.getRatings({ success: function (result) { for (var i = 0; i < result.length; i++) { //new Option(text, value) var option = new Option(result[i].ID, result[i].Name); $('#ratings').append( $('<option></option>').val(result[i].ID).html(result[i].Name) );
22 Views
no comments
displayError = function (result) { $('#errorDisplay').show(); $('#errorDisplay').html(result.responseText); }
28 Views
no comments
SELECT count(*) FROM ijobs_by_emails as ijbes WHERE ijbes.`jobsbyemail` <> 0 AND (DATEDIFF(CURDATE(), ijbes.last_jbe_checked) > ijbes.`jobsbyemail` OR last_jbe_checked IS NULL) AND (DATEDIFF(CURDATE(), ijbes.`activity`) < 60 OR activity IS NULL)
23 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
