zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Dec 31, 2008 9:02:33 GMT -5
You are welcome . I've been coding using basic4gl and think it's great . But I'm always wanting to code in C++ . I have CODEBLOCK and gcc , and what's next ?? How to start with it ?? Is gcc a compiler ?? I'd like to make my own plugin using CodeBlock , but I've to start knowing how to use it . Can anyone kindly give me some good CodeBlock tutorials ?? ;D ;D My wikispace : gl-home.wikispaces.com
|
|
|
Post by bodach on Jan 22, 2009 9:16:16 GMT -5
I find 4gl fascinating but I am finding it difficult after normal basic. But ,I am a stubborn cuss. Can anyone reccomend any good books on it ?
|
|
|
Post by andrian on Jan 25, 2009 8:38:58 GMT -5
The one thing I don't like about C++ that b4gl has is that with C++, the language is so old that it has started to evolve into separate compiler-based dialects.
Code which works in dev-c++ may need to be tweaked before it will run in Code:Blocks or Visual Studio. Then there's Microsoft turning everything into its own little "Agent Smith" version known as .NET which further adds to the confusion.
In addition, if you try to install libraries, you have to configure your compiler (which of course is a different process depending on which compiler you have) to recognize its existence and then, well, you get the picture. I like b4gl and other BASIC derivatives because I can just code the program in its native compiler and run it. And yet no one has yet made a BASIC that does everything C++ does. *sigh*
Porgramming: Can't live with it - can't live without it.
|
|
|
Post by Darkjester on Jan 25, 2009 14:43:19 GMT -5
You have to remember andrian that c++ has its own guidelines, and it wont be considered c++ if it doesnt follow those guidelines, each compiler must be able to compile code to those guidelines if not then well i wouldnt be using that compiler lolz. Happy coding
-Darkjester
|
|
|
Post by andrian on Jan 25, 2009 16:42:40 GMT -5
True, but I have run into problems like that, usually involving namespace std. And while each may compile to the guidelines, not all of them compile identically. For example, in Dev C++, I must code a system pause at the end of my programs, while in MS Visual C++ 6, the pause was automatically added at runtime. (Or compilation, I'm not quite sure which.)
My point is that I prefer BASIC dialects because each one is specialized to a specific purpose and each one has its own compiler and IDE which are exclusive to that dialect, which of course means that i don't have to learn compiler and IDE specific stuff to get the same code to run on two different machines.
Anyway, kudos to Tom. This language is so good I can't seem to grow out of it. I've been wanting to go on to something a bit more grown-up like C++, or maybe just something different like prolog, but I'm just stuck on this language. I wish it was object-oriented (though I can simulate that fairly well now that we have subs and functions) and could make web applications so I would never have to use anything else. It's just too easy!
|
|
|
Post by Wayne Rayner on Feb 3, 2009 22:17:29 GMT -5
Well look at it this way this debate is about ppl who use different Programming languages and their point about it so it is really about wat programing language each person likes and their point of veiw on it so yea i think b4GL is the best programing Language i've used where as smc probablly likes c++ so thats my veiw of this thread and also b4GL is so easy to use i will probably only use it.
-Wayne
|
|
|
Post by shadow008 on Feb 11, 2009 12:00:48 GMT -5
Roooaarrrr.. I cannot find a c++ compiler. I want to see if its worth the time to learn. ive heard that c# is much better for running graphics and is slightly easier to learn but.....
|
|
|
Post by Darkjester on Feb 11, 2009 15:53:27 GMT -5
thing about c++ is its quite a bit more complicated to do anything along the lines of making graghics programming. Yes its very efficient for that. but do you have the skills required to make the move to a more complex language? Id recomend Codeblocks and gcc compiler. unless you wanna go through all hte space eating, and time consuming setup with ms vc# or vc++ compiler
-Josh
|
|
|
Post by Nicky Peter Hollyoake on Feb 11, 2009 18:02:59 GMT -5
If you ain't got much experience in programming C++ ain't the langauge for you. I remember when I started prorgamming I done about 1 and a half year on Basic4GL and tried C++ - failed miserable. Around 3 years of Basic4gl I had another attempt and was determined to not give up, and few months later I'm at it like nothing. - Nicky
|
|
|
Post by smc44 on Feb 11, 2009 22:12:30 GMT -5
Yup nicky same for me, i tryed C++ when i first started programming, things were very very confusing and frustrating, then i used basic4gl for a while and it help me grasp some of the programming concepts, when the grasp of that i was able to understand C++ much easier
|
|
|
Post by shadow008 on Apr 17, 2009 11:00:15 GMT -5
back to this forum. That still doesnt answer my question. where would you get a good C++ compiler, without using code::blocks (it fails miserably) is there any good download site ... that is free
|
|
|
Post by twasik4 on Apr 17, 2009 11:33:20 GMT -5
shadow you fail epically... i told you about C++ 2008 epress and C# 2008 express.. instead of going behind my back and asking everyone what a good compiler is why don't you at least google information on the answer i gave you. and if we can't get a good non-laggy game in basic4gl we ARE switching to C++
|
|
|
Post by matthew on Apr 17, 2009 13:25:58 GMT -5
back to this forum. That still doesnt answer my question. where would you get a good C++ compiler, without using code::blocks (it fails miserably) is there any good download site ... that is free Code::Blocks isn't a C++ compiler, it's an IDE & it doesn't fail miserably because I use it almost everyday & it works fine. If you don't like Code::Blocks use Dev-C++, wxDev-C++, MSVC 2005 Express, MSVC 2008 Express, Pelles C or install the MinGW compiler & try compiling from the Command Line...
|
|
|
Post by UNDISCLOSED on Apr 17, 2009 14:01:24 GMT -5
Pelles C is the best C compiler i have seen, but it does not do C++
|
|
|
Post by dw817 on Apr 17, 2009 15:36:38 GMT -5
Now that functions and procedures (subs) are avail with local vars to boot, I can actually write some intelligent code rm3 and g2009. I'll be here to stay, and will be glad to help others who need help in coding BASIC, not C++ or its derivatives.
|
|