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.

Was bedeutet S_IREAD?

Empfohlene Antworten

ich hab ein prog geschrieb das nach abfrage eines namens eine datei erstellt.es funktioniert auch soweit.ich hab aber einen befehl aus einem tutorial kopiert.leider ist nicht erklärt was dieser befehl bewirkt.ich weiß nur das dieser nötig ist.

creat(nametxt1, S_IREAD);

kann mir einer sagen was dieses S_READ bewirkt?

danke

mohamet

Tschuldigung die Antwort wird etwas knapp weil ich nicht weiss was permitted heisst,

schaust halt im Woerterbuch nach

_S_IREAD : Reading permitted

IEC: ist es eine Oeffnungsoption fuer die Datei

Hups was vergessen:

und es gibt auch noch:

_S_IWRITE : Writing permitted

_S_IREAD : Reading permitted

_S_IREAD | _S_IWRITE : Reading and writing permitted

@hasi

permitted heist zulässig oder auch zugelassen.

Original erstellt von mohamet:

<STRONG>permitted heist zulässig oder auch zugelassen.</STRONG>

Dankeschoen!!

Kleiner EnglischKurs kann nie schaden

ich hab da noch ein prob. wenn ich in der main funktion schreibe creat("test.txt", S_IREAD); dann funzt das. schreib ich das aber in eine ander funktion bsp create_file() dann erstellt er die datei nicht mehr.

kann mir da einer helfen?

danke

cu

mohamet

Falls die Funktion in einer anderen datei liegt musst du die <io.h> includet haben

mit was programmierst du denn???

sollte es VC++ sein: da gibt es eine superhilfe datei, da les ich auch immer meine gesamten Probleme nach.

Hasi

ich hab mir den c++ builder von borland besorgt. und als entwicklungsumgebung nutze ich textpad.

ne hilfe gibts nicht.

cu

mohamte

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.