QB quicklibrarys with C

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Post Reply
User avatar
The Walrus
Veteran
Posts: 87
Joined: Fri Apr 01, 2005 7:19 am
Location: Denmark
Contact:

QB quicklibrarys with C

Post by The Walrus »

Anyone who knows how to make QB quicklibrarys with C or where I can find a tutorial on this subject? I know it's possible but I don't know how I would do it.. Any help would be greatly appreciated :)
If swimming is so good for your figure, how do you explain walruses?
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

I would like to know too...
Image
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

I did some internet research on the subject :-).

One thing I did know is that you'll need one of these for this task. Microsoft C version 5.10 and QuickC versions 1.01 and 2.00

Here's a PDF that talks about mixed language programming in Basic.
http://web.sau.edu/LillisKevinM/csci240 ... APGC12.pdf

should answer alot of your questions.

EDIT: Pete has, on his site, a smaller document about the subject as well:
http://www.petesqbsite.com/sections/tut ... in_qb.html

Hope this helps
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
The Walrus
Veteran
Posts: 87
Joined: Fri Apr 01, 2005 7:19 am
Location: Denmark
Contact:

Post by The Walrus »

Thanks Mystik, I'll see if I find anything useful in there :P
If swimming is so good for your figure, how do you explain walruses?
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Cool tutor... thanks. I knew I saw that somewhere... I was just to dumb to check here... :oops: :oops: :oops:
Image
User avatar
ShadowWolf
Veteran
Posts: 56
Joined: Thu Mar 04, 2004 1:32 pm
Contact:

Post by ShadowWolf »

your still going to need a 16 bit C compiler. i don't belive you can get away with using DJGPP so your going to have to pick up one of the older Borland Turbo C. or if you can find it Quick C (kind of like QB Same IDE)
User avatar
The Walrus
Veteran
Posts: 87
Joined: Fri Apr 01, 2005 7:19 am
Location: Denmark
Contact:

Post by The Walrus »

I have Turbo C 2.01, that should work :)

Should anyone be interrested Borland has released it for free here: http://community.borland.com/article/im ... /tc201.zip
If swimming is so good for your figure, how do you explain walruses?
User avatar
Michael Calkins
Veteran
Posts: 76
Joined: Tue Apr 05, 2005 8:40 pm
Location: Floresville, Texas
Contact:

Post by Michael Calkins »

I downloaded Turbo C 2.01 about a week ago. Funny coincidence. I have still to make a program that works the way I expect. C syntax is so weird...
Regards,
Michael
Bring on the Maulotaurs! oops...
I like to slay Disciples of D'Sparil...
User avatar
The Walrus
Veteran
Posts: 87
Joined: Fri Apr 01, 2005 7:19 am
Location: Denmark
Contact:

Post by The Walrus »

Yeah, took me a while to get used to it.. But I found a really great tutorial site here: http://www.cprogramming.com/tutorial.html#ctutorial

That helped me quite a lot :)
If swimming is so good for your figure, how do you explain walruses?
User avatar
Kyle
Veteran
Posts: 107
Joined: Thu Apr 14, 2005 2:41 pm

Post by Kyle »

That's a very nice tutorial. Thanks Jacob :)
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Hey! I have been learning C++ there for quite a while. Although it is mainly for C++, I imagine its C tutorials are really good too.
Image
User avatar
Michael Calkins
Veteran
Posts: 76
Joined: Tue Apr 05, 2005 8:40 pm
Location: Floresville, Texas
Contact:

Post by Michael Calkins »

Thanks for the link.
Regards,
Michael
Bring on the Maulotaurs! oops...
I like to slay Disciples of D'Sparil...
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

C is really easy once you understand the fact that you have to be an uptight anal programmer to use it. :D
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Nekrophidius wrote:C is really easy once you understand the fact that you have to be an uptight anal programmer to use it. :D
I am only using/learning it so I can help with some FB stuff and QB.
Image
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

Nekrophidius wrote:C is really easy once you understand the fact that you have to be an uptight anal programmer to use it. :D
ROFLMAO...there's one for the books Nek...lol
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

MystikShadows wrote:
Nekrophidius wrote:C is really easy once you understand the fact that you have to be an uptight anal programmer to use it. :D
ROFLMAO...there's one for the books Nek...lol
Yeah... but you gotta admit, it is kinda... crappy once you have discovered the power, versitality, and ease or FB.
Image
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

Amen to that NAthan :-).
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

C still has a few advantages over FB, but you really only see them if you're an advanced C programmer. Most of us don't code in a way that can't be done quicker in FB...it's a pretty good tradeoff, so there's really no need to go with C if you can accomplish the same tasks in FB.
Post Reply