Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 923 sawaal for "integers"
Sort by: Recency | Relevancy

I WAN TO WRITE A PROGRAM TO SORT A LINKLIST IN TURBOC?CAN YOU PLEASE TELL ME HOW TO DO IT

We assume that a linked list class exists for processing Integer data, called CLinkedListInteger, with nodes storing integer data called CNodeInteger. This might be defined in a header file as follows:class CNodeIntegerprivate:CN odeI nteger oNext;CNodeInteger oPrevious;int nData;public:CNodeInteger ;CNodeInteger;int GetData;void SetDataint nData;CNodeInteger GetNext;CNodeInteger Get

Posted in Computers & Technology by Nick - at 5:38 PM on June 24, 2008

CAN YOU PLEASE TELL ME A PROGRAM TO CONVERT DECIMAL NUMBER INTO A BINARY NUMBER IN JAVA?

IOException BufferedReader bf = new BufferedReadernew InputStreamReaderSystem.in; System.out.println"Enter the decimal value:"; String hex = bf.readLine; int i = Integer.parseInthex; String by = Integer.toBinaryStringi; System.out.println"Binary: " by; Description of program:This program takes a decimal number from console and it converts it into binary format using the to

Posted in Computers & Technology by Nick S at 7:09 PM on June 12, 2008

how can calculate sum of total amount when we select particular column in gridview

-BEHINDPartial Class GridViewAddRunningTotalInhe rits System.Web.UI.PagePrivate total As IntegerProtected Property Total As IntegerGetReturn totalEnd GetSetByVal value As Integertotal = valueEnd SetEnd PropertyProtected Function AddNumberToTotalByVal obj As Object As IntegerDim number As Integer = Convert.ToInt32objMe.Total = numberReturn numberEnd FunctionProtected Sub PageLoadByVal sender As Object, ByVal e As System

Posted in Computers & Technology by Amitabh at 9:33 PM on May 27, 2008

Workaround: Arrays with non-zero lower bounds

it like this:Dim y1 To 3 As IntegerThis would create an array with three elements, indexed 13. If you didnt like this method, you could use Option Base, which allowed you to set the default lower boundary to store a collection of annual values in an array of integers. Its reasonable that the array index would correspond to the year in question; that is, TotalSales1981 would contain the sales total

Posted in Computers & Technology by Sidd at 11:56 PM on September 12, 2008

Write a Visual Basic Code seatment to find out any text and replace that text with another text?

Private Sub cmdReplaceClickDim CaseSense As IntegerDim SourceText As StringDim SourceTextCopy As StringDim Cnt As Integer Check for the case sensitivity optionsIf chkCaseSense.Value = vbChecked ThenClient.TextSourceTextCopy = SourceTextIf LenSourceText = 0 ThenExit SubEnd IfOn Error GoTo ErrHandlerDim SearchTermLen As IntegerDim FndPos As IntegerSearchTermLen = LentxtSearchTerm.Text Search from the begining of the document

Posted in Computers & Technology by Rakesh Singh at 4:51 PM on May 31, 2008

Write a Visual Basic Code seatment through wich you have to find out Ammicable numbers

Well rakesh,Dim x, y, z As IntegerDim b As StringDim f, j, h As IntegerDim c As StringFor x = 220 To 20000For y = 1 To x - 1b = x.ToString / y.ToStringIf InStrb, ".", Compare.Dim x, y, z As IntegerDim b As StringDim f, j, h As IntegerDim c As StringFor x = 220 To 20000For y = 1 To x - 1b = x.ToString / y.ToStringIf InStrb, ".", CompareMethod.Text = False Thenz = y

Posted in Computers & Technology by Rakesh Singh at 5:19 PM on May 31, 2008

How to work in a maximized designing window in VB.net?

ClassPublic Declare Function SetWindowPos Lib user32.dll Alias SetWindowPosByVal hWnd As IntPtr, ByVal hWndIntertAfter As IntPtr, ByVal X As Integer, ByVal Y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal uFlagsAs Integer As Boolean You also need an alias to the API function called GetSystemMetrics, like this : Private Declare Function GetSystemMetrics Lib user32.dll Alias GetSystemMetrics ByVal Which

