Search found 5 matches

by mihaineken
01 Sep 2017, 17:32
Forum: Limbajul C++
Topic: Lista Liniara Simplu Inlantuita
Replies: 1
Views: 2139

Re: Lista Liniara Simplu Inlantuita

Inlocuieste in codul tau : void AddFront(NODE *new_node) { if (isEmpty()) head = temp = new_node; // <--- else { new_node->SetNext(head); head = new_node; } temp->SetNext(NULL); } void AddEnd(NODE *new_node) { if (isEmpty()) head = temp = new_node; else { NODE *temp = head; while (temp->GetNext() !=...
by mihaineken
14 Jul 2017, 16:49
Forum: Limbajul C++
Topic: Proiect Exoschelet, cautam Programator C cu XP
Replies: 2
Views: 2536

Re: Proiect Exoschelet, cautam Programator C cu XP

Ce microcontroller folositi ?
by mihaineken
14 Jul 2017, 16:40
Forum: Limbajul C++
Topic: am o problema C++
Replies: 3
Views: 2948

Re: am o problema C++

#include <iostream> #include <iomanip> #include <string> #include <vector> using namespace std; int getNum(char &c) { switch (c) { case 65: return 1; case 74: return 1; case 83: return 1; case 66: return 2; case 75: return 2; case 84: return 2; case 67: return 3; case 76: return 3; case 85: return ...
by mihaineken
14 Jul 2017, 16:35
Forum: Limbajul C++
Topic: am o problema C++
Replies: 3
Views: 2948

Re: am o problema C++

Mai jos gasesti varianta mea.