Please register or login. There are 0 registered and 1536 anonymous users currently online. Current bandwidth usage: 326.30 kbit/s December 11 - 12:04pm EST 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Programming /
 

  problemsolving with c++, excercise help 
 
 Author 
 Date Written 
 Tools 
jean pierre bal Nov 11, 2006, 08:50am EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List Replies: 1 - Views: 1660
Hi,

i'm a student electronics-ict and need a little help with an exersize in my book: problem solving with c++ by walter savitch.
the excersize wants me to write a program that conversts an weight from pounds to kilo's,
now the problem is we need to use at least 3 functions and a call by ref, now i don't see how to use the call by ref here because it can be done so simple in 1 function by just letting the program calculate the weight and let it print the solution to the screen.

anyone that could show me an example how to do it maybe that i can understand how to use it?

thx on advance, jean pierre


Want to enjoy fewer advertisements and more features? Click here to become a Hardware Analysis registered user.
Brandon Whitt Jul 05, 2009, 12:07pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: problemsolving with c , excercise help
Hey, do you have to call by ref ? I'm pretty sure that c++ calls ref by default ...


Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.