- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 11
- Posts with Downvotes
- 7
- Downvoting Members
- 5
10 Posted Topics
Re: @Sunshineserene you use the charAt() method. Infact here I have developed for you a Java Program that will accept your name and four of your friends names and then reverse AUGC to CGUA and friends names reversed respectively for any five names. Bet when you go through the program your … | |
Re: [QUOTE=gracea;183959]no! How to use the timer to count down from the given time. if the user says that he wants to take 2 hrs,7 minutes and 59 seconds to complete the quiz ,the timer should start from 2:07:59 and countdown to 00:00:00.That's what. I'm at my wits end here.Pleeez help!![/QUOTE] … | |
Re: Well, you can solve this problem using two methods: 1. Iterative approach...like what you guys are trying 2. Recursive approach which to me is easier.....next term (N) in Fibonacci series is given by N = Fibonacci(N-1) - Fibonacci(N-2) where N > 0. Then you can loop any number of times … | |
Re: NewOrder how about trying this code which translates one to ten from Hebrew to English and vice versa, Please do not accuse me of doing your homework, could not resist but tryout the code. [CODE]//import java.io.*; import java.util.Scanner;//assist to read user input from console class translator { public static void … | |
Re: Functions in VB.NET fall in two categories: Inbuilt functions and user defined function. The inbuilt functions are always in use thus common. | |
Re: Well this is possible in VB.NET as Daniel puts it. You will need to read the file line at a time (loop through file records) and store the line result to a variable. Use the split function and = as the separator. i.e. Dim strVariable() as string = split(FileRecordVariable,"=") This … | |
I have been using the code below to edit SQL database fields from the data stored in a dataset. Problem is I have to repeat this long code for each database field to be edited....I find this very tiring...IS THERE A SHORTER WAY OF EDITING SQL Database FIELDS. (Am using … | |
![]() | Re: I do not know about sorting inside a ReportViewer. However the best method is to sort the data in the [B]query [/B]used to retrieve the records. for example strQuery = "select * from tableName order by primarySortField, SecondarySortField". This way, by the time data reaches the ReportViewer, it will already … |
Check out my code on Pascal's triangle using C++. [CODE]#include "stdafx.h" #include <iostream> using namespace std; int pascals(int,int); int fact(int); int main() { int r,e,levels,space; cout<<"Enter the number of lines needed";cin>>levels; space = levels+1; for(r=0;r<=levels;r++) { // std::cout.width(space);//shape for(e=0;e<r+1;e++) { cout<<pascals(r,e)<<" "; } cout<<endl; space--;//shape } cout<<endl; cin>>r; return 0; … | |
Check out my VB.NET code to convert numbers entered in a text box to string....It converts upto 99999999 though..... [CODE]Imports vb = Microsoft.VisualBasic Public Class frmFigures Private Function ConvertFigure(ByRef AmountInFigure As Double) As String If Trim(AmountInFigure) <> "" Then If AmountInFigure.ToString.Trim.Length = 1 Then ConvertFigure = getOnces(AmountInFigure) ElseIf AmountInFigure.ToString.Trim.Length = … |
The End.