im using Dev C++ to compile and exacute script but the most annoying thing is. Is that im probs the only person to fail an hello world console script
ive tryed diffrent tuts from diffrent websites and each time i compile them i get errors and i don't wana copy and past them i wana write them out and learn from typeing insted of copy and pasting
help with C++
Started by shadowhound, Aug 26 2008 05:34 AM
4 replies to this topic
#1
Posted 26 August 2008 - 05:34 AM
|
|
|
#2
Posted 26 August 2008 - 06:27 AM
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello World\n";
cin.get();
}
??
using namespace std;
int main()
{
cout<<"Hello World\n";
cin.get();
}
??
#3
Posted 26 August 2008 - 06:53 AM
Depending on the errors, it could be an issue with configuring Dev-C++, or an issue with the code. It's hard to help without both the code and the error messages.
#4
Posted 26 August 2008 - 07:19 AM
mgmr said:
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello World\n";
cin.get();
}
??
using namespace std;
int main()
{
cout<<"Hello World\n";
cin.get();
}
??
Way to post bad code to a noob...
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!\n";
cin.get();
//Main exited cleanly
return 0;
}
#5
Posted 26 August 2008 - 08:08 AM
both of these worked :) thank you very much you have both been help full now i can continue learning VB and C++ :)
i love this forum :D you peeps are amazing for helping :)
thank you sooo much
i love this forum :D you peeps are amazing for helping :)
thank you sooo much


Sign In
Create Account


Back to top









