Question about Microsoft Windows Vista Ultimate Edition

1 Answer

Programming problem... I wan t to access the system time by writing a c-program without using library function (such as gettime(), settime() etc. ). Please help, how this is possible?

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

    Governor:

    An expert whose answer got voted for 20 times.

  • Expert
  • 139 Answers

Hi Tulsi,
offcourse you can do it. But for this you must have knowledge of assembly programming, so that you can embed ASSEMBLY CODES in a C program using following way:-

ASM:
assembly codes

Alternatively you can fetch code simpling by opening and observing corresponding header files (system.h etc.) in a text editor like notepad.

you can refer to LET US C (Yashwant Kenetkar) for details.

for specific code you can contact me.

Thanks

Zulfikar Ali
ali_zulfikar@yahoo.com
09899780221

Posted on Feb 28, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to program


Please be specific about WHAT do you want to program. do you want to learn a programming language?
Many programming languages or procedures have good tuotrials and books
Like C++

Programming and Programming

PHP

PHP Programming

JAVA

1 Elements of Programming

Visual Basic

https://msdn.microsoft.com/library/xk24xdbe%28v=vs.90%29.aspx


and so on...

Sep 07, 2015 | Operating Systems

1 Answer

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in...


I know this is a Homework problem. You aren't going to learn anything if we do it for you. I will give you this hint: There is a C++ library that has to be loaded in the header section in order to access the MySql Functions. It can be done using the core C++ header file for Databases but it is much harder to do. Once you add the proper header it should take you about an Hour to complete the program. Good Luck

Jul 28, 2011 | Operating Systems

1 Answer

Hii... i m using turbo c++ 3.0 on win 7. i compile a c program & got a error unable to open include file <STDIO.H> file. plz suggest me solution.


just go to
Go to the menu strip.
click: Options >> Directories.

Now, if you have installed the program in the directory c:\Tc,

Enter in the include box > C:\TC\include
Enter in the library box > C:\TC\library

happy programming !!!!

Jun 15, 2011 | Operating Systems

1 Answer

I am looking for a motion recognition system with source code. If anyone can help me


Hi,
Here are a few links to get you started:
Video Motion Detection
iSpy
Home surveillance security system
Open Source C# Surveillance Software and Motion Detection

To get more detailed help, please include:
1. The device that you will use for motion detection, e.g webcam, infra-red sensors etc
2. The programming language that you want the source code. Alternatively, you can extract the algorithm from one language and re-write it into your programming language of choice.

Best Wishes.

Mar 06, 2011 | Operating Systems

1 Answer

I have "The procedure entry point _ismbspace could not be located in the dynamic link library MSVCR71.dll"


A DLL ("Dynamic Link Library") is a collection of subroutines (small programs) that can be used by many programs on your computer.This particular DLL is included with Version 7.1 of Microsoft's "C" programming-language.However, the appliation that tried to use the DLL is requiring a _newer_ version of that particular DLL.So, access http://support.microsoft.com to download and install the latest "runtime" library for their "C" programming language.

Jun 04, 2009 | Microsoft Windows XP Home Edition

1 Answer

How can i connect the data base during my project


That seems fine.

I cant assume your level of confidence in programming, however, following are some simple steps you can follow to achieve (for complex implementations, much more time and details will be needed, i can help u with them as well)

1. Create a database in Access ( i assume u r using Access 2003)
2. Create a System DSN (if aren't clear, how to create then goto administrative tools under control panel and you'll find Data Sources (ODBC), here u need to create System level DSN for Access driver (may be Jet 4.0+)
3. In java, you need to import java core libraries for sql (javax.sql package specially)
4. you are almost done, just google for database code in java, simple code will be around 5-10 lines (just for your reference, search with these keywords, ClassName(""), jdbc:odbc:YourDSN)
5. Open a connection using Connection object
6. Fetch the records (select query) using Recordset object
7. You're done.

thanks
Kuldeep

Mar 13, 2009 | HP Operating Systems

1 Answer

Who to manuplate the date in java


Date arithmetic is relatively easy if you remember that time in JavaScript is measured in milliseconds. Use the date method getTime() to determine the number of milliseconds that have elapsed since the magic date of January 1, 1970. Use the setTime() method to establish a date you have calculated in term of milliseconds.

Danny Goodman, author of the JavaScript bible recommends that you set up some variables that build on each other to make it easier to do Date Arithmetic. Here is the variable setup that he recommends:

var oneMinute = 60 * 1000 // milliseconds in a minute
var oneHour = oneMinute * 60
var oneDay = oneHour * 24
var oneWeek = oneDay * 7

So for your case (date for 10 days after today), we can declare like this:

<SCRIPT language="JavaScript">

var today = new Date();
var mm= today.getMonth();
var dd = today.getDate();
var yyyy = today.getFullYear();
var oneMinute = 60 * 1000; // milliseconds in a minute
var oneHour = oneMinute * 60;
var oneDay = oneHour * 24;
var dateInMS = today.getTime() + oneDay * 10;
var TargetDate = new Date (dateInMS)
document.write("Today is: " + mm + "/" + dd + "/" + yyyy);
document.write("<br />");
document.write("10 days after today is: " + TargetDate);

</SCRIPT>


P.S.: If this information was helpful, please rate this solution.

Mar 12, 2009 | Microsoft Operating Systems

1 Answer

Why we use include Statement before writin c program?


there will be a lot of pre defined functions in the c language which we wil be using many times even in a simple program if we dont include the header file we hav to write the code for that function also therefore to avoid this we include files from the internal library of the language........

i hope ur question is fully answered........

Jan 22, 2009 | Microsoft Windows XP Professional

1 Answer

Problems with computer software


go to System restore and roll back to before this problem happened.....

START>all programs>accessories>system tools>system restore

good luck :)

Oct 01, 2008 | Operating Systems

Not finding what you are looking for?
Microsoft Windows Vista Ultimate Edition Logo

53 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Scott Fryer

Level 2 Expert

80 Answers

Alex Krenvalk

Level 2 Expert

401 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...