ellipse function in c Learn to Declarations ellipse function in computer graphic void ellipse(int x, int y, int stangle, int endangle, int xradius, int yradius) This function is used to draw an ellipse where (x,y) are coordinates of center of that draw ellipse, stangle is the starting angle, end angle is the ending angle, int xradius, int yradius are parameters specifies the...
Friday, April 23, 2021
Wednesday, April 14, 2021
line function in computer graphics
line function in c programming :-Well line function in c computer graphics is used as it name says to draw a line from a point(x1,y1) to point(x2,y2) where (x2,y2) are end points to draw a line.Here you can also check the c program to draw a line in computer graphics.
(adsbygoogle = window.adsbygoogle || []).push({});
C example program #include <graphics.h>#include <conio.h>main(){ ...
Monday, April 5, 2021
Arc function in C with graphics in c
Declaration: void arc(int x, int y, int stangle, int endangle, int radius);"arc" operate is employed to draw associate arc with center (x, y) for example draw a corcle in c programming and stangle specifies beginning angle for arc, end angle for arc can be define by endangle and the and last parameter specifies the radius of the arc. arc operate may also be accustomed draw a circle except...
Thursday, March 18, 2021
getline Function in c++

Well as we know cin is an object which is used to take input from the user but does not allow to take the input in multiple lines.To accept the multiple lines as input we use getline c++. It is a pre-defined function in C++ which is defined in a <string.h> header file getline function...
Wednesday, March 17, 2021
fmod() function in C++

fmod() function in C++ very useful for computes the floating point remainder of numerator/denominator (rounded towards zero).Syntax for fmod() C++fmod (x, y) = x - tquote * yfmod() prototypedouble fmod(double x, double y);
float fmod(float x, float y);
long double fmod(long double x, long double...
Friday, March 12, 2021
Friend function in C++ with example program
Well hiding the data is core of object-oriented programming but friend function in C++ is an exception which break the rule of OOP's.friend function and friend classes in C++ programming helps to give the access member functions from outside the class.or in the other words the protected and private data of a class can be accessed with the help of function in C++.Declare friend function in C++ friend...
Tuesday, March 9, 2021
Substring function in r programming

Substring() function in R can be used to extract the characters present in the data or to manipulate the given data. You can easily extract the required characters from a string and Substring() in r can also replace the values in a string.Syntax for substring r :- substr(x,start,stop)substring(x,first,last=1000000L) Here...
Subscribe to:
Posts (Atom)