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.

undefined Symbol _main in C0.ASM

Empfohlene Antworten

Hey habe nen tollen Errorcode und das mitten in meiner Abschlussprüfung also ist Eile geboten.

Folgendes ist der Fall:

benutze Borland C++ for Dos 3.5

Hab ne main funktion geschrieben.

int main()

{

blabla.

}

Jedes mal wen ich es linken möchte bekomme ich die Fehlermeldung

"undefinded Symbol -main in C0.asm"

Einstiegspunkt ist ja die Funktion main, welche auch existiert. habe es schon mit _cdecl for der main versucht. Klappt nicht, warum ja auch!?! Ist ja auch keine pascal calling convention.

Bin schon am verzweifeln. woran liegts, und oder kann mir einer helfen, danke!

MVg

need-some-blood

[edit] das ganze soll ne Dos-Applikation sein. Ist auch so im C-Projekt angegeben [edit off]

Ich persönlich kenne weder "Borland C++ for Dos 3.5" noch erkenne ich die Fehlermeldung, aber wenn es schon an der main-Funktion liegen könnte:

hast du's schonmal mit

void main()

oder

int main(int argc, char* pArgs[])

versucht?

kA. ob das eine Hilfe ist ...

Det habsch schon probiert. Daran lags net. Normalerweise könnte man aufgrund der Fehlermeldung schliessen, das der Linker den Einsprungspunkt im Projekt nicht findet. Gehe jetzt einfach alle Projektdateien nochmal durch.

Mvg

need-some-blood

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.