First Upload

This commit is contained in:
2022-02-25 15:33:16 +02:00
commit 0c74d10f0d
295 changed files with 74784 additions and 0 deletions

33
9/ex2.c Normal file
View File

@@ -0,0 +1,33 @@
#include "IdanStringLib.h"
#include "IdanLib.h"
#include <stdio.h>
#define STRING_MAX_SIZE 256
//---------------------------------------------------------------------------------------
// Exercise 2
// ----------
//
// General : The program checks if the string is a good equation.
//
// Input : String.
//
// Process : The program checks how many times a barcket '(' and a bracket ')' is in the
// string and if the first one is a closer.
//
// Output : If the equation is ok.
//
//---------------------------------------------------------------------------------------
// Programmer : Cohen Idan
// Student No : 211675038
// Date : 04.11.2019
//---------------------------------------------------------------------------------------
void main(void)
{
typedef char string[STRING_MAX_SIZE];
string str1 = "";
ValidParenthesesTemplate(str1);
}