Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-04-2008, 09:11 PM   #1 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default A good c++ prgram fro project.


Guys,

I have to do a project for my computer science exam.

I want to do somethin nice, but without using any graphics.

pls gimme some ideas. i would really appreciate it..

thanks...
sai_cool is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-04-2008, 09:17 PM   #2 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 495
Default Re: A good c++ prgram fro project.

Make a project on cryptography which will allow user to use different algos like Des
Rsa, etc
saurabh kakkar is offline  
Old 07-04-2008, 09:52 PM   #3 (permalink)
Indidiot
 
Plasma_Snake's Avatar
 
Join Date: Dec 2007
Location: Rock Island
Posts: 1,416
Default Re: A good c++ prgram fro project.

I'm interested too. Tell us "How To"
Plasma_Snake is offline  
Old 08-04-2008, 07:03 AM   #4 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default Re: A good c++ prgram fro project.

@saurabh

pls explain in detail./ cryptography sounds really interesting.
sai_cool is offline  
Old 08-04-2008, 09:27 PM   #5 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 495
Default Re: A good c++ prgram fro project.

search on internet abt cryptography and its algos like Des ,Rsa ,caesar cipher etc nd implement these algos in C++
saurabh kakkar is offline  
Old 08-04-2008, 10:02 PM   #6 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: A good c++ prgram fro project.

compression is easier than cryptography...

after writing compression programs you can lay your hands on cryptography


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 09-04-2008, 09:45 PM   #7 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default Re: A good c++ prgram fro project.

yaar, i need a small program( within 500 lines).

compression and cryto is too big, right?
sai_cool is offline  
Old 09-04-2008, 10:12 PM   #8 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: A good c++ prgram fro project.

^^^

you can do text compression


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 09-04-2008, 11:45 PM   #9 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default Re: A good c++ prgram fro project.

ok, how to do text compression?
sai_cool is offline  
Old 10-04-2008, 12:28 AM   #10 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: A good c++ prgram fro project.

@Sai_Cool

dude we can only show the puzzle you have to seek and find the way out of it

come back again if you have any problems in the code or if you are stuck somewhere

if you are really that clueless try this


EDIT:

lol dheeraj chill yaar I understand your feelings thats why I have my present signature

Quote:
Text compression? simple. write whatever you want on an a4 sheet, and crush it into a ball.
I laughed so hard


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||

Last edited by DigitalDude; 10-04-2008 at 12:34 AM.
DigitalDude is offline  
Old 10-04-2008, 03:05 PM   #11 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: A good c++ prgram fro project.

Hey all, I'm sorry I blew off my steam, but I'm not sorry about what I said. I feel my feelings are justified.

Anyway sai_cool, I'm sorry if I made a big thing of your simple request, but you better start learning, mate.

Just as I said in my rant, google "text compression" and check the first page. They have lots of information including sample code.


<off topic>

@DigitalDude
Geeks are supposed to watch sci-fi movies, not Chutti-TV.
dheeraj_kumar is offline  
Old 10-04-2008, 04:45 PM   #12 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: A good c++ prgram fro project.

^^^
how many good sci-fi movies come out these days man ??

chutti tv is way more entertaining


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 10-04-2008, 10:33 PM   #13 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: A good c++ prgram fro project.

Hmmm..

sai_cool - Basic text compression works on the morse-code principles. An E in a morse code is just one character (Reason is because E is used most often of all characters). While a Q has a higher length.

E = .
Q = --.-

Now you can see why this is acceptable - E is used a lot and needs to be transmitted quick and Q hardly appears generally and is not that important so its given a longer length representation.

Similarly text compression can be done in 3 steps:

1. Get the input. Now check the input for all its characters and find the probability of each. Like if the length is 4 ("ABCA") then A's probability of occurance is 2/4, B's and C's is 1/4 each.

2. Assign unique code words for each of these characters. Like for example am gonna assign a binary bit 0 for A and 10 for B and 11 for C. You can see that when I thus make the string in binary compressed form as 0.10.11.0 the total length reduces to 6 bits (This binary format 010110) from 4 bytes (Each character is a byte) of ABCA.

(Neglect the dots, they are for better visualizing)

3. To decode this format you have to make the decoder know what symbol is assigned to what. And once your decoder knows that its easy for you to decode.

