247 Topics

Member Avatar for
Member Avatar for anku83

package JavaApplication42; import java.io.*; import java.io.IOException; import java.util.*; import java.io.BufferedReader; public class DPmodification { public static void main(String[] args) { BufferedReader br = null; int n, c, d,k, swap,i=0,j=0,no_of_selected_item=0; int numItems; int numTransactions; double minSup; String configFile = "F:\\New Folder\\configtrial.txt"; try{ FileInputStream file_in = new FileInputStream(configFile); BufferedReader data_in = new …

Member Avatar for iamthwee
0
270
Member Avatar for Milan_1

Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. <script language="JavaScript"> var myDate = new Date(); /* hour is before noon */ if ( myDate.getHours() < 12 ) …

Member Avatar for Alberto Bucur
0
232
Member Avatar for thirteen_xx

Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but whenever i run the program, i can't edit the time. only the date. help please?

Member Avatar for thirteen_xx
0
800
Member Avatar for hvebsr

I want to put the path and name of a spreadsheet, the page and number of pages and the date and time into the footer(s) and display it in Times New Roman 6 pts. I made the following macro: Range("A1").Select ActiveWindow.View = xlPageLayoutView` Application.PrintCommunication = False With ActiveSheet.PageSetup .LeftFooter = …

Member Avatar for hvebsr
0
292
Member Avatar for hbk_star2006

Hello Please help me to understand the following What are Compilation time Parameters?? Is Excetution time and run time are same?? Please answer above in realtion with web development. Also is this line correct ?? Our thesis Main objective is to use effective web-crawling by the means of cluster analysis …

0
152
Member Avatar for zangazanga

So i don't really understand how I will calculate the time complexity for my code, I've had a hard time with it and I would really need some help. the exponent is N all the time. So how will i find the time complexity in N-time(bits).. for(int i = 0; …

Member Avatar for vinayemani
0
454
Member Avatar for Pooja_2

I am a computer science student and i have to do a miniproject using only c.my project title is "to estimate time complexity of a given algorithm/program code.please tell me how can i initiate that i tried counter,line count it couldn't help,i have to submit my project at the first …

Member Avatar for Pooja_2
0
172
Member Avatar for littledevils326

I am wanting to measure the performance of an algorithm which I've created, and for some reason the value decreases significantly as I run through my loop

Member Avatar for ObSys
0
237
Member Avatar for ragnacrap

Does anybody know how to make a program that calculates your work hours? I tried this code, but it's going all wrong. #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<ctype.h> #include<string.h> #include<time.h> char* timein[5], timeout[5], p; int totaltime, ticktock, hour, minute, rate; FILE* f; int main(){ clrscr(); CreateTimeFile(); GetTimes(); DisplayFinalInfo(); getch(); } CreateTimeFile(){ f …

Member Avatar for Banfa
0
328
Member Avatar for ankit.pandey3

Hi Friends I want to convert "Mon Oct 28 11:30:58 GMT+05:30 2013" Format to "2012-11-27T18:08:47.410+05" in Java. I dont know how to do it. Please help. Thanks in advance

Member Avatar for stultuske
0
209
Member Avatar for vegaseat

Starting with Python 3.3 you now have access to a high resolution time counter (nanoseconds and better).

Member Avatar for vegaseat
6
4K
Member Avatar for Waado

Please i need help on how to set php time to GMT +1 below is my code which reads +2 <?php // Displays in the format Saturday, November 22, 2003 11.38 echo date("l, F d, Y P:h:i:A:e" ,time()); ?>

Member Avatar for RCrizt
0
125
Member Avatar for linux

Hey all - I have searched the internet with no luck, so I finally resorted to here to ask for information. I am trying to find a way to find the time it takes to shut down, sleep, and wake from sleep for a Windows 7 install. I understand that …

Member Avatar for gerbil
0
411
Member Avatar for MrNoobieCoder

I am currently in need of help on a piece of homework, I'm using python 3.3 and i need to set a delay on a times table program that i created heres the code: def get_int(prompt="Enter an integer: "): """this function will loop until an integer is entered""" while True: …

Member Avatar for MrNoobieCoder
0
233
Member Avatar for drieran

Hi, I'm developing with a BeagleBoard Black (BBB) under Ubuntu using C. When the BBB is powered on I'm doing many time controlled tasks. My problem happens when NTP changes the clock and all my counters are not valid. Normally BBB starts with no date/time set, some seconds later (if …

Member Avatar for drieran
0
239
Member Avatar for khushhappy

Dear all, Im getting a problem in Excel. Vlookup formula is working correct. Now the problem is when more than one time asc-1 comes in posting column, it do not show the 2nd name with asc-1. Formula for the vlookup is : =VLOOKUP(N15,A11:G87,2,FALSE) What will be the solution and how? …

Member Avatar for khushhappy
0
139
Member Avatar for Jordancrack
Member Avatar for pardeep3dec

Dear Experts, I am new to asp.net c# but proficient in c++. In asp.net c# i have to open a new page in new tab with pdf file on gridview1 column click event. so give me guidelines to do this. Thanks and regards, Pardeep

Member Avatar for arun1123
0
1K
Member Avatar for ibthevivin

Overlords, I request your utmost aid in vanquishing the beast of my IS450 class. > Suppose a 1 GB file must be distributed. Assume there are 10 clients (or peers) in addition to the server, and that the following 10 numbers represent the download speed of the 10 clients, in …

Member Avatar for Nihil777
0
376
Member Avatar for Kratoswoo

So I have this linq code and I am trying to get it to look at the datbase and what it is doing is pulling back the last record put into the database. My asp page refreshes and displays the new information that was updated. What I want is to …

Member Avatar for Kratoswoo
0
221
Member Avatar for jacob21

Hi, I am executing below query. db.leads.find(); How to get execution time(in milli seconds) it take.

Member Avatar for pritaeas
0
133
Member Avatar for ScubaSam

Hi everyone I need help please. I need to create a Time Dimension of an Oracle Table using C#. I have no idea how to do it. Any Suggestions? Thanks in Advance

0
96
Member Avatar for yuvjeeth

Hi I want to know how to know if user is running the program for first time? I have a .txt file which will be loaded on start, but it is the first time and there is no such file. If anybody contributes, I will be happy Thanks in advance …

Member Avatar for mridul.ahuja
0
233
Member Avatar for Suzie999

Hi. I'm having some touble printing year. Here is the code where I expected an output of "Year: 2013" time_t tm; time(&tm); struct tm ts; errno_t err = localtime_s(&ts,&tm); cout << "Year:\t" << ts.tm_year << endl; But what I get is "Year: 113" Appreciate any help offered.

Member Avatar for Suzie999
0
167
Member Avatar for poisonousgu

int sum=0; for(i1=0,i1<m,i++){ for(i2=0,i2<m,i++){ for(i3=0,i3<m,i++){ ... ... ... for(im=0,im<m,i++){ sum += a[i1][i2][i3]...[im]; } } } } What is the time complexity of the above code? btw, I always having problems related to time complexity, do you guys got some good article on it? especially about the step count and loops …

Member Avatar for deceptikon
0
497
Member Avatar for dij_0983

I'm trying to develop my own simple uptime command (used to show how long the system has been running) like program where I'm gonna use it for our university's OS, (consider the OS already has all the necessary C libraries needed to make system utilities) Could someone give me a …

Member Avatar for dij_0983
0
234
Member Avatar for cooling

SELECT Facility.[Facility Name] FROM Facility LEFT OUTER JOIN Reservation on Facility.FacilityID = [Reservation].FacilityID AND [Check-in time] = '" & Integer.Parse(cboHour.Text) & "' AND [Check-in date] = '" & lstDate.SelectedItem.ToString & "' WHERE Reservation].ReservationID Is NULL AND Facility.[Facility Type] = '" & cboFacilityType.Text & "' I have this sql statement which …

Member Avatar for adam_k
0
1K
Member Avatar for turpentyne

I'm a bit new with javascript/jquery. I've taken over a page design with images and links that animate on rollovers. I've almost got things working, but there's one last glitch. The mouseover effects of an image growing/shrinking work fine when the page is first loaded. But if the user clicks …

Member Avatar for turpentyne
0
347
Member Avatar for Start4me

I would like to make a program in which the user selects a time frame, for example if he selects from a DateTimePicker1 the time 7 (July), 17th, 2012 through DateTimePicker2 7 (July), 20th, 2012, and presses the button, a text will show up in a textbox from which he …

Member Avatar for tinstaafl
0
287
Member Avatar for richosr

Hi, I want to select all records from a table where the DateAdded field's date and time (Default value Timestamp field) is more than say 3 hrs ago. eg: something like SELECT tbldata.* FROM tbldata WHERE (tbldata.DateAdded <= now()-3); I can get it working with days difference but do not …

Member Avatar for richosr
0
346

The End.