Kamis, 28 Mei 2015

prak 9 .. grafika komputer

#include <windows.h>  #include <stdio.h>  #include <stdlib.h>  #include <string.h> #include <stdarg.h>  #include <glut.h> //#include <glu.h>void initRendering() {    glEnable(GL_DEPTH_TEST);    glEnable(GL_COLOR_MATERIAL);    glEnable(GL_LIGHTING);     glEnable(GL_LIGHT0);     glEnable(GL_LIGHT1);     glEnable(GL_NORMALIZE);     glShadeModel(GL_SMOOTH);}void...

Rabu, 01 April 2015

Homegroup adalah beberapa komputer di home network yang bisa saling berbagi gambar, musik, video, dokumen, dan printer. Homegroup diproteksi dengan sebuah passwo...

Selasa, 17 Maret 2015

program c++ algoritma pangkat . prak 1 #strategi algoritma

#include <cstdlib>#include <iostream>using namespace std;    int pangkat (int a , int n ) {                int k, hasil ;        hasil = 1 ;        for (k=1 ; k<=n;k++ ){            hasil= hasil *a ;            }            ...

Jumat, 03 Oktober 2014

prak 3.1 APBO

/* * To change this template, choose Tools | Templates * and open the template in the editor. */package praktikum3;/** * * @author Praktikan */public class Mahasiswa extends Manusia{    private String nim;    private String prodi ;            public Mahasiswa (){}        public Mahasiswa (String nim){    this.nim = nim;    }   ...

prak 3 . APBO

/* * To change this template, choose Tools | Templates * and open the template in the editor. */package praktikum3;/** * * @author Praktikan */public class Praktikum3 {    /**     * @param args the command line arguments     */    public static void main(String[] args) {        // TODO code application logic here        Mahasiswa...

Jumat, 06 Juni 2014

program c++ pointer perulangan

#include <cstdlib> #include <iostream> class node {   public :         int data;         node *berikut;         }; using namespace std; int main(int argc, char *argv[]) {     node *A;     A = new node;     A->data = 1;     A->berikut = NULL;         node *B;     B = new node;     B->data = 2;     B->berikut = NULL;  ...

Jumat, 30 Mei 2014

praktikum matdisk 9

#include <stdio.h> #include <conio.h> #include <stdlib.h> using namespace std; int hasil; //funsi faktorial : int faktorial (int nilai) { hasil = nilai; while(nilai>1) { hasil = hasil*(nilai-1); nilai = nilai-1; } return hasil; } main() { int p,nq,max,x,i,j,n,k,r,s,tr,no ; int a[100]; div_t xx; for (i=0;i<100;i++) { a[i] =0; } //Tampilkan pembuka printf("\n PROGRAM GENERATE PERMUTASI\n\n"); printf (" \ ____RIDHA AMMI LETARI____ \n\n"); printf (" \ ________1300018021________...
Postingan Lama Beranda

 

Followers

 

Blogroll

Templates by ridha ammi | CSS3 by David Walsh | Powered by {N}Code & Blogger