How to install Windows Xp on Windows 7

If you are having Windows 7  (Professional or Ultimate or Enterprise),
then you can install directly.

Please check the below microsoft link for download and install directly on windows . . . → Read More: How to install Windows Xp on Windows 7

How to create a Webserive through dotnet :

How to create a Webserive through dotnet :

File–>New–>Project–>Visual C#–>Web—>ASP.NET Web Service Application

It will automatically loads some code in the file

1.Webservice for Hello World and Temperature Convert

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;

namespace TempConvert1
{
/// <summary>
/// Summary description for Service1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
// To allow this Web Service to be called from script, . . . → Read More: How to create a Webserive through dotnet :

c++ or java logical questions

simple c++ or java questions

1. Write a program for add two numbers without using arithmetic operators

2. Write a program to print ‘Hello’ without using semicolon in the code?

3. Write a program to find the given number is a power of 2 or not?

4. Write a program to find frequency of each character in a text . . . → Read More: c++ or java logical questions

File Read/Write Operations

File Read and Write Operations in many computer languages

1. File Read and Write Operations using C language

#include<stdio.h>

void main()

{

FILE *fp1,*fp2;

char ch;

clrscr();

fp1=fopen(“file1.txt”,“r”);

fp2=fopen(“file2.txt”,“w”);

if(fp1==NULL)

{

printf(“we can’t open file1″);

exit();

}

. . . → Read More: File Read/Write Operations