d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Idea For A Easy Program In C?
12Next
Add Reply New Topic New Poll
Member
Posts: 1,478
Joined: Jul 4 2009
Gold: 0.00
Jun 3 2012 11:53am
Hy guys!
I need help. I want to write a Program in C to improve my mark. (in console application)
Someone has a good idea? I dont have that high skills now.
What i know: Arrays, Pointers, enum, if, for, do while, etc.
For good ideas => donation
Member
Posts: 9,803
Joined: Jun 28 2005
Gold: 6.67
Jun 3 2012 12:00pm
Try writing a program that finds all primes in a selected range.
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 3 2012 01:50pm
Enigma (2nd world war item)
You can implement that with arrays / pointers.
I found this link and imo it's very useful to implement the enigma: http://mckoss.com/Crypto/Paper%20Enigma.pdf
If you need help or tips, just ask :)
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 3 2012 05:21pm
That's preety much all you need lol. Make like a rpg or something its just a bunch of ifs and stuff
Member
Posts: 31,680
Joined: Nov 10 2007
Gold: 1.00
Jun 4 2012 01:24pm
Quote (AbDuCt @ 3 Jun 2012 17:21)
That's preety much all you need lol. Make like a rpg or something its just a bunch of ifs and stuff


"Bunch of ifs?" Why not generate an entire system of function-pointers that dynamically modify themselves...
For the sake of simplicity, and program design. It shouldn't be difficult at all. It's also in the console.
Member
Posts: 2,303
Joined: Oct 11 2007
Gold: 0.00
Jun 4 2012 08:31pm
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

did that as a C# console project, had fun
Member
Posts: 781
Joined: Aug 27 2006
Gold: 319.00
Jun 5 2012 11:12pm
Quote (Eleven11 @ Jun 4 2012 11:31pm)
http://en.wikipedia.org/wiki/Conways%5FGame%5Fof%5FLife

did that as a C# console project, had fun


Yea, I did that once, good shit. Even used sdl to get some visuals.
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Jun 6 2012 02:32pm
http://www.wowwiki.com/Battle.net_Mobile_Authenticator_Specification

write simple console app that generates valid one-time codes :) imho pretty good programming excercise, writing programs according to specification. And program by itself would be very useful, if written in pure C (you could port to arduino board, you could port to linux phones, etc).

Arduino + pure C implementation = hardware battle.net authenticator :)
Member
Posts: 21,407
Joined: Jun 15 2007
Gold: 120,303.00
Jun 6 2012 02:43pm
Quote (ikusus @ 7 Jun 2012 06:32)
http://www.wowwiki.com/Battle.net%5FMobile%5FAuthenticator%5FSpecification

write simple console app that generates valid one-time codes :) imho pretty good programming excercise, writing programs according to specification. And program by itself would be very useful, if written in pure C (you could port to arduino board, you could port to linux phones, etc).

Arduino + pure C implementation = hardware battle.net authenticator :)


wow dont listen 2 this guy that is againt eula
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Jun 6 2012 02:44pm
This post is a violation of the site rules and appropriate action was taken.

Quote (dos350 @ 6 Jun 2012 21:43)
wow dont listen 2 this guy that is againt eula


you're a moron.

it is not.
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll