Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 17:49

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

Advertisement



Scheitere an Hello World ^.^

Discussion on Scheitere an Hello World ^.^ within the General Coding forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 239
Received Thanks: 48
Scheitere an Hello World ^.^

Hey...

Habe zurzeit Probleme gehabt an einem Programm weiterzuarbeiten, da ich einige Basics einfach weggelassen hatte beim erlernen...

Wollte jetzt nochma ein Tutorial von ganz klein beginnen...

Jetzt scheitere ich aber an dem Hello World Programm.

Hier mal der Code der zu 100% richtig sein muss ^.^

Code:
#include<iostream>
    using namespace std;

    int main()
    {
      cout<<"Hallo Welt\n";
      cin.get();
    }
Jetzt müsste der mir ja eigentlich "Hello World" in einer Box ausgeben...
Wenn ich das kompiliere und ausführe, dann passiert aber überhauptnichts...

Wenn ich die Syntax überprüfen lassen, dann meckert der mir bei
<iostream> rum...

Habe jetzt nochma in def c++ Ordner geguckt und bemerkt, das da auch garkeine drinn is ^.^ kann also garnicht auf die Datei verweisen...
nach meiner Logik jedenfals nicht.

Ist jetzt das Problem, das die Datei nicht vorhanden ist?
Wenns so ist, währe es sehr freundlich, wenn mir mal wer ne Seite schickt,
auf der ich mir die Datei downloaden kann ^.^
google findet jedenfals nichts -.-



thx schonma für eure Hilfe
Waynee is offline  
Old 02/20/2010, 17:13   #2
 
N.E.O.'s Avatar
 
elite*gold: 45
Join Date: Nov 2008
Posts: 4,308
Received Thanks: 991
#include<iostream>
using namespace std;

int main()
{
cout<<"Hallo Welt\n";
cin.get();
}

..ist doch richtig!?
N.E.O. is offline  
Thanks
1 User
Old 02/20/2010, 17:15   #3

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324
Schonmal versucht, ein leerzeichen zwischen include und <iostream> zu machen
Adroxxx is offline  
Thanks
1 User
Old 02/20/2010, 17:18   #4
 
elite*gold: 0
Join Date: Nov 2008
Posts: 239
Received Thanks: 48
AAAh hab den Fehler gefunden ^.^

Neo du hast es sogar richtig geschrieben ;DDD

Das Tutorial is doch einfach nur scheiße ^^

hatte zwischen cin.get und den Klammern ein Leerzeichen ^.^

deswegen hats nich funktioniert

trotzdem danke an euch!
Waynee is offline  
Closed Thread


Similar Threads Similar Threads
〖Perfect World 〗Chaos World Private Server
07/01/2009 - Private Server Advertising - 2 Replies
http://www.chaos2world.com/en/1.jpg http://www.chaos2world.com/en/2.jpg http://www.chaos2world.com/en/3.jpg http://www.chaos2world.com/en/4.jpg http://www.chaos2world.com/en/5.jpg http://www.chaos2world.com/en/6.jpg http://www.chaos2world.com/en/7.jpg 〖Perfect World 〗Chaos World Private Server Chaos World a long time open, permanent free!!! 1.Free 10Million Skill Point,1Million Gold,Free Manufacture(Level 1 can Manufacture),Free New Player Equipment With Weapon 1Set,Free Reveal All...
〖Perfect World 〗Chaos World Private Server
05/24/2009 - Private Server Advertising - 2 Replies
Chaos World a long time open, permanent free!!! 1.Free 10Million Skill Point,1Million Gold,Free Manufacture(Level 1 can Manufacture),Free New Player Equipment With Weapon 1Set,Free Reveal All Teleportation Point in Perfect World,Free All Skill,Free Expand All Slot of Inventory,Free Expand All Slot of Bank Storage,Free Expand All Slot of Pet's,Free Cultivation To Nirvana(Please Don't Take Any Cultivation And Mission,Direct Take Demon or Sage Mission Start From Level 89). 2.Experience Set to...



All times are GMT +1. The time now is 17:50.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.