Posts: 34
Threads: 4
Joined: Apr 2022
Reputation:
0
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.
Posts: 205
Threads: 13
Joined: Apr 2022
Reputation:
50
04-10-2024, 04:25 PM
(This post was last modified: 04-10-2024, 04:33 PM by RhoSigma.)
(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/
Posts: 1,000
Threads: 50
Joined: May 2022
Reputation:
27
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
Posts: 34
Threads: 4
Joined: Apr 2022
Reputation:
0
04-10-2024, 07:40 PM
(This post was last modified: 04-10-2024, 07:42 PM by Tim.)
(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++.
Posts: 1,000
Threads: 50
Joined: May 2022
Reputation:
27
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. . .
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!
Posts: 205
Threads: 13
Joined: Apr 2022
Reputation:
50
(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.
Posts: 59
Threads: 8
Joined: Apr 2022
Reputation:
5
(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.
It's not the having, it's the doing.
Posts: 46
Threads: 7
Joined: Apr 2022
Reputation:
2
Posts: 34
Threads: 4
Joined: Apr 2022
Reputation:
0
04-12-2024, 07:54 AM
(This post was last modified: 04-12-2024, 07:59 AM by Tim.)
(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.
Thanks. I do have that book. And the one below. I am working through the one that you pictured currently.
|