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++] Suggestions for small programs
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
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Fri Jul 04, 2008 8:07 pm    Post subject: [C++] Suggestions for small programs Reply with quote

I finished learning the basic syntax of the C++ language and I would like some recommendations as to what kinds of little programs I should try to make first. It shouldn't be anything overly complicated, but not just a "Hello World" type thing either.
_________________
Back to top
View user's profile Send private message
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Fri Jul 04, 2008 8:12 pm    Post subject: Reply with quote

Try making a simple game Surprised Are you learning visual C++ or just C++?
I'm learning visuall and i would practice with GUI. Try making a simple game =o. Tic-tac toe and make the computer apponinent pick random spots :p
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Fri Jul 04, 2008 8:15 pm    Post subject: Reply with quote

Just C++.
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Fri Jul 04, 2008 8:17 pm    Post subject: Reply with quote

While I can't really give you a program suggestion as I have hard times thinking of things to make myself, I would suggest that if you want to do something to test your skills, make something that uses a little bit of everything you have learned so far. Try to use everything you have learned to make sure you are fully understanding things and such.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
MegaForum
Grandmaster Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 558

PostPosted: Fri Jul 04, 2008 8:17 pm    Post subject: Reply with quote

manc wrote:
Just C++.


Win32 app?
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Fri Jul 04, 2008 8:20 pm    Post subject: Reply with quote

Guess the number is usually pretty popular. Maybe a reflex tester, too.
_________________
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Fri Jul 04, 2008 8:24 pm    Post subject: Reply with quote

Hmm I'd like to make something that "talks" to you. Like, "How is your day going?" and then based on the response, say something back ( to practice if,else if, else loops). However, I'd have to limit the responses down to 3 or so choices like 1. OK 2. BAD 3. GOOD . Would this be a good idea?


HalfPrime wrote:
Guess the number is usually pretty popular. Maybe a reflex tester, too.


I like those, I'll definitely try them -Thanks.

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

Joined: 25 Jun 2007
Posts: 695

PostPosted: Sat Jul 05, 2008 12:55 am    Post subject: Reply with quote

It sounds like you're off to a good start on making your first console application.

And you said that you wanted to make the program to test your ability to use IF's. I would say that the example that you described with the "1. OK, 2. Bad, etc" would work better with case switches rather than IF's.

How do you attempt to attempt? Your signature confuses me.
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Jul 05, 2008 4:49 am    Post subject: Reply with quote

nwongfeiying wrote:
It sounds like you're off to a good start on making your first console application.

And you said that you wanted to make the program to test your ability to use IF's. I would say that the example that you described with the "1. OK, 2. Bad, etc" would work better with case switches rather than IF's.

How do you attempt to attempt? Your signature confuses me.


I'll look into case switches, thanks. And yeah, I dont know about my sig either, dont worry about it lol.

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

Joined: 25 Jun 2006
Posts: 66

PostPosted: Sat Jul 05, 2008 6:18 am    Post subject: Reply with quote

er. dude where u lean C++ at ? school or website?

if u don mind tell me where to learn .
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Sat Jul 05, 2008 8:43 am    Post subject: Reply with quote

shuyinx2 wrote:
er. dude where u lean C++ at ? school or website?

if u don mind tell me where to learn .


Check the stickies, there are a ton of links in them for tutorials and such for learning.

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

Joined: 03 Oct 2006
Posts: 197

PostPosted: Sat Jul 05, 2008 9:18 am    Post subject: Reply with quote

Sounds neet a program that interacts with you.
Like Mr.nwongfeiying said there 2 ways of choosing , the if else then (if statement) and the case and i find working with case the best on C# but if statement on C++. Sort out for yourself what you want to use and whats the easyest for you. Smile
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: Sat Jul 05, 2008 9:19 am    Post subject: Reply with quote

Convert numbers (0~999) to actual words, if the input is 534 the output would be Five hundred thirty four.

Try doing it in the shortest way you can. Razz
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Jul 05, 2008 11:26 am    Post subject: Reply with quote

Do something that you have no idea how to do. Then brainstorm how it would work and figure out the API to do it...As an intro to win32 i usually say go with a process lister. The api is Process32First and Process32Next. Use these in a loop and output the process to the console / a listbox if you do win32 GUI yet
_________________
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Jul 05, 2008 3:00 pm    Post subject: Reply with quote

Thanks everyone for the suggestions, I'm loving them. Here is exactly what Ive learned so far from the course at www.cplusplus.com:



So yeah, you can base any suggestions off that.

_________________
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