Thursday, 5 October 2017

Draw Orange Circle inside Blue Triangle using OPENGL in C/C++ ?

Draw Orange Circle inside Blue Triangle using OPENGL in C/C++ ?

IGNOU MCA 2017 Assignment Question / Answer



#include<graphics.h>
#include<conio.h>

main()
{
   int gd = DETECT, gm;
   initgraph(&gd,&gm,"C:\\TC\\BGI");

  setcolor(BLUE);

   line(300, 100, 200, 200);
   line(300, 100, 400, 200);
   line(200, 200, 400, 200);

   setcolor(ORANGE);
   circle(300,150,30);          /* drawn in orange color   */

   getch();
   closegraph();
   return 0;
}


FOR MORE INFORMATION

Visit Our Office : 
120-121, Gangotri Complex,
30 Meter Gotri Road,
Near Yash Complex,
Gotri, Vadodara - 390021
Gujarat, India.
Contact No: +91 9726185104

Wednesday, 31 May 2017

Programming Language Training in Vadodara Gujarat


Programming Training Center in Vadodara

Programming is task of simplifying problem definition by modelling functions appropriate to the problem using any programming language such as C Programming Language, C++ Programming Language, Java Programming Language, PHP Programming Language, Visual Basic Programming, VBA, C# Programming Language, Python Language, Object Oriented Programming Language .



All Programming courses offered here are based on student’s college and full syllabus is covered according to the colleges, institutes or universities like Gujarat Technological University-GTU, Maharaja Sayajirao University-MSU, Sardar Patel University-SPU, Indira Gandhi National Open University-IGNOU, NIELIT-National Institute of Electronics and Information Technology .

Students can grow their skills by taking admission into the short term courses of VATALIYA COMPUTER CLASSES. We provides short term courses into the programming(VB, C Programming Language, PHP, C++ Programming Language, VB, C# Programming Language, Java,etc.), PYTHON, RDBMS(MS ACCESS,MSSQL SERVER, Oracle and MYSQL), Designing(HTML, CSS, JavaScript, etc. ), Marketing(Search Engine Optimization and Search Engine Marketing) and BASIC (computer course in Gujarati/English, Tally, DTP(DeskTop Publishing),DREAM VIEWER,MS PAINT, MS OFFICE WORD, EXCEL, POWERPOINT, PHOTOSHOP, COREL DRAW, FLASH, etc. ) fields.

Python Language training institute in vadodara.

Contact Us!

120-121, Gangotri Complex,
30 Meter Gotri Road,
Near Yash Complex,
Gotri, Vadodara - 390021
Gujarat, India.
+91 8780972204
+91 9726185104

Thursday, 6 April 2017

How to show video in your own website like youtube. with play pause stop controls in Asp.net?

How to show video and provide download link on that using simple code in aspnet c#


Put Video tag inside the aspx page and give it id and runat server so it will be work with the code of aspx.cs file.

Video Page Design

.aspx page 

<video id="videoTag" runat="server"  height="768px" width="1020px" controls>
    <source src="#" type="video/mp4">
    Your browser does not support the video tag.
    </video>
        <asp:Button ID="Button1" runat="server" Text="Download" 
            onclick="Button1_Click" />



Asp.net C# code
protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {

        str ="video.mp4";
        str = ".."+str.Substring(1);
        
        //str="../video/learn.mp4";
        videoTag.Attributes["src"] = str;

}
}

//Download button click event code

 protected void Button1_Click(object sender, EventArgs e)
    {
        filePath = "~//video.mp4";
        Response.ContentType = ContentType;
        Response.AppendHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(filePath));
        Response.WriteFile(filePath);
        Response.End();
    }


Thank you,
Hitesh Vataliya
www.vataliyatuitionclasses.com

Saturday, 18 February 2017

C and C++ Programming Language Classes at Vadodara, Gujarat, India.


C and C++ Programming Classes for 12th Science Students in Vadodara / Baroda


CPU is the subject offered in all engineering branches after 12th Science (Maths group) students.The full form of CPU is Computer peripherals and utilization. Students who have interested for studying in Degree Engineering can join classes for c programming in their vacation to get skill or learning programming techniques. We @ Vataliya Computer Classes provides classes for the c programming and c++ programming in Vadodara. Interested student can visit our center and join now.





BCA / MCA / Diploma / Degree Engineering Classes

Vataliya Computer Classes

120/121, Gangotri Complex, Near Yash Complex,

30 Meter Gotri Road, Vadodara.

Mobile : 8780972204 / 8734853270

Website: www.vataliyatuitionclasses.com


Friday, 25 November 2016

Programming Language Classes in Vadodara

Programming Language Training 

Program means Collection of statements written using any programming language to solve specific problem of humans. Collection of thousands of programs makes complete software.

We provides complete training of any programming language in Vadodara.

Computer Classes at here offers Programming Language Training to the students with 100% perfection and satisfaction of the students or candidates who appeared into the Programming Training course.

Programming is task of simplifying problem definition by modelling functions appropriate to the problem using any programming language such as C Programming Language, C++ Programming Language, Java Programming Language, PHP Programming Language, Visual Basic Programming, VBA, C# Programming Language, Python Language, Object Oriented Programming Language .

All Programming courses offered here are based on student’s college and full syllabus is covered according to the colleges, institutes or universities like Gujarat Technological University-GTU, Maharaja Sayajirao University-MSU, Sardar Patel University-SPU, Indira Gandhi National Open University-IGNOU, NIELIT-National Institute of Electronics and Information Technology .

Programming Language is a high Level language, which is understandable by humans, while machine language is written in the binary language and hence it is also called machine language. Binary language is only language which is understandable by machines (PC, Smartphone, Laptop, tablet, remote control, or any electronics gadgets). We create solution of any problem into Programming Language (High Level language), then compiles it, and generate the binary code or file which runs by machine and generates the desired result according to the program code.