473,396 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

simple question about NR

Hello, all.
A smple question appears when I first step into the book "numerical
recipes in c++"(second edition). In page 3, the third paragraph below
the code"Third, comple the main program file, and also the files
flmoon.cpp and avevar.cpp,...".But where is the flmoon.cpp and
avevar.cpp files?

The code in page 1 to page 2 may be saved as flmoon.cpp, but avevar.cpp?

I am comfused about it.

Thank you for your help.

Regards,

bowlderyu
Oct 12 '08 #1
2 1408
On Oct 12, 9:34 am, bowlderyu <bowlde...@gmail.comwrote:
Hello, all.
A smple question appears when I first step into the book "numerical
recipes in c++"(second edition). In page 3, the third paragraph below
the code"Third, comple the main program file, and also the files
flmoon.cpp and avevar.cpp,...".But where is the flmoon.cpp and
avevar.cpp files?

The code in page 1 to page 2 may be saved as flmoon.cpp, but avevar.cpp?

I am comfused about it.

Thank you for your help.

Regards,

bowlderyu
Sorry, but you are starting off your quest to learn C++ off the wrong
foot. One doesn't compile files, one compiles programs put together by
using your brain cells. Start with an empty int main() and go from
there. Brain matter rocks, use it.

Oct 12 '08 #2
On Oct 12, 9:34*am, bowlderyu <bowlde...@gmail.comwrote:
Hello, all.
A smple question appears when I first step into the book "numerical
recipes in c++"(second edition). In page 3, the third paragraph below
the code"Third, comple the main program file, and also the files
flmoon.cpp and avevar.cpp,...".But where is the flmoon.cpp and
avevar.cpp files?

The code in page 1 to page 2 may be saved as flmoon.cpp, but avevar.cpp?

I am comfused about it.

Thank you for your help.

Regards,

bowlderyu
I'm pretty sure you will have to buy a license from their website to
get a machine readable copy of the code they refer to in the book. I
pretty sure not all the code they refer to in the book is actually
printed in the book. Check out the license info chapter in the front
of the book.

HTH
Oct 12 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: JKop | last post by:
Take the following simple function: unsigned long Plus5Percent(unsigned long input) { return ( input + input / 20 ); } Do yous ever consider the possibly more efficent:
13
by: Michael B Allen | last post by:
Hi, I've tried to write the *simplest* memory allocator possible. I think it would be useful in many cases such as allocating memory on stack as a poor man's garbage collection perhaps. I was...
8
by: Beam_Us_Up_Scotty | last post by:
Hello all, I am trying to write a "simple" animation using C#, and I've tried many things but nothing seems to work for me without leaking memory. Here's a very simple piece of code that uses a...
2
by: Abel Chan | last post by:
Hi there, I just got an assignment to work on server maintenance. It is a weekly task and we have about 7 production servers running Win2K server. The tasks include but not limited to 1)...
7
by: abcd | last post by:
I am trying to set up client machine and investigatging which .net components are missing to run aspx page. I have a simple aspx page which just has "hello world" printed.... When I request...
10
by: serge calderara | last post by:
Dear all, I need to build a web application which will contains articles (long or short) I was wondering on what is the correct way to retrive those article on web page. In orther words, when...
10
by: Andrew | last post by:
Sorry about this but I'm new to ADO.NET (finally coming from simple ADO, bless it) and I'm trying to create a simple three tier program. Ie, User interface Layer / Business object layer / Database...
14
by: Giancarlo Berenz | last post by:
Hi: Recently i write this code: class Simple { private: int value; public: int GiveMeARandom(void);
1
by: =?ISO-8859-1?Q?Tor_Erik_S=F8nvisen?= | last post by:
Hi, A while ago I asked a question on the list about a simple eval function, capable of eval'ing simple python constructs (tuples, dicts, lists, strings, numbers etc) in a secure manner:...
17
by: Chris M. Thomasson | last post by:
I use the following technique in all of my C++ projects; here is the example code with error checking omitted for brevity: _________________________________________________________________ /*...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.