QB64 Phoenix Edition
How is QB64 written? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7)
+---- Thread: How is QB64 written? (/showthread.php?tid=2587)

Pages: 1 2


RE: How is QB64 written? - Tim - 04-10-2024

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.


RE: How is QB64 written? - RhoSigma - 04-10-2024

(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/


RE: How is QB64 written? - Kernelpanic - 04-10-2024

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.php?tid=2586&page=2


RE: How is QB64 written? - Tim - 04-10-2024

(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.php?tid=2586&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++.


RE: How is QB64 written? - Kernelpanic - 04-10-2024

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-computer-programming-with-c-e18925361.html

And here is a book directly: Fundamentals in C

Good luck!


RE: How is QB64 written? - RhoSigma - 04-10-2024

(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.php?tid=2586&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.


RE: How is QB64 written? - bobalooie - 04-12-2024

(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]


RE: How is QB64 written? - BSpinoza - 04-12-2024

Modern C


RE: How is QB64 written? - Tim - 04-12-2024

(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]