🏄♂️
This file contains 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
// Example program | |
#include <iostream> | |
using namespace std; | |
struct Interval{ | |
double stanga, dreapta; //extremele intervalului | |
}; | |
int max(int a,int b) | |
{ |
This file contains 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 "mainwindow.h" | |
#include <QtWidgets\QTextEdit> | |
#include <QtWidgets\QPushButton> | |
#include <QVBoxLayout> | |
#include <stdio.h> | |
MainWindow::MainWindow(QWidget *parent) | |
: QMainWindow(parent) | |
{ | |
ui.setupUi(this); |
This file contains 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 "mainwindow.h" | |
#include <QtWidgets\QTextEdit> | |
#include <QtWidgets\QPushButton> | |
#include <QVBoxLayout> | |
#include <stdio.h> | |
MainWindow::MainWindow(QWidget *parent) | |
: QMainWindow(parent) | |
{ | |
ui.setupUi(this); |
This file contains 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 "mainwindow.h" | |
#include <QtWidgets\QTextEdit> | |
#include <QtWidgets\QPushButton> | |
#include <QVBoxLayout> | |
#include <stdio.h> | |
MainWindow::MainWindow(QWidget *parent) | |
: QMainWindow(parent) | |
{ | |
ui.setupUi(this); |
This file contains 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
package com.bolnizar.sda; | |
/** | |
* Created by Paul on 5/28/2016. | |
*/ | |
public class Iterator { | |
private Dictionary mDictionary; | |
public Iterator(Dictionary dictionary) { | |
mDictionary = dictionary; |
This file contains 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
package com.bolnizar.sda; | |
/** | |
* Created by Paul on 5/28/2016. | |
*/ | |
public class Dictionary { | |
enum Order { | |
ASCENDING, | |
DESCENDING | |
} |
This file contains 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
// invat_pt_scris.cpp : Defines the entry point for the console application. | |
// | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <assert.h> | |
using namespace std; | |
class DuplicatedIDException { | |
private: |
This file contains 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
// invat_pt_scris.cpp : Defines the entry point for the console application. | |
// | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <assert.h> | |
template <class T> | |
class grades | |
{ |
This file contains 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
// invat_pt_scris.cpp : Defines the entry point for the console application. | |
// | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <assert.h> | |
template <class T> | |
class grades | |
{ |
This file contains 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
// invat_pt_scris.cpp : Defines the entry point for the console application. | |
// | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <assert.h> | |
template <class T> | |
class grades | |
{ |
OlderNewer