SOURCE CODE Program Input Data Mahasiswa C++

Pointer merupakan variabel yang berguna sebagai isi alamat dari variabel lain. Pointer di gunakan sebagai penunjuk ke alamat memori suatu variabel agar dapat dengan mudah di ketahui alamat variabel tersebut....

ASSALAMUALAIKUM WR. WB.

Pointer merupakan variabel yang berguna sebagai isi alamat dari variabel lain. Pointer di gunakan sebagai penunjuk ke alamat memori suatu variabel agar dapat dengan mudah di ketahui alamat variabel tersebut.

#include <iostream>
using namespace std;

main() {
  int x,*y;
  y=&x;
  x=5;
  *y=10;
  cout<<"Nilai x = "<<x;
  cout<<"\nAlamat memori x = "<<&x;
  cout<<"\n\nNilai y = "<<*y;
  cout<<"\nAlamat memori y = "<<y;
  system("pause");
}

Sebagai contoh mari kita pelajari pointer dari Source Code Program Input Data Mahasiswa C++

Program Input Data Mahasiswa C++

Interface

SOURCE CODE Program Input Data Mahasiswa C++

Source Code


#include <iostream.h>
#include <conio.h>
#include <stdio.h>

int i,j,a=1,b=1;
struct mahasiswa
{
char *nama[50];
int *nim;
char *nilai[12];
}mhs[6];

data()//funsi biodata saya
{
cout<<"\t\t\t *******************************\n";
cout<<"\t\t\t Nama       : MOHAMMAD SYAIFULLAH\n";
cout<<"\t\t\t NIM       : 121411091\n";
cout<<"\t\t\t Jurusan   : Teknik lnformatika \n";
cout<<"\t\t\t *******************************\n\n";
}

label()//funsi header tabel
{
cout<<" =============================================================================="<<endl;
cout<<" No.  Nama Mahasiswa              NIM                       Nilai\n";
cout<<" ==============================================================================\n";
}

input()//fungsi masukan data
{
cout<<"\n MASUKAN DATA TERLEBIH DAHULU "<<endl;
      clrscr;
     cout<<" Jumlah Mahasiswa = ";cin>>j;
     cout << endl;
     clrscr;
     for(i=1;i<=j;i++)
   {
    cout<<" Data Mahasiswa ke- "<<b++<<endl;
    cout<<" masukkan Nama\t : ";
    gets(*mhs[i].nama);

    cout<<" masukkan NIM\t : ";
    cin>>*mhs[i].nim;

    cout<<" masukkan Nilai\t : ";
    cin>>*mhs[i].nilai;
      cout << endl;
   }
}

output()//fungsi keluaran data
{
cout<<"\t\t\t DATA MAHASISWA "<<endl;
label();

     for(i=1;i<=j;i++)
   {
   gotoxy(1,wherey());cout<<" "<<a++<<".";
    gotoxy(6,wherey());cout<<" "<<*mhs[i].nama;
    gotoxy(34,wherey());cout<<" "<<*mhs[i].nim;
    gotoxy(60,wherey());cout<<" "<<*mhs[i].nilai<<endl;
   }
}

garis()//fungsi garis batas
{
cout<<" =============================================================================="<<endl;
}

main()//fungsi utama
{
clrscr;
awal:
data();

label();

input();

clrscr();

data();

output();

clrscr;
cout<<"\n"  ;
garis();
cout<<"\n Apakah Anda Ingin Mengulang [Y/N] ? "  ;
char m ;
cin>>m;
if (m == 'y')
{
goto awal;
}
else if (m == 'n')
{
goto akhir;
}
akhir:
garis();
cout<<"\n\n\t\t\t\t        BY";
cout<<"\n\n\t\t\t\tMOHAMMAD SYAIFULLAH";
cout<<"\n\n\t\t\t\t    TERMA KASIH";
cout<<endl;
getch();
}

visual c++ program coding tic tac toe program c++ coding simple c++ program coding sample coding c++ program coding program searching c++ coding program penjualan c++ program of huffman coding in c++ coding c++ mengulang program c++ coding program mac c++ program coding library management coding c++ program kasir program coding in c++ for games program coding in c++ c++ program to implement huffman coding simple huffman coding program in c++ huffman coding program in c++ c++ game program coding jsf program c++ coding guidelines c++ program coding for fibonacci series free c++ coding program c++ program coding for games c++ coding program for mac c++ program coding for hospital management program coding for c++ program for huffman coding in c++ c++ coding program download c++ program for huffman coding & decoding huffman coding program code c++ calculator program in c++ coding contoh coding program c++ contoh coding program borland c++ best program for c++ coding coding program borland c++ write a program for huffman coding in c++ c++ program for huffman coding and decoding arithmetic coding program in c++ c++ program coding the banker's algorithm program on c++ with source code visual c++ program source code simple c++ program source code c++ quiz program source code c++ program source code projects source code password program c++ c++ paint program source code source code program perpustakaan c++ source code of c++ graphics program source code of c++ program source code of c++ program pdf c++ maze program source code linked list program c++ source code c++ library management system project - source code of program kumpulan source code program c++ source code program kalkulator c++ source code program kasir c++ source code of a program in c++ c++ program that prints its own source code stack program in c++ source code games source code in c++ program payroll program in c++ source code c++ how to program source code c++ graphics program source code source code for c++ program sample program for c++ with source code c++ source code for quiz program c++ program source code for games c++ how to program fifth edition source code c++ programming from problem analysis to program design 5th edition source code c++ program source code examples c++ how to program 8th edition source code source code program kasir dengan c++ c++ programming program design including data structures source code source code program penjualan dengan c++ deitel c++ how to program 8th edition source code c++ database program source code c++ program source code download c/c++ source lines of code counting program chess program source code c++ contoh source code program c++ c++ program source code free source code c++ chat program source code c++ calendar program source code c++ calculator program source code best c++ program source code source code in c++ for iterative program for binary search c++ banking program source code binary search tree program in c++ source code source code for a c++ program c++ programming from problem analysis to program design source code data structures and program design in c++ source code atm c++ program source code

COMMENTS

Nama

AJAX Android APLIKASI APLIKASI PROGRAMMING BASIC Bootstrap C Plus Plus Cisco Packet Tracer Codeigniter CRUD CSS Framework HTML Instaling Jaringan Komputer Java Java Script JavaScript JQUERY Pengetahuan PHP Programming Review Sekolah SOURCODE Teknologi TipsTrick Tutorial Video Yii
false
ltr
item
HI-CODDING: SOURCE CODE Program Input Data Mahasiswa C++
SOURCE CODE Program Input Data Mahasiswa C++
Pointer merupakan variabel yang berguna sebagai isi alamat dari variabel lain. Pointer di gunakan sebagai penunjuk ke alamat memori suatu variabel agar dapat dengan mudah di ketahui alamat variabel tersebut....
http://2.bp.blogspot.com/-xsnsFUAwYr0/VrChV1wX87I/AAAAAAAAAak/5A56vQeH9hA/s640/Screenshot_1.png
http://2.bp.blogspot.com/-xsnsFUAwYr0/VrChV1wX87I/AAAAAAAAAak/5A56vQeH9hA/s72-c/Screenshot_1.png
HI-CODDING
http://www.hi-codding.net/2016/02/source-code-program-input-data-mahasiswa-c.html
http://www.hi-codding.net/
http://www.hi-codding.net/
http://www.hi-codding.net/2016/02/source-code-program-input-data-mahasiswa-c.html
true
5256670903611799845
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy