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

What is the use of stringbuilder and how it is used?

The StringBuilder class, introduced in J2SE 5.0, differs from StringBuffer in that it is unsynchronized.StringBuild erConstructs a string builder with no characters in it and an initial capacity of 16 characters.StringBuilderC harSequence seqConstructs a string builder that contains the same characters as the specified CharSequence.StringBuilder int capacityConstructs a string builder

Posted in Computers & Technology by Rushi Raval at 12:13 AM on June 11, 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: parseFloatstringHow it works:The argument of parseFloat must be a string or a string expression. The result of parseFloat is the number whose decimal representation was contained in that string or the number found

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

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 = "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eightteen", "nineteen"Static multiplesoften As String = "

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

what is string in C

In C language , string is a character sequence stored as a one-dimensional character array and terminated with a null character 0, called NUL in ASCII.The name refers to the ubiquitous C programming language which uses this string representation.In C programs, strings are usually handled with string pointers, which hold the memory location of the first character of the string. The length of the string

Posted in Computers & Technology by joahr ali at 6:27 PM on July 17, 2008
Tags string

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

Well Nicl , here is the program in Java to convert Decimal numbers into Binary format.import java.lang.;import java.io.;public class DecimalToBinary public static void mainString args[...] throws IOException BufferedReader bf = new BufferedReadernew InputStreamReaderSystem.in; System.out.println"Enter the decimal value:"; String hex = bf.readLine; int i = Integer.parseInthex; String

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

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

well, If you arent interested in converting from an int to a string from int 127 to string "127", and only want to convert to an ASCII value, then you only need to cast from an int to a char.Whats casting? Casting is when we explicitly convert from one primitve data type, or a class, to another. Heres a brief example.public class inttocharpublic static void mainString args[...]int a = 65

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

How can i encrypt and decrypt my web address in asp.net?

Well Harshl , This step shows you how to encrypt a connection string in the Web.config file, first with the machine store and then with the user store.Using DPAPI with the Machine Store to Encrypt a Connection String in Web.configBy default, the DataProtectionConfigurationProvider is configured to use DPAPI with the machine store.To encrypt the connectionStrings section in Web.config 1. Create a new Web

Posted in Computers & Technology by Harshil at 3:24 AM on July 18, 2008
Tags

Are C references the same as C references?

like a C pointer than a C reference. If you try to use a null reference, a NullReferenceException is thrown.For example, look at the following method:void displayStringLength string s Console.WriteLine "String is length 0", s.Length ;The problem with this method is that it will throw a NullReferenceException if called like this:string s = null;displayStringLength s ;Of course for some

Posted in Computers & Technology by Radhe Radhe at 8:29 PM on May 30, 2008

how to find the serial no of the hard disk?

hi swizz First, lets create a class to store information about a hard driveclass HardDrive private string model = null; private string type = null; private string serialNo = null; public string Model get return model; set model = value; public string Type get return type; set type = value; public string SerialNo get return serialNo; set serialNo = value; Next, add a reference to your

Posted in Computers & Technology by swizzsam at 3:31 PM on February 29, 2008
Tags find, serial, hard, disk

What is the difference between == and object.Equals?

== operator on strings, compares strings by content. But == operator on objects just checks if the objects are same. So the first statement is true because both strings contain "Operators are not applied polymorphically, methods are." As ox and oy are objects holding strings, running Equals method on both, actually runs Equals method on strings....well Radhe, operator would be used, in an object

Posted in Computers & Technology by Radhe Radhe at 8:32 PM on May 30, 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, ".", CompareMethod.Text = False Thenz = yEnd IfIf y = x - 1 ThenFor j = 1 To z - 1c = z.ToString / j.ToStringIf InStrc, ".", CompareMethod.Text = False Thenh = jEnd IfNextIf j = z And h = x Then Text2.Text = Text2.Text

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

I m doing a project in V.B 6.0 and i want to kno the syntax of windows media player Active x control to play the song by run the program

You can use this class to declare an instance and set the filename. Then you can play, stop and pause the any Media file. Hope it helps!Option ExplicitAPI declaresPrivate Declare Function mciGetErrorString Lib "WINMM.DLL" Alias "mciGetErrorStringA" ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long As LongPrivate Declare Function mciSendString Lib "

Posted in Computers & Technology by Yudi Bakshi at 6:15 PM on May 27, 2008

Why the main method in Java is defined as public and static.

void mainString[...] args System.out.printlnMain1!; public static void mainString[...] someOtherName System.out.printlnMain2!; public static void mainString args System.out.printlnMain3!; public static void mainString[...] args throws Exception System.out.printlnMain4!; static void mainString[...] args System.out.printlnMain5!; public void mainString[...] args System.out.printlnMain6!; public static

Posted in Computers & Technology by Ravinder at 5:58 PM on June 11, 2008

How do I Level 1 in c programming Comparing strings C

In C, you can compare single characters chars by using the comparion operator ==, however, this method is not valid for comparing arrays of chars, or strings. Instead, you must use a function that compares each of the chars within the arrays in turn. This may sound complex to the beginner, but fortunately there is a standard C function that does this for you.include <string.h>int strcmpconst

Posted in Computers & Technology by Smita at 6:28 AM on September 19, 2008

What are the different value types in the registry that Windows supports ?

for all the hardware, operating system software, most non-operating system software, users, preferences of the PC,List of Registry Value Types 0 REGNONE No type 1 REGSZ A string value 2 REGEXPANDSZ An "expandable" string value that can contain environment variables 3 REGBINARY Binary data any arbitrary data 4 REGDWORD/REGDWORDLITTLEENDIAN A DWORD value, a 32-bit unsigned integer numbers between 0 and 4

Posted in Computers & Technology by Manokamana at 2:57 PM on August 08, 2008
Refine By Date
sawaal signature
sawaal free visiting card