Wow ... so the last revisions I did were garbage. Haven't practiced sorting or searching as yet so I am going to redo it during holidays. In the meantime, will try to post progress of this interesting coursework I am doing.
Wow ... so the last revisions I did were garbage. Haven't practiced sorting or searching as yet so I am going to redo it during holidays. In the meantime, will try to post progress of this interesting coursework I am doing.
Herd Mastodon with me:
https://linuxrocks.online/invite/ov3SKzQY
noob here with a noob question... code i see here is written in Java?
Zee
-----
To find yourself, think for yourself © Socrates 469 BC
i think its C. theres a java section for that kind of code
1337
It's indeed C. You may probably be able to judge it from the presence of a scanf or printf function.
Herd Mastodon with me:
https://linuxrocks.online/invite/ov3SKzQY
Last edited by techdude; Apr 8, 2012 at 05:05 AM.
Zee
-----
To find yourself, think for yourself © Socrates 469 BC
i did the code for coures work the other day..........
I am str88,no curves no bends.
nokia rocks(iphone too)
21.5 emachice 1080p .... intel core 2 quad q6600 ... 4gig ocz memory ....h/d 320g....gpu ati hd 5750 1gddr5..m/B..intel
On some new code.
Why does input result in a crash here? http://www.pastebay.net/442462
I am thinking fgets may the the proper way?
Last edited by carey; Apr 11, 2012 at 07:12 AM.
Herd Mastodon with me:
https://linuxrocks.online/invite/ov3SKzQY
Same thing happens here: http://www.pastebay.net/442801
Herd Mastodon with me:
https://linuxrocks.online/invite/ov3SKzQY
probably happens because youre trying to store a string inside a pointer which isnt allowed.
http://ideone.com/o7ms4
scroll down to see the output
1337
This works in my compiler but doesn't work on ideone.com: http://ideone.com/LbeTp
Guess this compiler needs to be more strict.
Herd Mastodon with me:
https://linuxrocks.online/invite/ov3SKzQY