Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / University Learning C++

Author
Message
Dragon Knight
18
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 12th Feb 2009 06:42 Edited at: 12th Feb 2009 06:50
--Direct Link--
http://www.hybridwolves.co.uk/Forum/viewforum.php?f=8

Well since i'm only on the second term, it shouldn't be hard to upload my little programs for people to learn from.

All open-source for people to learn from them. So far they've all been created just using the command console. Examples show reading and writing from and to files, and they're just little small programs, i'll keep adding as time passes and the more I do in class.

Hopefully people will benifit from this though, if anyone wants i can post up in detail even the smaller programs than these if anyone's wanting to learn from scratch?

-Edit-
All example code was created using Microsoft Visual Studio 2005
Using an empty project ^-^

Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 12th Feb 2009 07:41
You have to be a member of the forum in order to view the thread?


Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 12th Feb 2009 08:30 Edited at: 12th Feb 2009 08:32


EDIT: I should post something constructive I suppose.

I can't wait till I learn C++ at school. I understood Java pretty quick, and am looking forward to getting into the mother of all languages.

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
-Computer Animation Major @Baker.edu-
Dragon Knight
18
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 12th Feb 2009 09:28
Jeku, I just realized that there now, i don't even think the members could have seen it. It required me to go into the forum thing and change the permissions.

Sorry about that folks, fixed now ^-^

Sid Sinister, one of the first languages i had to learn was Java. If you can code in Dark Basic and Java I'm sure you'll have no problem adapting to the syntax ^-^.

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 13th Feb 2009 00:12
First language I had to learn was Pascal. Just wait to you get to Cobol, you'll learn to hate programming.

Your signature has been erased by a mod because it's larger than 600x120
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 14th Feb 2009 22:32
People still use COBOL? That's what my dad learned in college...30 years ago

~QJ
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 14th Feb 2009 23:34
I've actually seen quite a few jobs in the papers looking for cobol programmers. There's still a need to support old legacy applications, and the people who wrote them are mostly retired now. It's up to us young wipper snappers.

[url="http://dbcc.zimnox.com"][/url]
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 15th Feb 2009 16:46
I believe it's spelled whipper-snappers
(see the h and the hyphen)

~QJ
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 15th Feb 2009 16:58
Or, you know, if we just learn real programming languages, they'll pay us to rewrite the programs instead

"I acctually quite like this site. And noone will know because this is a secret..." - Anonymous
Shhdb.com
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Feb 2009 21:33
Rewrite approximately 300 BILLION lines of code? Just because that fully functional and working code isn't written in a language that is cool? Are you mental?

Anyway, why rewrite, when you can simply recompile for the platform of your choice and reuse it?

Note, I'm not a fan of COBOL, just the opposite in fact. I consider it a horrible language to use - it's one of the few read-only languages I know

Monk
16
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 15th Feb 2009 22:58
What course do you do at uni? Im looking at a programming related course, but i cant do maths and physics and computing in the came subject
well not that ive found...

Dragon Knight
18
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 15th Feb 2009 23:46 Edited at: 15th Feb 2009 23:50
Monk, Newcastle - Northumbria University in England 'Computer Games Software Engineering (BSc (Hons))'
http://www.northumbria.ac.uk/?view=CourseDetail&code=UUSCGS1

Requirments are on the website. I got in with a BTEC national diploma in Software Engineering, I didn't have the maths, hence why I'm working hard.

I had only Maths C level in GCSE, and I'm not going to lie to you there's allot of maths in it. 3 hours of maths on Tuesdays..

I believe they expect you to know A level maths at least. (Which i had to work my ass off in the summer to catch up, still learning lol) If you get people to work with you the maths isn't too bad.

E.g. our assignment coming up will be to work with the physics of a rocket / parachute drop / two skidding cars. They teach you it all, but you will be expected to revise allot ^-^.

P.s. hint, do not go into game design, go for the programming

David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 16th Feb 2009 18:14
Quote: "Just because that fully functional and working code isn't written in a language that is cool? Are you mental?"


Yeah, in the same way they never translated the bible from Latin to English so more people could understand it. Oh, wait...


09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 16th Feb 2009 18:26 Edited at: 16th Feb 2009 18:27
@David R - Your comparison is not valid.

I know of several projects in the game industry that face the same challenge. Many of today's games will have code in them that can be several years or even a decade in age. While it may make sense to convert some old backwards APIs to a current level, the cost is too high so it makes more sense to just support the old legacy code.

