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 


What do you suggest?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Oct 29, 2007 8:13 am    Post subject: What do you suggest? Reply with quote

I know some Object Oriented C# and i thought of learnning some C++, but should I learn Object Oriented C++ or Raw Code? (Functional Programming?)
Hmm, whats better? isn't it like 500 lines just for a lame form with XPMainfest?
I'm using Microsoft Visual C++ 2008, but what should I use if I'll learn the other C++? (Functional?) or should I use OOP? Rolling Eyes
Back to top
View user's profile Send private message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Mon Oct 29, 2007 8:40 am    Post subject: Reply with quote

c++ was mainly designed for OOP, because c doesn't support it
_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Oct 29, 2007 8:55 am    Post subject: Reply with quote

I'm not quite sure what it is yet, lol... =\
OOP is like Delphi? or Visual C#/C++? that you got objects to add and a form? or its something else?
And why does C++ use "::" instead of a simple dot... "." O_O its confusing... Confused
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: Mon Oct 29, 2007 9:10 am    Post subject: Reply with quote

C++ uses both :: and .

:: is used when working with classes and namespaces.

Something such as:

Code:
class Blah
{
public:
  Blah(); // Construct
  ~Blah(); // Deconstruct
  void Func1();
};


Then in your CPP file for the class:

Code:

Blah::Blah()
{
 // Construct Code Here
}

Blah::~Blah()
{
 // Deconstruct Code Here
}

void Blah::Func1()
{
 // Func1 Code Here
}


Then using the class you would have something like:

Code:

Blah cBlah; // Create Instance Of The Class
cBlah.Func1(); // Call Func1 Function Thats Inside Blah Class

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Mon Oct 29, 2007 4:53 pm    Post subject: Reply with quote

Since you already have some experience with OOP, I would suggest learning some functional programming instead. It will help you understand what programming really is, and if you choose to use OOP in the end you can take some aspects from functional programming and apply it to OOP.

Oh and use VC++ 2005, 2008 still has some bugs left in it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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