Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 08:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Fehler beim Compilen bitte helft mir

Discussion on Fehler beim Compilen bitte helft mir within the General Coding forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 492
Received Thanks: 126
Unhappy Fehler beim Compilen bitte helft mir

Hallo,
Ich habe in Youtube jemand gesehen der ein Passwort Programm Programmiert,
Das habe ich nachgemacht mal so zum testen.Aber wenn ich mein Prog da einfügen möchte wo es auch gesagt wird kommt immer wieder ein Fehler.
Hier mein code:

Code:
#include <iostream>
#include <windows.h>

using namespace std;

int main ()
{
   string passwort;
   cout << "Dieses Programm ist Passwort Geschuetzt: ";
   getline (cin, passwort); 
   
   if (passwort == "hacker")  
   (cout << "\n Willkommen im Programm!" );
   // Hier kommt der Programm code hin,Klappt aber nicht!!!
   
   
  
   
  else 
   (cout << "\n Das passwort ist Falsch!!!\n Das programm schliesst sich in 5 Sekunden...");
   Sleep(5000);
   return 0;
   
   
   
   system("pause>nul");
   return 0;
    
    
    
    

    
    

}
bitte helft mir.

es hat immer wieder mit "else" zutun.
WiiZocker is offline  
Old 11/02/2009, 15:25   #2
 
Shadowz75's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 443
Received Thanks: 597
Code:
#include <tchar.h>
#include <iostream>
#include <windows.h>
#include <string>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	string passwort;
	cout << "Dieses Programm ist Passwort Geschuetzt: ";
	getline(cin,passwort);	

	if (passwort == "hacker")     
	{
		cout << "\n Willkommen im Programm!";
	}      
	else 
	{
		cout << "\n Das passwort ist Falsch!!!\n Das programm schliesst sich in 5 Sekunden...";
		Sleep(5000);
		return 0;
	}


	system("pause>nul");
	return 0;
}
Shadowz75 is offline  
Thanks
1 User
Old 11/02/2009, 15:27   #3
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,426
Received Thanks: 1,888
Quote:
Originally Posted by WiiZocker View Post
Hallo,
Ich habe in Youtube jemand gesehen der ein Passwort Programm Programmiert,
Das habe ich nachgemacht mal so zum testen.Aber wenn ich mein Prog da einfügen möchte wo es auch gesagt wird kommt immer wieder ein Fehler.
Hier mein code:

Code:
#include <iostream>
#include <windows.h>

using namespace std;

int main ()
{
   string passwort;
   cout << "Dieses Programm ist Passwort Geschuetzt: ";
   getline (cin, passwort); 
   
   if (passwort == "hacker")  
   (cout << "\n Willkommen im Programm!" );
   // Hier kommt der Programm code hin,Klappt aber nicht!!!
   
   
  
   
  else 
   (cout << "\n Das passwort ist Falsch!!!\n Das programm schliesst sich in 5 Sekunden...");
   Sleep(5000);
   return 0;
   
   
   
   system("pause>nul");
   return 0;
    
    
    
    

    
    

}
bitte helft mir.

es hat immer wieder mit "else" zutun.
copy fail!
Lern erstmal die grundlagen
MoepMeep is offline  
Old 11/02/2009, 18:40   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 492
Received Thanks: 126
ok

Habs hinbekommen danke Shadowz75
WiiZocker is offline  
Old 11/03/2009, 17:02   #5
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,426
Received Thanks: 1,888
Quote:
Originally Posted by WiiZocker View Post
Habs hinbekommen danke Shadowz75
du? eher er...
MoepMeep is offline  
Old 11/03/2009, 18:00   #6
 
Gianotti's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 1,455
Received Thanks: 140
schau dir lieber alles nochmal von vorn an das wird nicht hin hauen :/
Gianotti is offline  
Closed Thread

Tags
compilen, hilfe, passwort, programmfehler, schützen


Similar Threads Similar Threads
Bitte helft mir beim P skill Hack
09/12/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 6 Replies
Kann mir einer pls helfen ? wäre sehr nett.
Helft mir bitte beim Crossfire hacken :D
04/01/2010 - CrossFire - 5 Replies
:DHallo Leute könnt ihr mir plz beim Crossfirehaxxen helfenwie hackt man was für Programme braucht man ...... ich hab in Youtube Haxvideos gefunden diese haxx fand ich cool : -Skelett hax ( da hat einer die anderen durch Wände gekillt ) -Waffenhack ( AWM, MP5S, M4A1S( ilence).....) -Invisible hack (der war unsichtbar in einem normalen match!!!!) -Speed ( sah lustig aus ) -Wall und Cham hax:D mfg
Fehler!!!! helft mir bitte , ich dreh durch -.-
02/25/2010 - Aion Private Server - 10 Replies
ich dreh durch -.- ich habe noch 15Gb freien festplattenspeciher lade Aion runter, dann will er es installierne UND! ich habe NOCh 8Gb freien festplatten speicher, aber es kommt immer: was ist denn das:confused: wieviel gb braucht man ???
ClubMt2 Fehler Helft mal bitte..
05/13/2009 - Metin2 Private Server - 3 Replies
Wenn ich mich einloggen will bzw. neuen acc machen will.. kommen da so fragezeichen und game geht aus..? woran kann das liegen..? und ich kann clubmt2 net auf italienisch spielen i-wie geht es ned Speed irgendwas fehlt und phyton ..? was kann ich dagegen machen?



All times are GMT +1. The time now is 08:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.