Help using pointers or what ever you would call it...
Hello!
I usally do not asks for code, but this I think someone has to show and explain for me. so if any of you have some spare time I would be grateful.
ok, i want to make two arrays, one with names of a person, and one list with different beers. This part is not a problem.
Now I want to be able to tell the system that:
1.
person A own beear number 3 (Heiniken)
person B owns beer number 1 (Falcon).
Then they switch ownership so that person
2.
person A owns beer number 1 (Falcon)
Person B owns beer number 3 (Heiniken)
Now Person A decide to own all the beers
3.
Person A owns beer number 1 (Falcon) and beer number 3 (Heiniken)
Person B owns zero beers
How do I do this? I feel totally lost.
If you could be kind enugh to explain this for me and show an example code of point 1, then I can proably figure out the rest for my self.
Regards
Martin
What classes have you defined so far?
Similar Messages
-
Help, my iphone 5 is locked and will not function! I've turned it off and on and it has the same fault. What ever you press on the screen highlights with a box round it. When you press the round button with the square in the centre the voice on the phone tells you the time. Then the voice says screen lock. If I try and unlock the phone the voice says phone unlock but you can't put the code in. If you hight the box it will say the number but not put the code in?! What's the crack?
Quickly Triple tap the home button to de-activate VoiceOver.
-
Please do what ever you can to get iTunes Match in Italy as soon as possible. it's very important!! make it happens, please!!
You aren't talking to Apple here, just ofther users.
Try this instead:
http://www.apple.com/feedback/ -
I deleted a movie how to get the money back to my itunes card allowance what ever it is called
i rent a movie but do not want it because it is french how to put that money back to my allowance or what ever it is called Help please
There are no refunds.
-
If Verizon can place the robocall six rings deep, my own voicemail will beat the offending Iphone voice to the punch. How do I manage that, or delay the Iphone robocall answer "the person you're calling has not set up his voice mail!"
Well, given the time you've spent here...you could have contacted Verizon yourself & already gotten an answer. And since they are the only one's that can adjust this to begin with, seems to me the best couse of action is to contact them.
Good luck. -
I have created a new one but it doesn't work, i.e. the erase button doesn't work, so I have to shift the mails into it manually. Also, the file is not deleted when I press the erase waste paper button in the file tab. Does the waste paper box have some further attributes I would have to set? Or what else can I do?
Danke Georg Genau so hats funktioniert! War eine prefekte Hilfe
Gruß Bernd -
WHat is the best way to communicate back to the US and within Israel with my iPhone 4s and my iPad?
For free using cellular voice or data? Forget it. Especially if you have Verizon. T-Mobile is the only US carrier with reasonable roaming rates and services. Verizon is the worst for International roaming.
If you have a WiFi connection you can use Facetime, Skype or similar apps for voice, and Yahoo Messenger, GoogleTalk, Twitter or similar for texting.
If you are eligible for an upgrade get an iPhone 5S from Verizon. It is unlocked for International use. So you can use an Israeli SIM while there. It won't be free, but it will be no more expensive than anyone in Israel pays. -
Hello,for couple days I'm trying to update some applications, but it asks me my Apple ID for my billing information, than I was and I'm trying to change my credit card info.- but it's still the same,please solve this problem
See if this article will help:
iTunes Store: My credit card's security code or zip code does not match my bank's records
http://support.apple.com/kb/TS1646 -
I am trying to activate Windows 8 Enterprise. However, the workstation I'm running it on is not able to connect to the Internet. So, I select "Activate over the phone". However, the "Click nearest location" is greyed out.
The default is set to Afghanistan, which unhelpfully lists a toll number to call in Afghanistan...which would work if I lived in Afghanistan, but I don't. Other than pluggint the system into the Internet is there a way to activate my copy of Windows
8 Enterprise over the phone? I need a toll free US number.I appreciated the tip. However, it is not the answer to my post. I only need a toll free US phone number to complete over the phone activation. Like I said in my original post, the drop-down selection box is greyed out and only shows a
number for users in Afghanistan.
If phone activation for the evaluation version of Windows 8 Enterprise is unavailable, then THAT should be the answer.
Here you go...
1-888-725-1047
Regards,
prathaprabhu -
My husbands ipad2 64gb 3G the screen keeps freezing. What ever you are working on stops after about 2 minutes the screen freezes and after another few moments you are required to put you password in again. It only started this morning and had been working perfectly until today. I purchased from eBay three weeks ago. If watching bbc new you can only watch for 2 minutes and same for video and games. Keeps coming back to screen saver where all icons are. Sometimes we are to use the on off button to get it going again. I set it up the same as my own iPad 32gb. Hope you can help? Thanks.
Spilled water without flavorings and especially without sugar is something from which your computer may recover. The best thing to do is to shut off as quickly as possible and remove the battery pack. Place the computer in a sunny window with the lid open to promote evaporation of the water. On top of a refrigerator is also a warm perch that'll promote drying. It is difficult to say exactly how long it takes to dry the computer; that depends on ambient temperature and humidity, and how how water is in there.
The biggest threat from the water is corrosion of metal parts, so drying quickly is a must. Also, water can form mineral salt deposits that can grow conductive dendrites between adjacent traces on printed circuit boards. The formation of dendrites is aggravated if you apply power before the machine is dried out. The worst damage would be if water managed to get in the breather hole of the hard drive - luckily, the way the drive is mounted, that would be fairly unlikely.
Bill -
Need help using music library on external hard drive
Here is my scenario. I am hoping some one can help me as I have been having a heck of time trying to figure this out. I am what you would call newbie to Mac(I just purchased macBook) so bear with me).
I have a iTunes library on an external hard drive that was created using Windows PC machine. I now would like to use the same library on my Mac. How can I get the Mac to connect to the iTunes Music on the external hard drive?
This is what I have done so far. I have been able to network the Mac with my current network so it does see the external hard drive.
BTW, I would like to achieve this without having iTunes open on Windows machine. I know about the sharing option in iTunes but I have discovered that it only works if I have iTunes open on the Windows machine. This may not always be the case so this is why i am hoping their is an alternative to get the mac to connect to the library on the external hard drive.
I look forward to help on this one.
...BruceMaybe I did not explain myself clearly. All I want to do is be able to listen to the music in my itunes library on external hard drive on my new MacBook. I am thinking all I will have to do is create the itunes database file on my Mac using the music in my library(on external HD).
-
Help: Using Record and Collection Methods
I have created a record and I have to loop for as many records in the "RECORD". However if I attempt using any of the Collection Methods, I get the following error:
ERROR at line 1:
ORA-06550: line 41, column 14:
PLS-00302: component 'EXISTS' must be declared
ORA-06550: line 41, column 4:
PL/SQL: Statement ignored
ORA-06550: line 47, column 26:
PLS-00302: component 'COUNT' must be declared
ORA-06550: line 47, column 7:
PL/SQL: Statement ignored
Here is the SQL I am trying to execute:
DECLARE
TYPE Emp_Rec is RECORD (
Emp_Id Emp.Emp_no%TYPE
, Name Emp.Ename%TYPE
ERec Emp_Rec;
Cursor C_Emp IS
SELECT
Emp_No, Ename
From Emp;
begin
OPEN C_Emp;
LOOP
FETCH C_Emp INTO Erec;
EXIT WHEN C_Emp%NOTFOUND;
END LOOP;
IF Erec.Exists(1) THEN
dbms_output.Put_line('exists' );
else
dbms_output.Put_line('does not exists');
end if;
CLOSE C_Emp;
FOR I IN 1..ERec.COUNT
LOOP
dbms_Output.Put_Line( 'Row: ' || To_Char(I) || '; Emp: ' || ERec(i).Name) ;
END LOOP;
end;
Can anyone help, please?
Thanking you in advance,You only defined a Record and not a collection, therefore you cannot use .EXISTS
This is how you would use record, collection and exists together
DECLARE
TYPE Emp_Rec is RECORD
(Emp_Id Emp.Empno%TYPE,
EName Emp.Ename%TYPE );
TYPE Emp_tab is table of emp_rec index by binary_integer;
ERec Emp_tab;
Idx INTEGER;
Cursor C_Emp IS
SELECT EmpNo, Ename From Emp;
begin
IDX := 1;
OPEN C_Emp;
LOOP
FETCH C_Emp INTO Erec(IDX);
EXIT WHEN C_Emp%NOTFOUND;
IDX := IDX + 1;
END LOOP;
IF Erec.Exists(1) THEN
dbms_output.Put_line('exists' );
else
dbms_output.Put_line('does not exists');
end if;
CLOSE C_Emp;
FOR I IN 1..ERec.COUNT LOOP
dbms_Output.Put_Line( 'Row: ' || To_Char(I) || '; Emp: ' || ERec(i).eName) ;
END LOOP;
end;I hope you realize that this is only an example of how to use RECORD, COLLECTIONS and Collection Methods (.EXISTS, .COUNT)
and not the best way to display the contents of a table. -
Help using JTAPI, i am new to it.
i am tring to configure weblogic8.1 in jbuilder7. some one help me
i tried to configure it my self and it seems tobe configured.but when i use menu command "make project"
i got two warrnings following four errors.
warrning text contains massage as:
spaces in temporary directory path may cause fatal error to ejbc compiler.
pls help me.
[email protected]Hi,
You would probably get a more timely response by posting on the borland or bea forums at either borland.com or bea.com
regards,
lance -
Canon MX892 - what are you thoughts?
My Brother all-in-one printer/fax/copier/scanner died. I am considering the Canon MX892 all-in-one. Anyone using it? What are you thoughts? Thanks.
I like that fact that it has separate color ink tanks. Which ink tanks does it use the least? I am wondering what the difference is between the 2 black inks.I normally love Canon because of the separate ink tanks. I just bought this one as a replacement for my Canon MX700. I loved that old printer - it did everything.
This one is awful - unless I just happen to have a defective model. When copying and scanning, the colors are not the same as the original. At first I thought it was the ink tanks, so scanned to the computer to be sure - and the scan turned out black and white (and I know I pressed the color button).
I will be returning this one. -
Is there a number you can call to get help for your ipod
does apple offer a help line of any sort that you can call if you need help with your Ipod?
Call 1-800-275-2273 for technical assistance
EDIT: And despite the fact that Barbara and I have posted duplicate responses within minutes of eachother on about a dozen threads today... we are NOT competing with eachother
Maybe you are looking for
-
Catalog codes not getting displayed in Field- QS41
During my customisation activity, codes of catalog profiles are not getting displayed in SAP screen. Field for codes are showing as blank grey area in QS41 Tcode. If I try creating same codes again, system throwing error saying "key for entry is exis
-
Hi, I am using UTL file to export data to an external file and getting an error which i am unable to reslove... Can anyone help me with this SQL> create or replace 2 procedure MEXICO_NAFTA_CERTIFICATE_EXT ( 3 f_org_id varchar2, 4 f_customer_nbr_base
-
I've pulled in 5 videos and clippled them up to create a 50 second reel showing short segments of each. The video is for an HTML 5 embed on a website so it's at an odd size (235x162). Everything looks great when viewing the editable composition withi
-
I cant remember my system password
I just bought a new MacBookPro and cannot remember my system password, what should I do?
-
Ibooks author for 10.6 ???
I was told that Author would work on 10.6.6 and later, however when I try to download it now says that I have to have 10.7.2. My machines cant load 10.7 so where do I get the Ibooks Author version that will run under 10.6.8?