This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Defri Indra M | |
* 2021-04-14 | |
*/ | |
class Connection | |
{ | |
protected $connection; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
main() { | |
int * bil, i, j, n, hsl; | |
printf("Masukkan batas bilangan : "); | |
scanf("%d", & n); | |
bil = (int * ) malloc(n * sizeof(int)); | |
i = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct simpul { | |
char nama[25]; | |
int nrp; | |
struct simpul * prev; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct simpul { | |
char nama[25]; | |
int nrp; | |
struct simpul * next; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct Mahasiswa { | |
char * Nama; | |
int Nrp; | |
struct Mahasiswa * Next; | |
}; |
In controllers\SiteController.php
change the code like this.
public function actions()
{
return [
'error' => [
'class' => 'yii\web\ErrorAction',
'layout' => 'error-layout', // the rendered layout
'view' => 'error-page' // the rendered view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define MAX 100 | |
typedef struct { | |
int Item[MAX]; | |
int Front; | |
int Rear; | |
int Max; | |
int Is_Max; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Defri indra mahardika | |
* 08-03-2021 | |
* Alphabet Excel | |
*/ | |
$alphabet = "C"; | |
$suffix = ""; | |
$number = 5; | |
$looping = 100; |