Cahos Rahne Veloza
#21
I'm not really sure if this should go here, but what the heck.
Forum archive
#include <stdio.h>
int main()
{
char abc[20];
puts("type anything");
gets(abc);
printf("%s",abc);
return(0);
}
ill type what this is about later.
cos im not bothered right now.Anandjonesnomercy not necessarily. You will get stuck on C for a while if you learn that first and then switch to C++, the reason being similar to the "bad habits are hard to break" deal. You'll get used to using different aspects in one language, which then would usually result in errors on the other source when it comes to it (.c,.cpp etc.). I wouldn't call it an 'extension' either. And yes, C++ would be worse in terms of speed and size (binary execution, compiling etc.). Also, C++ has OOP :P And classes.Brainfuck is the shit :PLook up on how classes are implemented in C++. You'll find something with structs and a this pointer.Starting with C++ when you don't know how to use classes or use C is just asking for errors everywhere.C++ is not necessarily slower. It's still C, with classes. If you don't put your code in a class, then it can be just as fast as C.Go Whitespace!