kai_itz me's Profile User Rating: -----

Reputation: 18 Tradesman
Group:
Active Members
Active Posts:
138 (0.48 per day)
Joined:
03-August 12
Profile Views:
1,670
Last Active:
User is offline May 16 2013 10:03 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   kai_itz me Seize the moment of excited curiosity on any subject to solve your doubts;

Posts I've Made

  1. In Topic: what does this thing do ? Char.IsControl(e.KeyChar) = False ?

    Posted 16 May 2013

    Firstly it does not seems to be vb.net.

    i think(not sure) this line can be used as specifying any condition e.g validating text boxes etc.

    Have a look at this
  2. In Topic: OleDbCommand / Data Table

    Posted 14 May 2013

    here is something useful, read out
  3. In Topic: OleDbCommand / Data Table

    Posted 14 May 2013

    Can you please tell us about the error you are getting ?
  4. In Topic: unable to get a grasp on nested loops

    Posted 14 May 2013

    Dim years As Integer
            Dim rain As Integer = 0
            Dim average As Integer = 0
            Dim total As Integer = 0
    
            Console.WriteLine("Please enter the number of years.")
            years = Console.ReadLine()
    
            Do Until years = 0
    
                For months As Integer = 0 To 11 Step 0
                    If months <= 11 Then
                        Console.WriteLine("Please enter amount in inches.")
                        months = months + 1
                        rain = Console.ReadLine()
                        total = total + rain
                        average = total / months
                    End If
    
                    Console.WriteLine("Total Rainfall " & total & " average " & average & " months " & months & "")
                    Console.ReadLine()
    
                Next
                years = years - 1
                Console.WriteLine("now year is " & years & "")
            Loop
    


    for the calculation purpose (as your amount may vary) you have to enter amount every time...
  5. In Topic: if condition

    Posted 18 Apr 2013

    i got it from somewhere
    The difference between compile time and run time is an example of what pointy-headed theorists call the phase distinction. It is one of the hardest concepts to learn, especially for people without much background in programming languages. To approach this problem, I find it helpful to ask

    What invariants does the program satisfy?
    What can go wrong in this phase?
    If the phase succeeds, what are the postconditions (what do we know)?
    What are the inputs and outputs, if any?
    Compile time

    1.The program need not satisfy any invariants. In fact, it needn't be a well-formed program at all. You could feed this HTML to the compiler and watch it barf...
    2.What can go wrong at compile time:
    Syntax errors
    Typechecking errors
    (Rarely) compiler crashes

    3.If the compiler succeeds, what do we know?
    The program was well formed---a meaningful program in whatever language.
    It's possible to start running the program. (The program might fail immediately, but at least we can try.)
    4.What are the inputs and outputs?
    Input was the program being compiled, plus any header files, interfaces, libraries, or other voodoo that it needed to import in order to get compiled.
    Output is hopefully assembly code or relocatable object code or even an executable program. Of if something goes wrong, output is a bunch of error messages.
    Run time

    1.We know nothing about the program's invariants---they are whatever the programmer put in. Run-time invariants are rarely enforced by the compiler alone; it needs help from the programmer.

    2.What can go wrong are run-time errors:

    Division by zero
    Deferencing a null pointer
    Running out of memory
    Also there can be errors that are detected by the program itself

    Trying to open a file that isn't there
    Trying find a web page and discovering that an alleged URL is not well formed

    3.If run-time succeeds, the program finishes (or keeps going) without crashing.
    4.Inputs and outputs are entirely up to the programmer. Files, windows on the screen, network packets, jobs sent to the printer, you name it. If the program launches missiles, that's an output, and it happens only at run time :-)

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
sports,programming
Full Name:
kai ryan
Programming Languages:
vb.net & sql novice , java , c++

Contact Information

E-mail:
Private

Comments

kai_itz me has no profile comments yet. Why not say hello?