What I've just demonstrated above is the Variable Length (Size of the unique code word for each character changes) method. This is the most basic style of text compression. There are 2-3 algorithms to assist you in generating the code word table, they are Huffman Coding method and Shannon-Fano coding method.

Explaining them to you is beyond the scope of this post since they are relatively simple methods you can check in the links provided and ask certain large doubts if you've got them.

(Assuming you know how trees work, else learn basic data structures first and then get into such programming levels)

Tip: Shannon Fano coding is fairly easier than Huffman coding.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 11-04-2008, 07:26 AM   #14 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default Re: A good c++ prgram fro project.

Thanks Qwerty!

i know file handling, so i think i can go ahead with the project.
Thanks for explaning the concept behind it.
Now u are a good guy, unlike that Dheeraj !
sai_cool is offline  
Old 14-04-2008, 08:06 PM   #15 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: A good c++ prgram fro project.

Some mod deleted my looong reply to you, I guess. Too offensive? sorry mods

Anyway, I made my point quite clear. I highly suggest you read through my post once again. I dont mind being rude and arrogant as long as people learn something. I frankly shouldnt have cared if you leeched or not, nevermind *shrugs shoulders*

have fun, and learn something pl0x.

and hey, i dont really care about being branded as an idiot or a bad guy. my way of life is "dont care whatever the other person thinks about you unless its a she, and she is good looking, and she is single"

so, who cares about what a little noob says?
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 14-04-2008, 08:39 PM   #16 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: A good c++ prgram fro project.

Quote:
Originally Posted by dheeraj_kumar View Post
"dont care whatever the other person thinks about you unless its a she, and she is good looking, and she is single"
nice policy.. add to it 'and her father is rich'


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 15-04-2008, 04:26 AM   #17 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: A good c++ prgram fro project.

<offtopic>

@DigitalDude

heh heh... remember boys... no leeching applies to everything lolz

</offtopic>
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 19-04-2008, 12:05 PM   #18 (permalink)
In The Zone
 
Join Date: Jul 2006
Posts: 236
Default Re: A good c++ prgram fro project.

yaar, lets jus leave it at this. i have already finished and submitted my project. thanks for all the help/.
sai_cool is offline  
Old 19-04-2008, 03:28 PM   #19 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: A good c++ prgram fro project.

sai_cool - Could you post your project as an attachment here, or pastebin it?
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 08-05-2008, 01:25 AM   #20 (permalink)
Hacker
 
aasisvinayak's Avatar
 
Join Date: May 2008
Location: India - www.aasisvinayak.com
Posts: 29
Default Re: A good c++ prgram fro project.

take up some fsf projects !!

also check out my new forum.. might be of some help
__________________
1000 GB Space for files | 1 Free domain | 1 GB FTP Space for Site hosting| Many click-to-install softwares| 10 Domains

All these for just Rs. 1799/yr

http://www.nazdrovia.biz/bestplan.html

Last edited by aasisvinayak; 08-05-2008 at 01:25 AM. Reason: Automerged Doublepost
aasisvinayak is offline  
Old 08-05-2008, 07:24 AM   #21 (permalink)
Right Off the Assembly Line
 
Join Date: May 2008
Posts: 9
Default Re: A good c++ prgram fro project.

How to make a simple windows program in dev c++?
pc leone is offline  
Old 08-05-2008, 10:19 AM   #22 (permalink)
I have Yolks not Brains!
 
eggman's Avatar
 
Join Date: Aug 2006
Location: Inside the shell
Posts: 744
Default Re: A good c++ prgram fro project.

I am working on 15 puzzle solver....its good.....
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
eggman is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HYDRA project on the way...good news for bittorrent users...! naveen_reloaded Technology News 8 07-12-2007 05:22 PM
Need a good computer project..... plz help.... coolendra QnA (read only) 8 14-03-2007 03:34 PM
Friends pls suggest me a good web 2.0 project pavarathy QnA (read only) 2 13-02-2007 03:14 AM
A Good Project in PHP for my college project debiprasad_sahoo Open Source 8 15-12-2006 05:31 PM
Suggest a good project... coolendra QnA (read only) 4 14-08-2006 10:08 PM

 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2