September 18, 2021, 05:56:51

Author Topic: Understanding c++  (Read 1659 times)

Offline jimbo

  • Jr. Member
  • **
  • Posts: 1
    • Hire a WordPress Expert
Re: Understanding c++
« Reply #15 on: August 13, 2021, 10:21:19 »
The c++ is a good programming language, but I suggest you learn the C language at first, and then go forward to c++.

Offline Baggey

  • Full Member
  • ***
  • Posts: 174
Re: Understanding c++
« Reply #16 on: August 14, 2021, 17:54:14 »
To understand it you need to run it in the first place!

I use Blitzmax_1.5. You run the .EXE. And you start codeing. In the Blitzmax ide. Compile it! and hey presto. You have a program running!

Now Try doing that with C Please dont mention VisualStudio. What a ball acke to get the right down load let alone use it. You need to find files, make them link them. Guess what you need in the first place!  ???

Now, just imagine. BlitzMax_C.

Don't be silly! My god how Cool would that be, Running with SDK 2.0 built in. Just Run the .Exe and just use it. Straight out of the box. I know im being to Practical.

I know it's only a dream!

Kind Regards Baggey
Currently Running a PC that just Aint fast enough!?
ZX Spectrum 48k, NEXT, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip.

Jesus was only famous because of his DAD.

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1275
Re: Understanding c++
« Reply #17 on: August 14, 2021, 21:37:13 »
Quote
  But in saying all of this - if you can get your head around it - c++ is totally amazing, wicked fast. but horrible to begin with...     

My thruppence.  I've coded in 'C' for a bit of a living briefly once.... made a terminal version of space invaders in it to consolidate stuff.  Never got into C++..... I'll see if I can dig out the code for my terminal version of space invaders. Compiling C can be a bit of a game depending on what system your on..... haven't done it for a while.... bit loath to dip my toe back into that 'murky' pond.  Will give it a blast anyway - good luck!!

Oh yeah, did c# for about 8 weeks 7 years ago - that did it for me, went back to fixing planes!

Offline EdzUp

  • Jr. Member
  • **
  • Posts: 98
    • EdzUp
Re: Understanding c++
« Reply #18 on: August 16, 2021, 12:31:18 »
If your serious about C/C++ download Code::Blocks and the latest version of MingW GNU C++ and go through some of the examples provided, ive been coding in C since the "before times" (Turbo C++ 2 and up on MSDOS yes before times (before windows)) and that is my happy place coding in MSDOS was so much easier than coding on Windows is today.

As an example for you in BlitzMax you can call Graphics 1024, 768, 32 to get a graphics window setup ready for you, well http://www.winprog.org/tutorial/simple_window.html this just sets up a basic window without graphics ;)

Offline col

  • Hero Member
  • *****
  • Posts: 590
Re: Understanding c++
« Reply #19 on: August 16, 2021, 15:48:43 »
Quote
As an example for you in BlitzMax you can call Graphics 1024, 768, 32 to get a graphics window setup ready for you, well http://www.winprog.org/tutorial/simple_window.html this just sets up a basic window without graphics

I'm not sure this fits within the difference of languages? :P

BlitzMax does all of that too behind the Graphics command - it has to as its the Windows way of doing things and isn't really so much of a language difference feature. For eg you could easily create a similar Graphics function in c/c++ and hide it all away in the same way as Max2D does.

I'm using c# for UI stuff and c++ for code pretty much exclusively nowadays.

Offline EdzUp

  • Jr. Member
  • **
  • Posts: 98
    • EdzUp
Re: Understanding c++
« Reply #20 on: August 16, 2021, 19:48:00 »
True my example was more as an example of Max allows for rapid application development.

Personally I too use C++ and OpenGL exclusively these days as it feels more like coding to me, writing games in Unity feels like scripting than coding and doesn't feel right.
« Last Edit: August 16, 2021, 20:12:11 by EdzUp »

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 777
  • Bonjour
Re: Understanding c++
« Reply #21 on: August 26, 2021, 22:07:17 »
I feel the same coding in AGK in that it is pretty easy anybody can do it , or can they. It's taken me about 3 years to get comfortable with AGK and am still picking up new things as I go along . TGC say anybody can program in AGK and it is easy and it is once you've been at it a few years . Maybe I'm just a slow learner . Anyway I looked at that code for opening a window and it is pretty lengthy. I think if AGK was taken away from me my next port of call would be PureBasic . 
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal