2025-examples
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,29 +0,0 @@
 | 
			
		||||
1 - What is UNIX ? What does it mean ?
 | 
			
		||||
 | 
			
		||||
https://en.wikipedia.org/wiki/Unix
 | 
			
		||||
https://en.wikipedia.org/wiki/Unix#:~:text=In%201970%2C%20the%20group%20coined,of%20the%20final%20spelling%20Unix.
 | 
			
		||||
 | 
			
		||||
2 - When was the first UNIX developed and which hardware was the first platform for the UNIX.
 | 
			
		||||
 | 
			
		||||
https://en.wikipedia.org/wiki/History_of_Unix
 | 
			
		||||
https://www.britannica.com/technology/UNIX
 | 
			
		||||
https://www.redhat.com/en/blog/unix-linux-history
 | 
			
		||||
 | 
			
		||||
3 - What is B programming language and also C programming language ?
 | 
			
		||||
 | 
			
		||||
https://en.wikipedia.org/wiki/B_(programming_language)
 | 
			
		||||
https://en.wikipedia.org/wiki/C_(programming_language)
 | 
			
		||||
 | 
			
		||||
4 - What is a "personal computer"(PC) ?
 | 
			
		||||
 | 
			
		||||
https://en.wikipedia.org/wiki/Personal_computer
 | 
			
		||||
 | 
			
		||||
Merhaba arkadaşlar
 | 
			
		||||
 | 
			
		||||
Bugünkü çalışmamızda kaynak toplama hakkında nasıl yol alabileceğimizi göstermek istiyorum.
 | 
			
		||||
 | 
			
		||||
Kaan Aslan hocamız C dilini UNIX işletim sistemiyle bağlantılı olarak anlatmış ve UNIX işletim sisteminin doğuşu ile bağlantılı olarak tasvir etmiştir.
 | 
			
		||||
 | 
			
		||||
Wikipedia ve diğer kaynaklardan yararlanıp bilgilerimizi zenginleştireceğiz.
 | 
			
		||||
 | 
			
		||||
Teşekkürler.
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
int main(int argc, char *argv[])
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
  int i;
 | 
			
		||||
 | 
			
		||||
  for (i = 0; i < argc; ++i)
 | 
			
		||||
 | 
			
		||||
  printf("%s\n", argv[i]);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,27 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <ncurses.h>
 | 
			
		||||
 | 
			
		||||
int main(void)
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
  char ch;
 | 
			
		||||
 | 
			
		||||
  do
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
  printf("(e)vet/(h)ayir?");
 | 
			
		||||
 | 
			
		||||
  ch = getch();
 | 
			
		||||
  printf("%c\n", ch);
 | 
			
		||||
} while (ch != 'e' && ch != 'h');
 | 
			
		||||
 | 
			
		||||
  if (ch == 'e')
 | 
			
		||||
 | 
			
		||||
    printf("evet secildi\n");
 | 
			
		||||
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
    printf("hayir secildi\n");
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,16 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  double a,b,c;
 | 
			
		||||
  printf("enter double number a:\n");
 | 
			
		||||
  scanf("%lf", &a);
 | 
			
		||||
  printf("enter double number b:\n");
 | 
			
		||||
  scanf("%lf", &b);
 | 
			
		||||
 | 
			
		||||
  c = a + b;
 | 
			
		||||
 | 
			
		||||
  printf("%f", c);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main(void){
 | 
			
		||||
  int i;
 | 
			
		||||
 | 
			
		||||
  for (i = 0; i < 10; ++i)
 | 
			
		||||
    printf("%d\n", i);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
  
 | 
			
		||||
}
 | 
			
		||||
@@ -1,8 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  printf("Hello World !\n");
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <ncurses.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  char ch;
 | 
			
		||||
 | 
			
		||||
  while ((ch = getch()) != 'q')
 | 
			
		||||
    putchar(ch);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  int a;
 | 
			
		||||
  int b;
 | 
			
		||||
 | 
			
		||||
  printf("Enter two numbers:\n");
 | 
			
		||||
  scanf("%d%d", &a, &b);
 | 
			
		||||
  printf("a = %d, b = %d\n", a, b);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,15 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  int a;
 | 
			
		||||
  int b;
 | 
			
		||||
 | 
			
		||||
  printf("Enter number a:\n");
 | 
			
		||||
  scanf("%d", &a);
 | 
			
		||||
  printf("Enter number b:\n");
 | 
			
		||||
  scanf("%d", &b);
 | 
			
		||||
  printf("a = %d, b = %d\n", a, b);
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  int i = 0;
 | 
			
		||||
 | 
			
		||||
  while (i < 10) {
 | 
			
		||||
    printf("%d\n", i);
 | 
			
		||||
    ++i;
 | 
			
		||||
  }
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
int main(void)
 | 
			
		||||
{
 | 
			
		||||
  int i = 10;
 | 
			
		||||
 | 
			
		||||
  while (i) {
 | 
			
		||||
    printf("%d\n", i);
 | 
			
		||||
    --i;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user