Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How is QB64 written?
#11
In light of this discussion, if I were to want to learn C, can any of you recommend an online Tutorial -- or other source -- for it? Preferably without being loaded with advertising and pop-ups. Something like Terry's tutorial would be great.
Reply
#12
(04-10-2024, 03:56 PM)Tim Wrote: In light of this discussion, if I were to want to learn C, can any of you recommend an online Tutorial -- or other source -- for it? Preferably without being loaded with advertising and pop-ups. Something like Terry's tutorial would be great.

https://legacy.cplusplus.com/doc/tutorial/

or

https://en.cppreference.com/w/
Reply
#13
Quote:So, would it be helpful to learn C in order to better understand and/or contribute to QB64PE?
I can only advise you not to start with “C” now. Both together go wrong. Since you started with Basic, you should stick with it until the basics are learned. After that you can still try "C", but not both together as a beginner. 

See an example here:  https://qb64phoenix.com/forum/showthread...586&page=2
Reply
#14
(04-10-2024, 04:37 PM)Kernelpanic Wrote:
Quote:So, would it be helpful to learn C in order to better understand and/or contribute to QB64PE?
I can only advise you not to start with “C” now. Both together go wrong. Since you started with Basic, you should stick with it until the basics are learned. After that you can still try "C", but not both together as a beginner. 

See an example here:  https://qb64phoenix.com/forum/showthread...586&page=2
I had already installed Code::Blocks, so I ran your code after pasting it in and it worked well. Thanks. And, ya, I am kind of stubborn this way, so I will probably start working on C at the same time as QB64PE. I got 100 pages into a C book some time ago, so it is not too confusing to me (yet). Right now I am trying to find a more modern tutorial for C, since the book I had at the time was printed in about 1992 or so.

(04-10-2024, 04:25 PM)RhoSigma Wrote:
(04-10-2024, 03:56 PM)Tim Wrote: In light of this discussion, if I were to want to learn C, can any of you recommend an online Tutorial -- or other source -- for it? Preferably without being loaded with advertising and pop-ups. Something like Terry's tutorial would be great.

https://legacy.cplusplus.com/doc/tutorial/

or

https://en.cppreference.com/w/
Something like that would be great, but for C, not C++.
Reply
#15
Quote:@Tim -  And, ya, I am kind of stubborn this way, so I will probably start working on C at the same time as QB64PE.
Well, whoever is looking for the pot of gold at the end of the rainbow. . .  Rolleyes

Try to find the relevant literature here: https://www.pdfdrive.com/fundamentals-of...25361.html

And here is a book directly: Fundamentals in C

Good luck!
Reply
#16
(04-10-2024, 07:40 PM)Tim Wrote:
(04-10-2024, 04:37 PM)Kernelpanic Wrote:
Quote:So, would it be helpful to learn C in order to better understand and/or contribute to QB64PE?
I can only advise you not to start with “C” now. Both together go wrong. Since you started with Basic, you should stick with it until the basics are learned. After that you can still try "C", but not both together as a beginner. 

See an example here:  https://qb64phoenix.com/forum/showthread...586&page=2
I had already installed Code::Blocks, so I ran your code after pasting it in and it worked well. Thanks. And, ya, I am kind of stubborn this way, so I will probably start working on C at the same time as QB64PE. I got 100 pages into a C book some time ago, so it is not too confusing to me (yet). Right now I am trying to find a more modern tutorial for C, since the book I had at the time was printed in about 1992 or so.

(04-10-2024, 04:25 PM)RhoSigma Wrote:
(04-10-2024, 03:56 PM)Tim Wrote: In light of this discussion, if I were to want to learn C, can any of you recommend an online Tutorial -- or other source -- for it? Preferably without being loaded with advertising and pop-ups. Something like Terry's tutorial would be great.

https://legacy.cplusplus.com/doc/tutorial/

or

https://en.cppreference.com/w/
Something like that would be great, but for C, not C++.

Follow the second link and scroll down or use this https://en.cppreference.com/w/c

BTW - C and C++ are almost similar in its basics, the complicated stuff in C++ comes with OOP using classes, templates and stuff like that.
Reply
#17
(04-10-2024, 07:40 PM)Tim Wrote: I had already installed Code::Blocks, so I ran your code after pasting it in and it worked well. Thanks. And, ya, I am kind of stubborn this way, so I will probably start working on C at the same time as QB64PE. I got 100 pages into a C book some time ago, so it is not too confusing to me (yet). Right now I am trying to find a more modern tutorial for C, since the book I had at the time was printed in about 1992 or so.

The basics of C are nearly the same now as they have always been. It's the extras that are more complex, but it really depends on which platform you are working with. C on a Linux box is a bit different than C in a Windows environment. It also matters which C standard you want to use.

I learned C from this book. I still have a copy and refer to it regularly when I am playing in the C universe.

[Image: 513df0de95095686bf1af602ea32357f-757705751.png]
It's not the having, it's the doing.
Reply
#18
Modern C
Reply
#19
(04-12-2024, 12:41 AM)bobalooie Wrote:
(04-10-2024, 07:40 PM)Tim Wrote: I had already installed Code::Blocks, so I ran your code after pasting it in and it worked well. Thanks. And, ya, I am kind of stubborn this way, so I will probably start working on C at the same time as QB64PE. I got 100 pages into a C book some time ago, so it is not too confusing to me (yet). Right now I am trying to find a more modern tutorial for C, since the book I had at the time was printed in about 1992 or so.

The basics of C are nearly the same now as they have always been. It's the extras that are more complex, but it really depends on which platform you are working with. C on a Linux box is a bit different than C in a Windows environment. It also matters which C standard you want to use.
I learned C from this book. I still have a copy and refer to it regularly when I am playing in the C universe.
[Image: 513df0de95095686bf1af602ea32357f-757705751.png]
Thanks. I do have that book. And the one below. I am working through the one that you pictured currently.
[Image: 51yoz4l-WMa-L-SX342-SY445.jpg]
Reply




Users browsing this thread: 1 Guest(s)