Α επιπλέων η C# είναι ίδια με την C?
Ευχαριστώ





Συντονιστής: konnn
έγραψε:Α επιπλέων η C# είναι ίδια με την C?
pc_magas έγραψε:Στο τει όπου πάω μαθαίνουμε την C και θέλω ένα καλό εργαλιάκι για τισ ασκήσεις και τις εργασίες μήπςσ ξερετε κανένα. Βασικά για Compiler ή ολόκληρο προγραμματιστικο περιβάλλον ψάχνω. Ακόμα αν μοθ πείτε που θα τα βρω για εγκατάσταση και πως θα τα εγκαταστήσω καλό θα ταν.
Α επιπλέων η C# είναι ίδια με την C?
sudo apt-get install build-essential
#include <stdio.h>
int main(void)
{
printf("Γεια σου Κόσμε!\n");
return 0;
}
gcc -o helloworld helloworld.c
./helloworld
pc_magas έγραψε:Ακόμα μετά από την # include <stdio.h> μπορώ να βάλω καί άλλες include γιατί η stdio.h από την κατάληξη είναι μια βιβλιοθήκη ε?
#include <stdio.h>
#include "path_to_my_header_file.h"
Nisok έγραψε:
Όχι είνα ένα sdk της MS που από όσο ξέρω απευθύνεται σε διαδικτιακές εφαρμογές. Το αντίστοιχο στο linux είναι το ΜΟΝΟ.
#include <stdio.h>
int main(void)
{cons int a=2;
int x=3;
float z=9.1;
double a_a=2.91992;
char xar='Οι μεταβλητές είναι:';
printf("%c\n'Ακαιρεες':\n%d\n%d\n'Πραγματικοι:'\n%f\n%lf\n ",xar,a,x,z,a_a);
return 0;
}
/home/dimitris/Desktop/new.c: In function ‘main’:
/home/dimitris/Desktop/new.c:3: error: ‘cons’ undeclared (first use in this function)
/home/dimitris/Desktop/new.c:3: error: (Each undeclared identifier is reported only once
/home/dimitris/Desktop/new.c:3: error: for each function it appears in.)
/home/dimitris/Desktop/new.c:3: error: expected ‘;’ before ‘int’
/home/dimitris/Desktop/new.c:7:10: warning: character constant too long for its type
/home/dimitris/Desktop/new.c:7: warning: overflow in implicit constant conversion
/home/dimitrisα/Desktop/new.c:8: error: ‘a’ undeclared (first use in this function)