Author Topic: Another question - QB64 and C  (Read 3248 times)

0 Members and 1 Guest are viewing this topic.

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Another question - QB64 and C
« on: October 06, 2020, 03:46:23 pm »
First: Why my question has been removed? Is QuickBasic an enemy now?

Second: Can one call a C-function from QB64?
I have all variations tested, everything I could thought of and all are failed.
It worked at that time.

Code: QB64: [Select]
  1. 'Gemischtsprachiges Programm, 14. Okt. 1994
  2. 'Dieses Basic-Programm ruft eine Funktion (mit Rückgabe)
  3. 'in einem QuickC-Programm auf.
  4.  
  5.  
  6.  
  7. LOCATE 3, 3
  8. INPUT "Fibonacci-Zahl von ( n ): ", X
  9. LOCATE 5, 3
  10. PRINT USING "Die Fibonacci-Zahl von ## ist  : ###.###"; X; fibo&(X)
  11. LOCATE 8, 3
  12. PRINT USING "... und die Fakult„t von ## ist: ###.###"; X; bfakultaet%(X)
  13.  
  14.  
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

FellippeHeitor

  • Guest
Re: Another question - QB64 and C
« Reply #1 on: October 06, 2020, 03:49:07 pm »
If you're talking about the VirtualBox topic, it has been moved to off-topic: https://www.qb64.org/forum/index.php?topic=3092.0 - it mentions qbasic but it's discussing VirtualBox.

Offline Kernelpanic

  • Newbie
  • Posts: 94
    • View Profile
Re: Another question - QB64 and C
« Reply #2 on: October 06, 2020, 04:19:22 pm »
Na, ok. And, can one call a C-function from QB64?
Mark Twain
"Als wir das Ziel endgültig aus den Augen verloren hatten, verdoppelten wir unsere Anstrengungen."
„Having lost sight of our goals, we redoubled our efforts.“

Offline jack

  • Seasoned Forum Regular
  • Posts: 408
    • View Profile