+ 5
Can u guys tell me,is C and C++ is same?I want to creat games so what must i chose
4 Réponses
+ 2
c is different from c++
i don't know much about these both languages so i will give the basics
for example: the header
the header of c is <stdio.h>
the header of c++ is <iostream>
the output function:
the output function of c is printf
the output function of c++ is cout
input function:
the input function of c is getchar
the input function of c++ is cin
and c has the return 0 function where as c++ does not
and so on
but there are some similarities too
in both languages, you have to put a semicolon at the end of a sentence with a few exeptional sentences
and so on
try the c and c++ tutorial to know more
as you have given the options of javascript, c++, java and c for the second question, i would tell javascript is the best language for creating games
+ 1
C and C++ are different: https://www.sololearn.com/Discuss/1090171/what-is-the-difference-between-c-and-c
For games choose C++. There are a lot of game engines libraries in C++.
0
c++ = c with some more syntax and some more header files and some more function and more efficiency
the idea is somewhat same as
A
A++