OMG... Why Does C++ suck soo much?

punkrawket

Golden Member
Oct 6, 2001
1,924
0
0
OMG... Why Does C++ suck soo much?

ARGGGG... I hate C++. I just don't get it... and thus when I have to make programs I get sooo pissed off I have to leave... I just have to get away. Some of the stuff I've had to do is ok... but this latest assignment is just crap... most the other guys in my class are like "I'm a h0m0... can I do it this way because I think it's better that way?"... grrr I hate them. I wish we could learn other languages... something other than C freaking ++.

Ok... I'm done ranting for now.
I feel kinda better now.
 

atom

Diamond Member
Oct 18, 1999
4,722
1
0
#include<iostream>
using namespace std;
int main()
{
cout<<"Ur a h0m0........."<<endl;
return 0;
}





J/K I've been there.:)

Better C++ than some other language like Awk or Prolog.
 

Spamela

Diamond Member
Oct 30, 2000
3,859
0
76
c++ can take a long time to master (i've been doing it on & off for 12 years), but it's my first choice when speed & rapid development are required.
 

punkrawket

Golden Member
Oct 6, 2001
1,924
0
0


<< what are you having problems with? >>

Ok.......

(for assignment 1) I had to write a program which represents a set as a zero-one integer array. The user of the program will be prmpted to type in one set, from the keyboard, in a certain way (i.e. capitol letter first, then =, then {... etc). The program checks if it's in the correct way... if it is then the program prints out the set with the letters inside in alphabetical order.... This program is done and works.

(for assignment 2 the one I'm doing now) I have to modify the program to place the set implementation inside an object, for part A. And for part B i have to modify program A to handle up to 10 sets, each set being represneted as a single object.
 

Sestar

Senior member
Dec 26, 2001
316
0
0
Yeah, C++ is a pain to get, I am still trying to figure it out. I do not know what it is, it just makes no sense to me. Java, VB.NET, C#, are fine, just not C++.
 

punkrawket

Golden Member
Oct 6, 2001
1,924
0
0


<< Yeah, C++ is a pain to get, I am still trying to figure it out. I do not know what it is, it just makes no sense to me. Java, VB.NET, C#, are fine, just not C++. >>

exactly..... I don't know what it is... but there's just something about C++
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0


<<

<< Yeah, C++ is a pain to get, I am still trying to figure it out. I do not know what it is, it just makes no sense to me. Java, VB.NET, C#, are fine, just not C++. >>

exactly..... I don't know what it is... but there's just something about C++
>>




maybe it's because it wasn't your first language? i learned C then C++ and it all made sense to me...
 

punkrawket

Golden Member
Oct 6, 2001
1,924
0
0


<< maybe it's because it wasn't your first language? i learned C then C++ and it all made sense to me... >>

could be... but what is even more whack.... is that when I talk to a counselor or my professor about me and not liking/understandly C++ they all suggest I change my major from Computer Science Engineering to Computer Science Engineering Technology..... I don't understand their reasoning.... sure there is a good amount of CSE majors that go off and program... but not all.... I don't know.... I'm still not switching.... I may change schools... (this wouldn't exactly be my reasoning why though)
 

slunk

Golden Member
Feb 2, 2000
1,325
0
0


<< #include<iostream>
using namespace std;
int main()
{
cout<<"Ur a h0m0........."<<endl;
return 0;
}





J/K I've been there.:)

Better C++ than some other language like Awk or Prolog.
>>

You're quite immature!
 

FatAlbo

Golden Member
May 11, 2000
1,423
0
0
If you don't like programming but still want to be in the field, then there's always theory, assuming you're good with math theory. You can spend the rest of your life trying to solve an NP-hard problem in better than polynomial time.

CSE is definitely not all about programming, as I've learned in my first few quarters in the department. Good luck with whatever decision you make.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0


<< but it's my first choice when speed & rapid development are required. >>



There's something I've never heard before; rapid development in C++ :)



<< Yeah, C++ is a pain to get, I am still trying to figure it out. I do not know what it is, it just makes no sense to me. Java, VB.NET, C#, are fine, just not C++. >>



You can easily grasp Java and C# but not C++? That seems rather strange if you ask me. Syntactically, they're similar. C# shares many of the same OO qualities as C++ (polymorphism through virtual, for instance). Is it pointers that hang you up? Pointers are easy for some people, almost impossible for others. Take out the pointers in C++, and how is it difficult?
 

XZeroII

Lifer
Jun 30, 2001
12,572
0
0
Don't learn Java. It's just C++ with some stupid stuff added to it and good stuff taken out.
 

GermyBoy

Banned
Jun 5, 2001
3,524
0
0
The only problem with C++ is that it is so big. I make some cool programs and they use maybe 10% of C++'s power, where they use 90% of C's power, and 900% of Fortrans. LOL
 

gogeeta13

Diamond Member
Dec 31, 2000
5,721
0
0


<< Don't learn Java. It's just C++ with some stupid stuff added to it and good stuff taken out. >>



wow, you dont know what you are talking about

java is module based, like VB
 

kaesile

Senior member
Mar 3, 2002
268
0
0
I'm not a great programmer, but I can muddle my way through. However, I think one of the reasons why so many people dislike C++ is the way that it's taught - in my experience, professors teach syntax but absolutely NOTHING about logic, algorithms, or anything like that. It's true that much of this should be developed by the student, but a little help would be nice!

And don't get me started on assembly! I learned programming on C++, so I'm used to high-level languages. Having to write even simple stuff in assembly takes SO much longer. The professor isn't much help - all he does is teach the stupid instruction set. 'This instruction does this... This instruction does this...' Stuff you can get out of the manual. It'd be much better if he taught a bit of algorithm analysis or something.

'Course, my current dislike might be stemming from the fact that I just had three exams last week, two of which were in C++ and assembly - and I'm not even a CS major!
 

RaynorWolfcastle

Diamond Member
Feb 8, 2001
8,968
16
81
C++ isn't so bad... I am learning the language in an intro class this semester and it does not seem to be that bad. Then again, I had some programming experience to start with.

Don't give up, I'm sure once you get more familiar with it you won't find it so bad. :)

-Ice
 

Sir Fredrick

Guest
Oct 14, 1999
4,375
0
0


<<

<< but it's my first choice when speed & rapid development are required. >>



There's something I've never heard before; rapid development in C++ :)
>>



Actually if you're just experimenting with algorithms and don't need a GUI, C++ is great for rapid development. Of course, MATLAB is probalby even better, especially if what you're doing involves matrices.
 

TonyG

Platinum Member
Feb 12, 2000
2,021
2
81
I am taking C++ this year in highschool. Being my first programming language I think it probably makes more sense, but it still doesn't make a lot of sense though I get most of it so far.
 

Sir Fredrick

Guest
Oct 14, 1999
4,375
0
0


<< I think C++ is great ;) >>



Me too, it's my language of choice. I agree with others that it is often poorly taught, however.

Also, at times it is also almost too powerful, and it's lack of restrictions often allows you to shoot yourself in the foot.

But if you think it sucks, it's probably just because you don't understand it...it's a good, powerful and fast language.

edit: those saying that not learning it as a first language makes it harder are wrong, IMO. Before ever seeing C++ code, I messed with several versions of BASIC, COBOL, Visual Basic, Java and Perl. While learning C++ I also played with LISP and FORTRAN. I have a better understanding of C++ than any of those other languages.