Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


iostream
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Tue Oct 11, 2011 9:17 am    Post subject: iostream Reply with quote

whats difference between

#include <iostream>
and
#include <iostream.h>
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Oct 11, 2011 1:49 pm    Post subject: Reply with quote

The fact that iostream.h doesn't exist. (Assuming you are using a non-extremely outdated compiler/ide/sdk.)
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Wed Oct 12, 2011 8:33 am    Post subject: Reply with quote

it exist example:

#include <iostream.h>

int main()
{
cout << "Im paupav ";
}
system("pause")
return 0;


it will work i learn iostream.h so i want to know is there any big difference


Last edited by paupav on Wed Oct 12, 2011 10:11 am; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 12, 2011 9:38 am    Post subject: Reply with quote

What compiler/IDE are you using?
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
unknown_k
Expert Cheater
Reputation: 5

Joined: 24 May 2011
Posts: 211

PostPosted: Wed Oct 12, 2011 9:54 am    Post subject: Reply with quote

http://members.gamedev.net/sicrane/articles/iostream.html
Interesting.

Wiccaan wrote:
What compiler/IDE are you using?
VS 6.0 or similar I guess.
Back to top
View user's profile Send private message
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Wed Oct 12, 2011 10:10 am    Post subject: Reply with quote

unknown_k wrote:
http://members.gamedev.net/sicrane/articles/iostream.html
Interesting.

Wiccaan wrote:
What compiler/IDE are you using?
VS 6.0 or similar I guess.


i use DEV C++ ... are you using iostream or iostream.h ?
Back to top
View user's profile Send private message
unknown_k
Expert Cheater
Reputation: 5

Joined: 24 May 2011
Posts: 211

PostPosted: Wed Oct 12, 2011 10:41 am    Post subject: Reply with quote

paupav wrote:
i use DEV C++ ... are you using iostream or iostream.h ?
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 12, 2011 10:54 am    Post subject: Reply with quote

unknown_k wrote:
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.


iostream has nothing to do with .NET and wasn't removed because of it. iostream.h is depreciated but it is not specifically because of Microsoft or any other compiler. It is just standards for C++ that it was removed and out-dated.

paupav wrote:
i use DEV C++ ... are you using iostream or iostream.h ?


You are using an extremely old IDE/compiler combo. You should look into getting something that is actually maintained and updated. DevC++ hasn't updated their install package since 2005.

I recommend you get Visual Studio if you are using Windows:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 314
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Wed Oct 12, 2011 12:20 pm    Post subject: Reply with quote

i have visual studio but i think dev is better... so i have to start learning it all over again?
Back to top
View user's profile Send private message
AverageAzn247
Grandmaster Cheater
Reputation: 34

Joined: 01 Oct 2007
Posts: 909
Location: Austin,TX with 72 virgins

PostPosted: Wed Oct 12, 2011 1:05 pm    Post subject: Reply with quote

Wiccaan wrote:
unknown_k wrote:
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.


iostream has nothing to do with .NET and wasn't removed because of it. iostream.h is depreciated but it is not specifically because of Microsoft or any other compiler. It is just standards for C++ that it was removed and out-dated.

paupav wrote:
i use DEV C++ ... are you using iostream or iostream.h ?


You are using an extremely old IDE/compiler combo. You should look into getting something that is actually maintained and updated. DevC++ hasn't updated their install package since 2005.

I recommend you get Visual Studio if you are using Windows:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
studios gives errors if ur function doesn't return a value :/ I dislike using it to compile small things.
_________________


Waxxup wrote:
What are Night Elves?
A girl group?
Back to top
View user's profile Send private message MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Wed Oct 12, 2011 1:51 pm    Post subject: Reply with quote

AverageAzn247 wrote:
Wiccaan wrote:
unknown_k wrote:
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.


iostream has nothing to do with .NET and wasn't removed because of it. iostream.h is depreciated but it is not specifically because of Microsoft or any other compiler. It is just standards for C++ that it was removed and out-dated.

paupav wrote:
i use DEV C++ ... are you using iostream or iostream.h ?


You are using an extremely old IDE/compiler combo. You should look into getting something that is actually maintained and updated. DevC++ hasn't updated their install package since 2005.

I recommend you get Visual Studio if you are using Windows:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
studios gives errors if ur function doesn't return a value :/ I dislike using it to compile small things.

not sure what you mean by this but if you really are hitting this, i'm almost certain you're using the language incorrectly. if you want a function which returns nothing then have its return type as void. otherwise you should adhere to the return type since that's what you declared in the signature...
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Oct 12, 2011 2:52 pm    Post subject: Reply with quote

paupav wrote:
i have visual studio but i think dev is better... so i have to start learning it all over again?


You should be learning the language with its relevant and current standard/code implementation. You are using outdated headers that don't follow some standards in the language is it is today.

Will you need to learn some stuff over? Yes, but from the looks of it you aren't that far into anything yet so it will be better for you in the end to use something newer / updated.


Quote:
studios gives errors if ur function doesn't return a value :/ I dislike using it to compile small things.


Like Slug said, sounds like you are using the language incorrectly then. It is not a Visual Studio (note the fact that there is no S at the end, it is not a multiple of something it is a single solution) problem.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
unknown_k
Expert Cheater
Reputation: 5

Joined: 24 May 2011
Posts: 211

PostPosted: Wed Oct 12, 2011 9:55 pm    Post subject: Reply with quote

Wiccaan wrote:
unknown_k wrote:
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.


iostream has nothing to do with .NET and wasn't removed because of it. iostream.h is depreciated but it is not specifically because of Microsoft or any other compiler. It is just standards for C++ that it was removed and out-dated.

Oh, wait. Did I say iostream has something to do with .NET? All I was talking about is their including/excluding timing with their product. Did I misguide you? Sorry.
Back to top
View user's profile Send private message
AverageAzn247
Grandmaster Cheater
Reputation: 34

Joined: 01 Oct 2007
Posts: 909
Location: Austin,TX with 72 virgins

PostPosted: Thu Oct 13, 2011 9:06 am    Post subject: Reply with quote

Slugsnack wrote:
AverageAzn247 wrote:
Wiccaan wrote:
unknown_k wrote:
They say you shouldn't use .h becasue it's obsoleted, not standard, and since .NET it's not included in M$ VS anymore, etc, etc.


iostream has nothing to do with .NET and wasn't removed because of it. iostream.h is depreciated but it is not specifically because of Microsoft or any other compiler. It is just standards for C++ that it was removed and out-dated.

paupav wrote:
i use DEV C++ ... are you using iostream or iostream.h ?


You are using an extremely old IDE/compiler combo. You should look into getting something that is actually maintained and updated. DevC++ hasn't updated their install package since 2005.

I recommend you get Visual Studio if you are using Windows:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
studios gives errors if ur function doesn't return a value :/ I dislike using it to compile small things.

not sure what you mean by this but if you really are hitting this, i'm almost certain you're using the language incorrectly. if you want a function which returns nothing then have its return type as void. otherwise you should adhere to the return type since that's what you declared in the signature...
perhaps i am not the best programmer but it seems some times studios gives me errors while other compilers don't.
_________________


Waxxup wrote:
What are Night Elves?
A girl group?
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Oct 13, 2011 9:28 am    Post subject: Reply with quote

AverageAzn247 wrote:
perhaps i am not the best programmer but it seems some times studios gives me errors while other compilers don't.


Care to give any examples of this?

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites