Tags » C-2

ARMSTRONG NO.

#include<stdio.h>
#include<conio.h>
int main()
{
int num,sum,i,n=0;
printf(“enter the value of num:=”);
scanf(“%d”,&num);
sum=0;
i=num;
while (num>0)
{
n=num%10;
num=num/10;
sum=sum+(n*n*n);

}
if(sum==i)
{
printf(“the entered num is an armstrong no.”); 11 more words

C

Resharper Live Templates

I sometimes use expandable snippets in Visual Studio, eg prop, cw, but as I have the luxury of ReSharper, I really ought to look at what that can do for me. 771 more words

Convert Text to Voice

If ourĀ App says “Hai”, then it would be happy to the user, right.

Below is the post to make our app speak for our input. 81 more words

C#

Creating and saving images

This post shares knowledge on creating Images and saving them in some basic formats in a step by step manner.

Initialize a new instance of Bitmap Class with specific Size… 127 more words

C#

Binding IsSelected Method in the ListView Control in WinRT

Basically, it’s not possible. However, this is the best (and only that works) workaround that I found.

Subclass the Listview

I tried everything. Absolutely everything. … 327 more words

C#

3 days in...

Well technically 3 and a half. I started this project on Sunday (15th of September) and am aiming to finish it by the 12th of October. 643 more words

Dispatcher - Is it really required for MVVM based desktop application ?

When dealing with desktop application using WPF technologies following

MVVM design pattern

we always try to separate the business logic from UI.
As it’s well known that…

630 more words
.NET Framework