Forum rules: Forum rule Nº 15 is strictly enforced in this subforum.
#77552 by m0skit0
Fri Jun 10, 2011 7:18 pm
angelic_sedition wrote:Is c better for psp than c++?

What do you mean by "better"?
Advertising
#77563 by angelic_sedition
Fri Jun 10, 2011 8:11 pm
Are there advantages of using c as opposed to c++ or are they used for different things or does it not matter or? :oops:
Advertising
#77573 by m0skit0
Fri Jun 10, 2011 9:10 pm
(Almost) Every programming programming language has pros and cons. Specifically C and C++ are quite different despite the name. C is imperative while C++ is object-oriented. They're two different worlds of programming, but each has good and bad sides.
#77579 by ASKidwai
Fri Jun 10, 2011 9:24 pm
m0skit0 wrote:(Almost) Every programming programming language has pros and cons. Specifically C and C++ are quite different despite the name. C is imperative while C++ is object-oriented. They're two different worlds of programming, but each has good and bad sides.

Adding to this explanation, people recommend learning C before C++
#77960 by TiPi
Sun Jun 12, 2011 3:03 pm
Howto wrote:can i proggram in my language? i mean Greek...

Well you can define instructions to do so.
Example:

Code: Select all#include <stdio.h>
#define ihaz int
#define showmeh printf
#define gimmegimme scanf
#define kbbai return
#define iz if
#define iznah else
#define areustilltherelol getch
ihaz main(){
ihaz agepl0x;
gimmegimme("%d", &agepl0x);
iz(agepl0x < 18){
          showmeh("PAEDO!!!!");
}
iznah{
          showmeh("KK");
}
areustilltherelol();     
kbbai 0;
}


You can change all words to w/e you want, so yeah, you CAN code in greek..if you define all instructions you need first. :P
#78031 by Howto
Sun Jun 12, 2011 9:20 pm
either i didnt explained well my question, either i didnt understand your answers... i asked: can i write a proggram in my language(that is Greek)? i mean is English the only language that you can write a proggram?
#78033 by ultimakillz
Sun Jun 12, 2011 9:36 pm
as TiPi and m0skit0 said, you can use define instructions to change certain words (other than the reserved words m0skit0 linked to), but you can code all the variable names, output, comments, etc. in your native language as those do not matter to the computer. only reserved words must be in english, all others can be in any language you like.

for example:
Code: Select allint main()
{
    //εξόδου γειά ελληνικού κόσμου στην οθόνη.
    printf("γειά σου κόσμος στα ελληνικά!");
    return 0;
}


i used google translate for the greek, so meh :lol:

Who is online

Users browsing this forum: No registered users and 3 guests