The Bible was in Hebrew and Greek by the way

David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 16th Feb 2009 18:29 Edited at: 16th Feb 2009 18:32
Quote: "The Bible was in Hebrew and Greek by the way "


Priests in most of Europe could just about read sermons in Latin, let alone Hebrew/Greek - hence most European bibles prior to native translation were in fact in Latin

Also, assuming my comparison is invalid, what's going to happen? Are we going to leave systems written in COBOL running for the next couple of decades? I seriously doubt it, especially since there are problems getting COBOL programmers/maintainers now, let alone 20 years from now (and we're only around ~50 years since COBOL was introduced - imagine what it will be like once we reach ~75 years, considering the current "death of COBOL" in terms of education)


09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 16th Feb 2009 18:41
@David R - http://en.wikipedia.org/wiki/Bible

The Bible as we have it today (Old Testamenet & New Testament) were originally written in Hebrew and Greek.

Not sure if you're claiming that they were originally written in Latin or just that an early translation was Latin.

David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 16th Feb 2009 18:45 Edited at: 16th Feb 2009 18:46
Quote: "hence most European bibles prior to native translation were in fact in Latin"


i.e. I'm not saying the original was Latin, but most European bibles would have been in Latin


09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Monk
16
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 16th Feb 2009 19:02
Cheers Dragon,
Im still swaying towards the maths and physics courses, and teaching myself programming, but im nowhere near made up my mind...

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Feb 2009 23:47
Quote: "Are we going to leave systems written in COBOL running for the next couple of decades? I seriously doubt it"

Why not? Imagine 100's of thousands of programmers coding flat out for 50 years ... that's what you have to replace with <insert 'modern' language here>, simply to replace what is already there. Yeah, I can really see a for-profit company doing that

Ok, I agree that support costs will rise over time, but there's no way that those will ever reach the cost of recoding everything. In fact, in the timescales you talk about, I can see that there will still be COBOL coders around, quietly taking the abuse that other programmers dish out, while taking home twice the salary The demand will be there with the money will pay for it, the supply will follow.

As for the readability of COBOL, take a look at some of the code sometime - I called it a read-only language for the very good reason that it can be immensely readable. Plain old procedural code, with everything clearly spelt out using plain English. (Emphasis on 'can be' - you can write crap code in any language).

Dragon Knight
18
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 17th Feb 2009 00:02 Edited at: 17th Feb 2009 00:06
Monk, no problem. I say jump right in the fact you've actually started programming games shows you're keen.

I did what you are doing now, learning before you decide if you wanna go to uni to do it. Be careful though you might end up getting a job and not going for what you want (what i did lol, worked a pile of random jobs instead of just going for games programming e.g. software developing for people but it had it's up points)

David R & IanM. Did they not pay approx sallarys of 100,000 pound for 6-7 months work in 1999 to stop the y2k bug from crashing those machines in each company. One of my lectures insists on learning COBOL once more in the final year as if you know it, your practically guaranteed a job. ^-^

I do think though we should move forward, but it's like the old saying don't fix the toaster if it's not broken or unless you can make it triple it's usefulness.

Random info:

I shall keep my promise of putting up each of my weeks work, i should probably date it from this point on so people can learn from say week3... onward to the end of the year looking at how the work load progress's.

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Feb 2009 02:42
Quote: "quietly taking the abuse that other programmers dish out, while taking home twice the salary"


Between that and having used COBOL myself, I'll never look down on a cobol programmer.

Oh, and don't ever tell someone you hate cobol, cause then the interviewer will tell you 10% of the job is cobol.

Also, keep in mind that many companies still use those old 70's mainframes they spent millions on. RPG can still be a useful knowledge tool. My last employer had 1 guy who maintained the code and years after he retired a problem arose and nobody had a clue what to do.

[url="http://dbcc.zimnox.com"][/url]
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 17th Feb 2009 10:03
One of my dad's freinds is still programming in COBOL. I had never heard of it before though when he told me

Monk
16
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 17th Feb 2009 11:44
Quote: "I shall keep my promise of putting up each of my weeks work, i should probably date it from this point on so people can learn from say week3... onward to the end of the year looking at how the work load progress's."


Thatll be cool!

Login to post a reply

Server time is: 2025-06-07 15:43:16
Your offset time is: 2025-06-07 15:43:16