Author |
Message |
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 4:47 pm Post subject: The Admin Cpanel - My version |
|
|
|
|
Name: Admin Control Panel
OS: Win XP
Language: C++
What it is:
Its a remake of Assassin's Admin CPanel program(for the most part). It has most of the same functions. Some functions I thought were pretty useless so I didn't out them in my version. This version was coded in C++. Its console based. This is for people who like to type commands. I used basic batch commands for the most part. Nothing major.
Image of it
**Thats an older image. I added a few more commands an hour ago.
The admin control panel program.
AdminCPanel.zip - 133.18 KB
File downloaded or viewed 57 time(s)
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Fri Aug 11, 2006 6:15 pm Post subject: |
|
|
|
|
- Use Release build not Debug build when compiling your program for distribution. People don't need a half meg executable when a 32k version will run ten times faster.
- Learn an indent style and stick to it. Almost any programming text editing program will help you along with tabs and such. Mine is close to BSD/Allman style, except I like spaces after if/while/for/etc before the parentheses.
- Readmes should have either no extension or txt for an extension. Don't go making up a .readme extension.
- For your main loop, a do-while loop would be better than a while loop. Sure, it doesn't make too much of a difference, but you should get in the happen of when to use a while loop and when a do-while is the correct one.
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 6:27 pm Post subject: |
|
|
|
|
I didn't use MSVC++.
I like to keep no space after if/while/for statements before parenthesis.
I just saved the notepad file named readme, and added no .readme extension.
What do you mean by the last part of the fourth comment?
**oh and thanks for the info on indent style. I never heard of it before.
|
|
Back to top |
|
|
BDwinsAlt Agurus's Posse
Age:33 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Fri Aug 11, 2006 6:55 pm Post subject: |
|
|
|
|
I'm glad you found the CD Tray open/close code. I had a hard time with that one personally. I agree with what Mav said. I hope you will exspand your knowledge of C++ and program for Good. That's for releasing the source. All in all good job.
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 7:01 pm Post subject: |
|
|
|
|
awesome. I think thats a first.
|
|
Back to top |
|
|
BDwinsAlt Agurus's Posse
Age:33 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Fri Aug 11, 2006 7:09 pm Post subject: |
|
|
|
|
Oh I had to add winmm.lib to my commandline to get it to compile the mciSendString to open the cd tray. Just a heads up for anyone who might be working with CD Trays...
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 7:18 pm Post subject: |
|
|
|
|
Yeah, maybe I should have mentioned that with the source? Should I put a copy of that file in with the source?
|
|
Back to top |
|
|
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Fri Aug 11, 2006 9:18 pm Post subject: |
|
|
|
|
Pretty good. I like how you did yours. i might redo mine in C++ but with a better interface.
|
|
Back to top |
|
|
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:33 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Fri Aug 11, 2006 9:36 pm Post subject: |
|
|
|
|
Assassin2684 wrote: | Pretty good. I like how you did yours. i might redo mine in C++ but with a better interface. |
If it's a GUI, good luck. Other wise, I don't see the point.
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 10:17 pm Post subject: |
|
|
|
|
I could have done a GUI just as easy as I did this, but I wanted to make it look different and feel different.
|
|
Back to top |
|
|
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Fri Aug 11, 2006 10:42 pm Post subject: |
|
|
|
|
Ya... I want to make a GUI. Not exactly sure how. Guess I will add it onto my list of things to do. But I could make one like yours Quan.
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Fri Aug 11, 2006 10:44 pm Post subject: |
|
|
|
|
Um. I have a few ebooks that explain how to make GUIs using MSVC++. I also have some tutorials/ebooks on how to use API functions.
|
|
Back to top |
|
|
BDwinsAlt Agurus's Posse
Age:33 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Sat Aug 12, 2006 12:49 am Post subject: |
|
|
|
|
Quan Chi2 wrote: | Yeah, maybe I should have mentioned that with the source? Should I put a copy of that file in with the source? |
I would think most compilers (any good one) would have it. But you could include it if you wanted to.
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat Aug 12, 2006 1:20 am Post subject: |
|
|
|
|
Mine GO BOOM wrote: | - For your main loop, a do-while loop would be better than a while loop. Sure, it doesn't make too much of a difference, but you should get in the happen of when to use a while loop and when a do-while is the correct one.
|
Ignore this tip. Always use a while. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
|
Back to top |
|
|
Quan Chi2 Member of "Sexy Teenagers that Code" Group
Age:33 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sat Aug 12, 2006 1:25 pm Post subject: |
|
|
|
|
That makes sense.
|
|
Back to top |
|
|
|