Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ Music(not mine)
#41
rel, if you want to learn then you are better off using TurboC++. It has help and everything. Its IDE is very good as well and compiles fast.
Reply
#42
...And it's really, really old. I tried using it, here's what I found:
-Supported tons and tons of deprecated non-ANSI stuff.
-Didn't support the namespace clause.
-Didn't support the string class.
I'm C now, but I knew enough C++ back then to know that I was seeing some crap.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#43
yesm thats true. But rel did say that he wanted to learn. A newbie can very well do without some of the latest features. Besides its greatest advantage is its help. You can refer to any command, any header, any runtime error. It has a very well documented help.
Reply
#44
If Rel wants to learn C++ or C, you should start with true ANSI C++, using a modern compiler, not one that was made in 1993.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#45
It doesnt make a difference. The basics are the same :rotfl:
Reply
#46
Not really.
Modern ANSI code:
Code:
#include <iostream>
using namespace std;
int main (int argv, char *argc[]) {
cout << "Hello, world.";
return 0;
}
And what TC++ would like:
Code:
#include <iostream.h>
void main() {
cout << "Hello, world.";
}
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#47
Thats a matter of syntax, not of concepts. The concepts wont change if you use TC++/MingW/GCC/DJGPP.
Reply
#48
I'm talking about ANSI. ANSI standard suggests using namespaces to prevent clashes of classes.
And new books on C++ won't teach main() returning void. If Rel gets a book on C++, he should get one published later than 2000, certainly not 1993.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#49
With as much as people bitch and whine about ANSI-compatability, cross-platform compatability, and other such generic mommery, rarely do I see anyone actually take advantage of said features. I think people should just STFU and code in whatever they feel comfortable coding in and stop being so freakin' zealous about "features" that barely anyone uses anyways.
I'd knock on wood, but my desk is particle board.
Reply
#50
Zack, your code is wrong.
The only difference would be the lack of a namespace and a .h at the end of the include eg
Valid TC Code:

Code:
#include <iostream.h>
int main (int argv, char *argc[]) {
cout << "Hello, world.";
return 0;
}


Quote:-Supported tons and tons of deprecated non-ANSI stuff.
-Didn't support the namespace clause.
-Didn't support the string class.

Pros
+Has the best damn documentation ever seen in a C compiler. I found it better than even qbasic's.
+Very Similar IDE to qbasic
+Can be intregrated with qbasic.


He said he wanted to learn C. How does namespaces and the string class aid in learning C? (The STL isnt even available on many platforms, and in the old days you had to write your own string class)

I liked coding in TC++, and i dont see a problem with using it. If you do, why are you hanging around a qbasic forum? Go learn VB, Qbasic doesnt support windows apps you should start with the latest version, not use software that was written pre 1993.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)