Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,397 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,103 people online right now. Registration is fast and FREE... Join Now!




simpsons rule

2 Pages V  1 2 >  
Reply to this topicStart new topic

simpsons rule

1cookie
21 Oct, 2006 - 08:08 AM
Post #1

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
hi

i just picked this up, ive not seen it for a while, the code looks ok, it builds ok, no errors! but i can't actually get the program to perform an integration!

ta


blink.gif


Attached File(s)
Attached File  simpson.txt ( 2.51k ) Number of downloads: 793
User is offlineProfile CardPM
+Quote Post

gregoryH
RE: Simpsons Rule
21 Oct, 2006 - 10:23 PM
Post #2

D.I.C Regular
Group Icon

Joined: 4 Oct, 2006
Posts: 417


Dream Kudos: 50
My Contributions
QUOTE(1cookie @ 21 Oct, 2006 - 09:08 AM) *

hi

i just picked this up, ive not seen it for a while, the code looks ok, it builds ok, no errors! but i can't actually get the program to perform an integration!

ta


blink.gif


Have you considered single stepping the program.
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 12:37 AM
Post #3

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(gregoryH @ 21 Oct, 2006 - 11:23 PM) *

QUOTE(1cookie @ 21 Oct, 2006 - 09:08 AM) *

hi

i just picked this up, ive not seen it for a while, the code looks ok, it builds ok, no errors! but i can't actually get the program to perform an integration!

ta


blink.gif


Have you considered single stepping the program.



i haven't no!!, is this more efficient, and how would i go abut doing that??

pirate.gif
User is offlineProfile CardPM
+Quote Post

gregoryH
RE: Simpsons Rule
22 Oct, 2006 - 12:45 AM
Post #4

D.I.C Regular
Group Icon

Joined: 4 Oct, 2006
Posts: 417


Dream Kudos: 50
My Contributions
QUOTE(1cookie @ 21 Oct, 2006 - 09:08 AM) *


i haven't no!!, is this more efficient, and how would i go abut doing that??

pirate.gif


Its the way we would fault find a program... its a skill worth learning as you can see what the code is doing _and_ observe the variables.

How to is a little dependent on the Compilers "Integrated Development Environment" (IDE), so which one are you using.
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 01:52 AM
Post #5

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(gregoryH @ 22 Oct, 2006 - 01:45 AM) *

QUOTE(1cookie @ 21 Oct, 2006 - 09:08 AM) *


i haven't no!!, is this more efficient, and how would i go abut doing that??

pirate.gif


Its the way we would fault find a program... its a skill worth learning as you can see what the code is doing _and_ observe the variables.

How to is a little dependent on the Compilers "Integrated Development Environment" (IDE), so which one are you using.


ah!, now i have had some problems in the past with this. its a VC++ 6.0 Compiler, and a torrent download at that!...to be honest with you, i can't afford to pay $800 for an IDE, so i have to make do with this one!.

is it going to be more troble than its worth??
User is offlineProfile CardPM
+Quote Post

BitByte
RE: Simpsons Rule
22 Oct, 2006 - 03:01 AM
Post #6

D.I.C Head
**

Joined: 9 Aug, 2006
Posts: 194



Thanked: 2 times
My Contributions
You don't need to pay £800 for an IDE. There are plenty of free ones out there. Try code::blocks, great cross platform IDE. There is Microsoft VC++ Express for free, or even the new turbo C++ from borland. All these will be adequate for what you need. When you get more advanced at coding and need something more, then buy the expensive version if you need it. In that time you would have saved up.

Get a couple of them and try your programs on each one. They are free after all. I've got all three. Maybe someone else could recommend one they prefer?

This post has been edited by BitByte: 22 Oct, 2006 - 03:05 AM
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 04:11 AM
Post #7

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(BitByte @ 22 Oct, 2006 - 04:01 AM) *

You don't need to pay £800 for an IDE. There are plenty of free ones out there. Try code::blocks, great cross platform IDE. There is Microsoft VC++ Express for free, or even the new turbo C++ from borland. All these will be adequate for what you need. When you get more advanced at coding and need something more, then buy the expensive version if you need it. In that time you would have saved up.

Get a couple of them and try your programs on each one. They are free after all. I've got all three. Maybe someone else could recommend one they prefer?



the only problem is, i don't no where to start looking for them, maybe you could help!

ta
User is offlineProfile CardPM
+Quote Post

BitByte
RE: Simpsons Rule
22 Oct, 2006 - 04:45 AM
Post #8

D.I.C Head
**

Joined: 9 Aug, 2006
Posts: 194



Thanked: 2 times
My Contributions
Microsoft VC++

Borland Turbo Explorer C++

Put these three in a folder on your C drive named codeblocks
Codeblocks
MingW dll
Unicode dll for wx widgets. It's needed

Then get this, the mingw installer
MingW Installer
install to the default location
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 05:06 AM
Post #9

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(BitByte @ 22 Oct, 2006 - 05:45 AM) *

Microsoft VC++

Borland Turbo Explorer C++

Put these three in a folder on your C drive named codeblocks
Codeblocks
MingW dll
Unicode dll for wx widgets. It's needed

Then get this, the mingw installer
MingW Installer
install to the default location




thanks, ur a star!


cool.gif
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 06:15 AM
Post #10

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(1cookie @ 22 Oct, 2006 - 06:06 AM) *

QUOTE(BitByte @ 22 Oct, 2006 - 05:45 AM) *

Microsoft VC++

Borland Turbo Explorer C++

Put these three in a folder on your C drive named codeblocks
Codeblocks
MingW dll
Unicode dll for wx widgets. It's needed

Then get this, the mingw installer
MingW Installer
install to the default location




thanks, ur a star!


cool.gif




hi BitByte

you ain't got an alternative url to; kent.dl.sourceforge.net is taking too long to respond.

the server ain't playin for some reason!!

ta
User is offlineProfile CardPM
+Quote Post

BitByte
RE: Simpsons Rule
22 Oct, 2006 - 06:27 AM
Post #11

D.I.C Head
**

Joined: 9 Aug, 2006
Posts: 194



Thanked: 2 times
My Contributions
I don't have another link. I have the installer if there is someway to get it to you? It's only129Kb
User is offlineProfile CardPM
+Quote Post

1cookie
RE: Simpsons Rule
22 Oct, 2006 - 08:36 AM
Post #12

D.I.C Head
Group Icon

Joined: 19 Oct, 2006
Posts: 96


My Contributions
QUOTE(BitByte @ 22 Oct, 2006 - 07:27 AM) *

I don't have another link. I have the installer if there is someway to get it to you? It's only129Kb



could you email it??

andrew4562002@yahoo.co.uk
User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
Time is now: 12/5/08 02:58AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month