Question about Computers & Internet

1 Answer

The graphics of roman calculator

Could u plz write the coding for the graphics of roman calculator in c language

Posted by on

1 Answer

To crack codes

Posted on Feb 28, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

Hii... i want a computer graphics project in C++/ C language... can u plz help me out...


http://dilipnaik11.blogspot.in/2009/07/vtu-6th-semester-engineering-cg-project.html




(programs with output)
http://technogeek.hubpages.com/hub/vtu-computer-graphics-lab-programs

Jan 25, 2013 | Computers & Internet

2 Answers

VIDEO LIBRARY MANAGEMENT SYSTEM source code IN visual basic


You can get your project from

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=70428&lngWId=1

Nov 09, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

I need open gl source code to make a point move along the circumference of the circle.


Hi
 I'm studying Physics, not CS, but I've had a few brushes with OpenGL.
 I'll use a Basic-like pseudocode syntax since I don't know what language you're using, and basic is very easy to read:

'Constants - Radius is radius of the circle
Const PI = 3.14159, Radius = 10

'Current angle, and angular velocity (dTheta / dt)
Dim Shared Theta as Single, Omega as Single

'Frame is called when you want to draw a new frame
Sub Frame(dt as Single)
  'dt is number of seconds passed since last frame (typically less than one, since you want several frames per second)

 'Initialize the frame (clear buffers, set up projection, etc)
 InitFrame

 'Increase angle
 Theta = Theta + (Omega * dt)

 'Calculate co-ordinates of point
 X = Radius * Cos(Theta)
 Y = Radius * Sin(Theta)

 glBegin(GL_POINTS)

  'Set the colour of the point
  glColor(<r>, <g>, <b>, <a>)


  'Draw the point
  glVertex2f(X, Y)

 glEnd()

 'Display the frame
 RenderFrame

End Sub

May 16, 2009 | Advanced Graphics Programming Using OpenGL...

1 Answer

Code for method parseInt() in java


parseInt(java.lang.String, int)

This code takes two arguments, a string constructor from the Java language and an integer. Its purpose is to parse (meaning de-construct or disassemble into component parts) one data type into another.

Here is an example of a Java program to specify and print out the dimensions of a rectangle, taken from the page http://www.roseindia.net/java/beginners/entervaluesfromkeyboard.shtml:

class Rectangle{
int length, breadth;
void show(int x, int y){
length = x;
breadth = y;
}
int calculate(){
return(length * breadth);
}
}
public class EnterValuesFromKeyboard{
public static void main(String[] args) {
Rectangle rectangle = new Rectangle();
int a = Integer.parseInt(args[0]);
int b = Integer.parseInt(args[1]);
rectangle.show(a, b);
System.out.println(" you have entered these values : " + a + " and " + b);
int area = rectangle.calculate();
System.out.println(" area of a rectange is : " + area);
}
}

Apr 09, 2009 | Sun Java Programming Language (cdj-275)

1 Answer

To calculate frequence of occurence of syllables in hindi diction


Select Count(*) from <TableName> Where fieldname like '%syllable%';

Mar 15, 2009 | Computers & Internet

1 Answer

Problem in java


This is how to create notepad application in java:
http://www.dreamincode.net/forums/showtopic66176.htm

Also, you can take a look to this one and download free source codes:
http://forums.targetlife.com/showthread.php?t=259

Enjoy it! Good luck

Mar 04, 2009 | Sun Java Programming Language (cdj-275)

1 Answer

How can multithreading be done on C Language... OR plz tell me... i want to make a programme in c... and when this program is run suppose * is falling from up to down but can i control the movement of...


What you need it's assembly language here example pixel move with arrows:

// I N C L U D E S ///////////////////////////////////////////////////////////

#include <dos.h>
#include <bios.h>
#include <stdio.h>
#include <math.h>
#include <conio.h>
#include <graphics.h>
#include <stdlib.h>

// D E F I N E S /////////////////////////////////////////////////////////////

#define KEYBOARD_INT 0x09
#define KEY_BUFFER 0x60
#define KEY_CONTROL 0x61
#define INT_CONTROL 0x20

// make and break codes for the arrow keys

#define MAKE_RIGHT 77
#define MAKE_LEFT 75
#define MAKE_UP 72
#define MAKE_DOWN 80

#define BREAK_RIGHT 205
#define BREAK_LEFT 203
#define BREAK_UP 200
#define BREAK_DOWN 208

// indices into arrow key state table

#define INDEX_UP 0
#define INDEX_DOWN 1
#define INDEX_RIGHT 2
#define INDEX_LEFT 3

// G L O B A L S /////////////////////////////////////////////////////////////

void (_interrupt _far *Old_Isr)(); // holds old com port interrupt handler

int raw_key; // the global raw keyboard data

int key_table[4] = {0,0,0,0}; // the arrow key state table

// F U N C T I O N S ////////////////////////////////////////////////////////

void _interrupt _far New_Key_Int()
{
asm{
sti
in al, KEY_BUFFER
xor ah,ah
mov raw_key, ax // I get scan code
in al, KEY_CONTROL
or al, 82h
out KEY_CONTROL,al
and al,7fh
out KEY_CONTROL,al
mov al,20h
out INT_CONTROL,al
} // end inline assembly

switch(raw_key) // process the key and update the table
{
case MAKE_UP: key_table[INDEX_UP] = 1; break;

case MAKE_DOWN: key_table[INDEX_DOWN] = 1; break;

case MAKE_RIGHT: key_table[INDEX_RIGHT] = 1; break;

case MAKE_LEFT: key_table[INDEX_LEFT] = 1; break;

case BREAK_UP: key_table[INDEX_UP] = 0; break;

case BREAK_DOWN: key_table[INDEX_DOWN] = 0; break;

case BREAK_RIGHT: key_table[INDEX_RIGHT] = 0; break;

case BREAK_LEFT: key_table[INDEX_LEFT] = 0; break;

} // end switch

} // end New_Key_Int

void setvideomode(void)
{
int gdriver = DETECT, gmode, errorcode;
initgraph(&gdriver, &gmode, "c:\\minc\\bgi");
errorcode = graphresult();

if (errorcode != grOk) /* an error occurred */
{
printf("Graphics error: %s\n", grapherrormsg(errorcode));
printf("Press any key to halt:");
getch();
exit(1); /* return with error code */
}

}

// M A I N ///////////////////////////////////////////////////////////////////

main()
{
int done=0,x=320,y=240; // exit flag and dot position

setvideomode();

Old_Isr = _dos_getvect(KEYBOARD_INT); // install our ISR

_dos_setvect(KEYBOARD_INT, New_Key_Int);

while(!done) // main event loop
{
if (key_table[INDEX_RIGHT]) x++;

if (key_table[INDEX_LEFT]) x--;

if (key_table[INDEX_UP]) y--;

if (key_table[INDEX_DOWN]) y++;

// draw the cyber dot
putpixel(x,y,15);
delay(10);

if (raw_key==1) // this is our exit key the make code for "esc" is 1.
done=1;

} // end while

_dos_setvect(KEYBOARD_INT, Old_Isr); // replace old ISR

closegraph();

return 0;
} // end main
Assembly is pretty hard language.
Rate me if it helped!

Aug 30, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

85 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98770 Answers

David Payne
David Payne

Level 3 Expert

14065 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...