All source code in C/ C++ Ask a C/ C++ Pro Discussion Forum Categories All jobs in C/ C++
MAED,code,shows,swap,numbers,using,pointers,i
   Code/Articles � |  Newest/Best � |  Community � |  Jobs � |  Other � |  Goto � | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
C/ C++ Stats

 Code: 1,244,848. lines
 Jobs: 173. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for C/ C++.
Click here to see a screenshot of this code!Simple Payroll Syste Using Object Oriented Programming
By Jake Rodriguez Pomperada on 3/8

(Screen Shot)

Black Jack OOP
By Micu Danie on 3/8


Click here to see a screenshot of this code!Tasks
By Ali Moussawi on 3/7

(Screen Shot)

Click here to see a screenshot of this code!vijendra's car
By vjendra singh on 3/6

(Screen Shot)

Taj Lahal
By vjendra singh on 3/6


To Find Minimum and Maximum Height of a Binary Tree
By jeyaveerapandiy an on 3/3


Click here to see a screenshot of this code!ATM Machine
By arifliminto86 on 3/3

(Screen Shot)

Click here to see a screenshot of this code!Gap Buffer varient without a gap
By Joe Smith on 3/2

(Screen Shot)

Click here to see a screenshot of this code!Simple calculator
By walid brahem on 3/2

(Screen Shot)

File Editor
By Prasad Priyadarshana Fernando on 3/2


Text Finder
By Prasad Priyadarshana Fernando on 3/2


Simple TCP/IP Client & Server
By Prasad Priyadarshana Fernando on 3/1


LUTTAPI-1
By melwin jose on 2/27


Prime Factorization
By SergiuXxCracker on 2/27


netcmdx
By sam lee on 6/18


Click here to see a screenshot of this code!Yard To Feet Converter 1.0 Using Classes
By Jake Rodriguez Pomperada on 2/24

(Screen Shot)

Click here to see a screenshot of this code!Addition of Numbers Using Classes and Pointers
By Jake Rodriguez Pomperada on 2/24

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Swap a Nymber Using Pointers

Print
Email
 
winzip icon
Submitted on: 2/4/2010 9:13:02 AM
By: Jake Rodriguez Pomperada  
Level: Advanced
User Rating: Unrated
Compatibility:C++ (general), Microsoft Visual C++, Borland C++

Users have accessed this code 700 times.
 
author picture
(About the author)
 
     About this code it shows how to swap the numbers using pointers in C++. I intended my code for beginners to C++ programming. If you have some questions about my work please send me an email at jakerpomperada@yahoo.com. People here in the Philippines can reach me in my mobile phone number 09296768375 and my telephone number at home +63 (034) 4335081. I am also accepting programming jobs like assignments, projects and thesis in a very reasonable and affordable price. Thank you very much and God Bless. Regards, Mr. Jake Rodriguez Pomperada, MAED - Instructional Technology Programmer, Teacher and Computer Technician

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 56 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments

 There are no comments on this submission.
 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | C/ C++ Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright� 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.