Zum Inhalt springen

Tony-Montana

Mitglieder
  • Gesamte Inhalte

    6
  • Benutzer seit

  • Letzter Besuch

Beiträge von Tony-Montana

  1. hallo,

    ich versuche seit einiger Zeit and die Übergabeparameter meiner Consolen-Anwendung ranzukommen. Das sieht dann in etwa so aus:

    
    int _tmain(int argc, _TCHAR* argv[])
    
    {
    
     	for(int i=0;i<argc;i++)
    
    	{
    
    	cout <<argv[i]<<"\n";
    
    	}
    
    	cin.get();
    
    	return 0;
    
    }
    
    

    Wenn ich nun mein Programm starte mit folgender Anweisung:

    test.exe arg1 arg2 arg3

    Bekomme ich folgende Ausgabe:

    00345334

    00345346

    00345350

    0034535A

    Ich versteh nicht ganz wo das Problem liegt.

    Ich hatte mir eigentlich eine Ausgabe wie die folgende vorgestellt:

    Programmname (in diesem Fall test)

    arg1

    arg2

    arg3

    Als IDE verwende ich Visual Studio 08.

    Wäre super wenn mir jemand die Augen öffnen könnte.

    Gruß

    Tony

  2. ich hab mal google gefragt und als sprache cpp hergenommen. Und die resultate in vielen alternativen Foren etc. sind fast immer gleich:

    link.

    While decompilation is theoretically possible (in an impractical sense of "theoretically"), the answer is no.

    "Even if you know everything about the compiler, manufacturer, version number, compile-time options, third party libraries, and debugging information, the cost of writing a decompiler that works with even one particular compiler and has even a modest success rate at generating code would be significant — on the par with writing the compiler itself from scratch."

    "Most executables have had their debugging information stripped out, so the resulting decompiled code will be totally unreadable."

    http://www.parashift.com/c++-faq-lite/c ... l#faq-37.4

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...