Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo,

ich wollte dieses kleine Beispielprogramm

#include <graphics.h> //Das ist die Grafikunit

#include <conio.h> //Benötigt man für getch()

void main ()

{

int driver=DETECT,modus;

initgraph (&driver,&modus, ""); // ""Ist das BGI Verz

circle (100,100,50); //Zeichnet einen Kreis

getch(); //Auf beliebigen Tastendruck warten

}

[code]

unter VC98 kompilieren – allerdings wird die <graphics.h> nicht gefunden.

Heißt diese Headerdatei hier eventuell anders?!

Grüße,

Technician

Hi!

Original geschrieben von Klotzkopp

Unter MS VC gibt ein kein BGI, und damit auch weder graphics.h noch initgraph. Möglicherweise kannst Du aber die BGI-Funktionen trotzdem benutzen. Gib doch mal beim #include den vollständigen Pfad an.

BGI *verwirrtguck*

Was genau heißt das?!?!?

Original geschrieben von Klotzkopp

Borland Graphics Interface

Siehe auch hier:

http://www.cs.colorado.edu/~main/cs1300/doc/bgi/index.html

Aha! *wieder-schlauer-geworden*

Gibt es evl. etwas ähnliches unter MSVC?

GDI ist doch glaub das Gegenstück dazu, oder? BGI kann man meines Wissens nicht unter VC++ compilen es sollen zu viele Pragmas und sonstige Borland-spezifische Dinge drin sein, aber falls doch, dann würde mich das interessieren.

Jedenfalls deshalb hat irgendwer WinBGI gemacht.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.