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

HI Leutz,

normal programmiere ich mit dem Borland, leider habe ich hier auf der arbeit nur das Visual Studio.

Beim kompilieren meines Quellcodes bindet er aber nur die iostream.h ein. Wie kann ich noch weitere Header Dateien einbinden?

Bin bald am verzweifen.

naja so wie es in C halt immer geht:

#include "iostream.h"

aehm... wo liegt das Problem :confused:

das geht in jedem C gleich...

naja es gibt dafür im vs 2 methoden.

die erste ist mit

#inculde <iostream.h>

dann sucht das vs die datei im standard include verzeichnis. ist in den optionen einstellbar.

die zwei ist die von Hasi mit

#include "c:\iostream.h"

dabei muss man den kompletten pfad mit angeben, wie die header datei liegt.

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von maddin:

<STRONG>naja es gibt dafür im vs 2 methoden.</STRONG>

Leute denkt ihr denn ich programmier erst seid gestern?

Natürlich habe ich sie so eingebunden, jedoch findet er sie anscheinend nicht.

Ma ein Beispiel:

Header Datei ist conio.h

dann meldet er trotzdem dass gotoxy nicht definiert ist.

Dnake, dass hab ich mir auch chon gedacht, gibts dann vielleicht etwas anderes (andere Header-Datei)?

Das hier funktioniert unter VC++, dafür aber wahrscheinlich unter Borland nicht:


void MyGotoXY(int x, int y)
{
HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE);
COORD c;
c.X = x;
c.Y = y;
SetConsoleCursorPosition( hStdout, c );
}
[/code]

Du brauchst dafür <windows.h>.

Danke für dene schnelle Antwort, aber ich installier dann doch lieber Borland. Denn ansonsten muss ich alle Funktionen die nicht unterstützt werden neu programmieren und dass ist mir zu viel arbeit. Und in der BS kann ichs dann ja auch nicht verwenden.

aber tritzdem danke.

------------------------------------------------------------

Ich hasse Bill Gates

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Zitat:</font><HR>Original erstellt von Sirius2001:

<STRONG>Leute denkt ihr denn ich programmier erst seid gestern?.</STRONG>

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.