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 


[C++] Two lame things i made
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
adamezra
Advanced Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 73

PostPosted: Sat Oct 27, 2007 7:02 pm    Post subject: [C++] Two lame things i made Reply with quote

i started just yesterday ...
but still im proud of the things i managed to make by myself
i know theyre amazingly simple but please rate them from 1-10
(if u dont see the attachment press F5)



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
...............................
.............................
............................
...........................
.........................
asagvsfdhg
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sat Oct 27, 2007 7:11 pm    Post subject: Reply with quote

I see two exe files but no cpp files
_________________
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: Sat Oct 27, 2007 7:16 pm    Post subject: Reply with quote

appalsap wrote:
I see two exe files but no cpp files


Congratulations, your eyes work!


@adamezra: Nice job for just starting out Smile

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Hackerdevelopment
Advanced Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 55

PostPosted: Sat Oct 27, 2007 7:23 pm    Post subject: Reply with quote

These r just the exe's not really the cpp files.
_________________
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sat Oct 27, 2007 7:23 pm    Post subject: Reply with quote

Wiccaan wrote:
Congratulations, your eyes work!


@adamezra: Nice job for just starting out Smile


You are missing the point. You shouldn't post programs in the programming section without the source.
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: Sat Oct 27, 2007 7:25 pm    Post subject: Reply with quote

Flyte wrote:
Wiccaan wrote:
Congratulations, your eyes work!


@adamezra: Nice job for just starting out Smile


You are missing the point. You shouldn't post programs in the programming section without the source.


Theres no rule stating you aren't allowed. He is learning how to program and wishes to share what he made as he is learning with others to check out.

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

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Oct 27, 2007 8:38 pm    Post subject: Reply with quote

when you post source other people can use it and other people can give you tips to improve your program.
_________________
Back to top
View user's profile Send private message
adamezra
Advanced Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 73

PostPosted: Sun Oct 28, 2007 11:14 am    Post subject: Reply with quote

Sorry! i didnt know i need to put source...
uhm here it is:


edit:can someone also recommend a C++ compiler? the one im using is terrible...



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
...............................
.............................
............................
...........................
.........................
asagvsfdhg
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Mon Oct 29, 2007 6:49 am    Post subject: Reply with quote

adamezra wrote:
edit:can someone also recommend a C++ compiler? the one im using is terrible...
http://forum.cheatengine.org/viewtopic.php?t=86090

info gather.cpp:
Quote:
./a.out
Hi welcome to to info gatherer.
What is your first name? test
Whats you last name? test
What street you live in? test
What number of street? test
What is your phone number? test
What is your favorite cereal? test
Hi so your name is test
Your lastname is test
You street adress is test test
Your phone number is test
Oh, i almost forgot your favorite cereal is test
Your fullname is test test
sh: pause: command not found

- Note the bold/underline ^
- Layout of the code could be improved.
- You're destroying one of the nice c++ features (compared to c); namespaces.
- 0 isn't EXIT_SUCCESS on all the operating systems -> use return EXIT_SUCCESS;
- Mixing both '\n' and std::endl :/ You just could use one of them.

Pin.cpp:
- All the same as info gather.cpp
- Make sure the given input is an integer!

PS.
- address, not adress :)
- "Oh, I almost forgot your favorite cereal is test"
Back to top
View user's profile Send private message
adamezra
Advanced Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 73

PostPosted: Mon Oct 29, 2007 1:05 pm    Post subject: Reply with quote

gawd >.>
i didnt understand what did u even mean in 70% of what u said...
this is like half assed basic beginning ... ._.

_________________
...............................
.............................
............................
...........................
.........................
asagvsfdhg
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Mon Oct 29, 2007 10:28 pm    Post subject: Reply with quote

Jani, he's using "system("PAUSE")" assuming the system is windows, in which that is how to stop the terminal from closing itself ><.

Perhaps he change it to
Code:
#ifdef WIN32
system("pause");
#endif
if he is concerned with compatability.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Mon Oct 29, 2007 10:52 pm    Post subject: Reply with quote

nog_lorp wrote:
Jani, he's using "system("PAUSE")" assuming the system is windows, in which that is how to stop the terminal from closing itself ><.

Perhaps he change it to
Code:
#ifdef WIN32
system("pause");
#endif
if he is concerned with compatability.


Better yet:

Code:
std::ignore();
std::cin.get();
Back to top
View user's profile Send private message
seeplusplus
Grandmaster Cheater
Reputation: 0

Joined: 28 Oct 2007
Posts: 562
Location: cracking accounts

PostPosted: Mon Oct 29, 2007 11:56 pm    Post subject: Reply with quote

I'm teaching myself C++ right now, I'm reading up to pointers in the tutorial, i get that, what kind of programs should i be working on, I've made a simple Calculator in DEV C++, but thats about it.

Any ideas? Very Happy

_________________
I am xwallflowerx...this will probably be deleted soon...
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Mon Oct 29, 2007 11:57 pm    Post subject: Reply with quote

seeplusplus wrote:
I'm teaching myself C++ right now, I'm reading up to pointers in the tutorial, i get that, what kind of programs should i be working on, I've made a simple Calculator in DEV C++, but thats about it.

Any ideas? Very Happy

I heard Dev is bad... but I'm not one to talk. C and any subset of C = not my thing.

_________________
Back to top
View user's profile Send private message
Hackerdevelopment
Advanced Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 55

PostPosted: Tue Oct 30, 2007 1:08 pm    Post subject: Reply with quote

Its like its stalks ppl lol!
_________________
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
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