#include <iostream.h>
#include <windows.h>
int main ()
{
cout << "Hello!" << endl;
Sleep (2000);
Type: Posts; User: erikcn
#include <iostream.h>
#include <windows.h>
int main ()
{
cout << "Hello!" << endl;
Sleep (2000);
Uhhhmm.. you mean return 0;?
Gratis is the word for free in Swedish too!
Thanks!..
I have huuuuuuuuuuuuuge trouble with this code.
I get 10 errors!
#include <windows.h>
#include <iostream.h>
No No return 0; is included in else.
Hi.
I'm compiling with Dev C++ 4.0 Compiler.
When compiling the code below i get a parse error at end of input..
Its at line 50.
And theres no code on line 50.
If i write code at line 50,...
Uhhmmm..
You must have read something wrong.
When you create a Windows project in Dev C++, you've created a window.
Only add hello world or something, and *hocus pocus* there you go.
Thanks!
A guy gave me the same code but backwards.
His code didn't work.
I'll try this one to see if it works.
how do i add the value from a variable named money : to a variable named : ihave , and then remove the value in a variable named : lost from the variable named : ihave
anybody knows how...
When i compile as a console i get 6 errors.
When i compile as windows i only get that error.
Ill try to add the thing you told me.
Dont bother cout text.
Its Swedish.
When i compile this :
#include <iostream>
int main ()
{
int money;
Lets se the facts.
AMD,s processor is up in smoke when the CPU cooler is removed.
Pentium 4 keeps a temperature of about 30-40 degrees.
Hmmm.. A processor that has better cooling should have...
Then why can he compile a program with his compiler.
Same code no errors at all.
Is that why it owns?
I'll try the borland free compiler.
Bloodshed Dev C++. how about you?
what compiler do you use.
Already have that code in the file.
C:\WINDOWS\TEMP\ccvQF7fb.o(.text+0x94):pengar.cpp: undefined reference to `GetStockObject@4'
I,ve got that error now.
The Compiler doesnt show any errors but after compiling a window pops-up...
so what do i have to do?
sorry i did not see the code.:o :o
What is wrong??
I get a error called :
parse error before 188
#include <iostream>
int main ()
I meant like you wrote in the first code snippet.
Thank You!Thank You!Thank You!
:cool:
I want to define a variabel named ihave
How shall i do? :confused: :confused: :confused: