VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time ]
Subject: Forritunarverkefni 2


Author:
Hrur Helgi Helgason
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 15:03:07 03/09/04 Tue

g byrjai a a gefna klasann, OrdTidni, en fkk mgrt af villuboum. Flest eirra rjtluust af vi a bta inn augljsum hlutum bor vi ?#include og ?using namespace std;

sta ess a g sl inn essar lnur hr, er hins vegar a nokkur villubo uru samt eftir. au beindust flest a aferinni string ord(). Eftir tluverar tilraunir datt mr hug hvort a sti e.t.v. eitthva andanum a aferin hti sama nafni og nnur af private breytunum. Jj, a reyndist a.m.k. ng til a losna vi sustu villubo andans a umskra private breytuna, hvar sem hn kemur fyrir, r ?ord ?ordin, en lta aferina halda snu heiti.

N snist mr einkum rjr skringar essu koma til greina:

- C++ er _ekki_, rtt fyrir a sem g ur hlt, hgt a gefa breytum og fllum smu nfn. etta vri v villa ka.
- andinn sem g er a nota (GCC 3.3) rur ekki vi etta, en tti a gera a. etta vri v galli anda.
- Eitthva anna var a, en htti a kvarta vegna essara tilfringa minna. kynni virknin einnig a hafa breyst og klasinn mun v ekki starfa eins og honum var tla. etta vri v ekkt villa, sem e.t.v. er enn til staar.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
GsalappirHHH15:07:30 03/09/04 Tue
Forritunarverkefni 2 – lagfrtHHH15:11:31 03/09/04 Tue
Re: Forritunarverkefni 2Ymir23:59:45 03/09/04 Tue
Sniforriti og MacintoshHHH01:53:11 03/10/04 Wed
Bta inn milliskrefiHHH02:02:43 03/13/04 Sat
Afer 2HHH13:52:57 03/13/04 Sat
Afer 3HHH14:03:08 03/13/04 Sat
Afer 4HHH17:54:52 03/14/04 Sun


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT+0
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.