Posted in Computers & Technology by Debabrata at 12:50 PM on September 22, 2008

How do I convert between an int and a char?Data type issues

;char myChar = char a; // cast from int to charSystem.out.println "Char - " myChar;In this example, we have a number 65, which represents ASCII character A. We cast the number from an integer the number from an integer to a char, converting it to the letter A.For more details , Please visit the source site :http://www.javacoffeebreak.com /faq/faq0025.html...well,If you arent interested in converting

Posted in Computers & Technology by Fazil at 11:22 PM on July 02, 2008

How do I convert between a String and a number?

well,To convert a string to a number, use the JavaScript function parseFloat for conversion to a floating-point number or parseInt for conversion to an integer.parseFloat syntax: parse:The first argument of parseInt must be a string or a string expression. The result returned by parseInt is an integer whose representation was contained in that string or the integer found in the beginning

Posted in Computers & Technology by Fazil at 11:23 PM on July 02, 2008
Tags

what is Pointers and how to declared inline fuction

to hold the value of that variable. The size of that block depends on the range over which the variable is allowed to vary. For example, on 32 bit PCs the size of an integer variable is 4 bytes. On older 16 bit PCs integers were 2 bytes. In C the size of a variable type such as an integer need not be the same on all types of machines. Further more there is more than one type of integer variable in C. We

Posted in Computers & Technology by shepherd at 1:47 PM on May 08, 2008

what is java RMI?

, An interface is a description of the methods we will allow remote clients to invoke. Lets consider exactly what well need. 1. A method that accepts as a parameter an integer, squares it, and returns a BigInteger public BigInteger square int numbertosquare ; 2. A method that accepts as a parameter two integers, calculates their power, and returns a BigInteger public BigInteger power int num1, int num2 ;Once weve

Posted in Computers & Technology by Fazil at 3:16 PM on June 22, 2008
Tags java rmi

Can Any1 Provide me with the code for displaying amount in words.eg if amt is Rs10,000 then it should display Rupees one thousand only.I m using Visual basic

he code for converting amount nto words in VB> Convert a number between 0 and 999 into words.Private Function GroupToWordsByVal num As Integer As StringStatic onetonineteen As String = " "" Handle the hundreds digit.Dim digit As IntegerDim result As String = ""If num > 99 Thendigit = num 100num = num Mod 100result = onetonineteendigit & " hundred

Posted in Computers & Technology by Himanshu at 7:02 PM on June 21, 2008

Can I write a method that delivers dynamically at run time all public methods of an object?

.lang.String java.lang.Integer.toStringint,int public static java.lang.String java.lang.Integer.toHexStringint public static java.lang.String java.lang.Integer.toOctalStringint public static java.lang.String java.lang.Integer.toBinaryStringin tpublic static java.lang.String java.lang.Integer.toStringintp ublic static int java.lang.Integer.parseIntjava.lan g.String,int throws java.lang.NumberFormatExceptionp ublic static int java.lang.Integer

Posted in Computers & Technology by kok at 12:03 PM on November 01, 2008

Wite a V.B. Program to sort a list of books name alphabetically.

As IntegerDim J As IntegerDim NumInArray, LowerBound As IntegerNumInArray = UBoundwordsLowerBound = LBoundwordsFor I = LowerBound To NumInArrayJ = 0For J = LowerBound To NumInArrayIf AllLowerCase = True ThenDim I As IntegerDim J As IntegerDim NumInArray, LowerBound As IntegerNumInArray = UBoundnumsLowerBound = LBoundnumsFor I = LowerBound To NumInArrayJ = 0For J = LowerBound To NumInArrayIf Ascending = True

Posted in Computers & Technology by Rakesh Singh at 9:06 PM on June 14, 2008

How do I use hashtables?

, for example, as a key, or perhaps a number such as an Integer. However, you cant use a primitive data type, so youll need to instead use Char, Integer, Long, etc. // Use an Integer as a wrapper for an int Integer integer = new Integer i ; hash.put integer, data;Data is placed into a hashtable through the put method, and can be accessed using the get method. Its important to know the key that maps to a value

Posted in Computers & Technology by rashmigoyel at 9:30 PM on November 12, 2008
Refine By Date
sawaal signature
sawaal free visiting card