Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 34
Search took 0.06 seconds.
Search: Posts Made By: Shawn Curry
Forum: Computer Programming 12-15-2002, 05:57 AM
Replies: 3
Views: 2,522
Posted By Shawn Curry
I figured it out. I had made a main.cpp for it,...

I figured it out. I had made a main.cpp for it, but I didnt add it to the project.:thumbsup:
Forum: Computer Programming 12-13-2002, 02:21 AM
Replies: 3
Views: 2,522
Posted By Shawn Curry
Help compiling my first C++ program under Linux

I'm used to using MSVC++ and Borland C++ Builder under Windows.... I've recently migrated to Linux (Red Hat 8) and I'm trying to compile my first QT project. I made the one straight off the...
Forum: Computer/PC discussions 11-15-2002, 05:24 AM
Replies: 13
Views: 1,659
Posted By Shawn Curry
Hard Drive Question

I bought my computer about a year ago and it came with an Ultra ATA 100 disk. I want to buy a new HD (to install Linux on). Can I use an Ultra ATA 133 drive or where do I have to look to find out? ...
Forum: Computer/PC discussions 11-15-2002, 04:31 AM
Replies: 3
Views: 1,717
Posted By Shawn Curry
How about some good eBooks etc to teach and old...

How about some good eBooks etc to teach and old DOS some new Linux? I. E. Unix Theory 101?
Forum: Computer/PC discussions 11-15-2002, 03:05 AM
Replies: 3
Views: 1,717
Posted By Shawn Curry
Linux question..

There was a thread about this earlier, but I wanted some clarification...

I'm just starting to learn about Linux. I'm researching the compatibilty of my hardware right now. I heard Red Hat was...
Forum: Computer Programming 10-30-2002, 08:59 AM
Replies: 2
Views: 1,337
Posted By Shawn Curry
Depends what you're using. It's kinda tricky in...

Depends what you're using. It's kinda tricky in MSVC++. You can use the AppWizards (MFC, ATL, etc) to design some of it, but its got a lot different feel from VB, and you have to know something...
Forum: Computer Programming 10-30-2002, 06:50 AM
Replies: 1
Views: 27,716
Posted By Shawn Curry
That's what i'm thinking too. If making this...

That's what i'm thinking too. If making this numbers class has taught me anything its that when your passing a lot of variables to several different functions, certain things can lead the program to...
Forum: Computer Programming 10-30-2002, 12:39 AM
Replies: 8
Views: 2,084
Posted By Shawn Curry
Yeah I thought about that too. I may put that...

Yeah I thought about that too. I may put that char array at global scope so it only initializes it once. All my algorithms are still pretty darn quick, though. My division algorithm extracted 3000...
Forum: Computer Programming 10-29-2002, 06:11 AM
Replies: 8
Views: 2,084
Posted By Shawn Curry
The reason I started to build this was for large...

The reason I started to build this was for large prime numbers. I used my base class (Whole numbers) to build the Sieve of Erosthanes(an elementary method of computing primes). I had this...
Forum: Computer Programming 10-28-2002, 01:33 PM
Replies: 8
Views: 2,084
Posted By Shawn Curry
Ok ok. I guess i'm using the elementary...

Ok ok. I guess i'm using the elementary definition of irrational. What was trying to say is that it is a number which has no definate stopping point, it just goes on and on forever.

But, I can...
Forum: Computer Programming 10-28-2002, 02:01 AM
Replies: 8
Views: 2,084
Posted By Shawn Curry
Im using MSVC++ Intro Ed 6. I think Java has a...

Im using MSVC++ Intro Ed 6. I think Java has a BigInteger and BigDecimal class, so i've heard. I'm really just doing it b/c its a really good learning tool for me. I'm in school for it now but...
Forum: Computer Programming 10-27-2002, 03:27 AM
Replies: 8
Views: 2,084
Posted By Shawn Curry
Speed Question

I'm still working on that numbers class. I'm dam proud of that thing!! It can do irrational division now (like 1 div by 7). I'm working on a pattern matching function for it now so it can identify...
Forum: Computer Programming 10-23-2002, 07:10 AM
Replies: 1
Views: 1,685
Posted By Shawn Curry
linker problems??

I have 5 translation units now for my long math class. They all begin and end with:

#ifndef INTEGER_H
#define INTEGER_H

#endif

the individual files have their own symbols, but im having...
Forum: Computer Programming 10-22-2002, 08:16 AM
Replies: 1
Views: 1,817
Posted By Shawn Curry
Just for a further clarification, I know I could...

Just for a further clarification, I know I could just write a function to do this, I just want to be able to say something like:

Whole a = "100";
Integer b = a;

OR

Integer b(a);// like a...
Forum: Computer Programming 10-22-2002, 08:02 AM
Replies: 1
Views: 1,817
Posted By Shawn Curry
Explicit Class Conversions??

I have a long math class which is simply a pointer to a string(for flexible length) and an unsigned long for the strlen() (so i dont have to call the function every time i need it). I'm in the...
Forum: Computer Programming 10-22-2002, 07:29 AM
Replies: 5
Views: 2,475
Posted By Shawn Curry
I'm kinda new at this, but I'm writing that very...

I'm kinda new at this, but I'm writing that very library. I set up a class as a pointer to a string(for flexible length) and and unsigned long to hold the strlen() so i wasnt calling it every 30...
Forum: Computer Programming 10-15-2002, 07:21 PM
Replies: 0
Views: 1,923
Posted By Shawn Curry
Answer to: C++ func. to display line#

61 people looked at this post and noone came up with it... But I found it and its really pretty useful, so here it is:

__LINE__

Its a macro, and you can insert it into the iostream or a printf...
Forum: Computer Programming 10-15-2002, 06:55 PM
Replies: 2
Views: 3,592
Posted By Shawn Curry
Yep that's the one! Thanks

Yep that's the one!

Thanks
Forum: Computer Programming 10-15-2002, 06:16 AM
Replies: 2
Views: 3,592
Posted By Shawn Curry
Virtual Functions and Inheritance?

Ok next question. I know that when I declare a pure virtual function in a class, I have to make sure to provide a def. for it in all the classes I derive from it, or that class is also an abstract...
Forum: Computer Programming 10-15-2002, 04:46 AM
Replies: 1
Views: 1,691
Posted By Shawn Curry
Well, just in case your reading this and dont...

Well, just in case your reading this and dont know:

class first
{

char* string;

public:

first operator+(const first& f);// binary
Forum: Computer Programming 10-14-2002, 07:33 PM
Replies: 1
Views: 1,691
Posted By Shawn Curry
Overloading Unary Operators?

The books that I have on C++ dont really explain the difference in overloading binary and unary operators. I have a long math class to handle extremely large numbers. I overloaded pretty much all...
Forum: Java and JSP 10-14-2002, 04:02 PM
Replies: 7
Views: 4,690
Posted By Shawn Curry
Making a game is no easy task... There are...

Making a game is no easy task... There are utilites for rendering 3d objects and extracting all the sprites you need. As for torpedoes and blowing ships up, thats gonna take some heavy math. You...
Forum: Computer Programming 10-14-2002, 03:48 PM
Replies: 3
Views: 5,233
Posted By Shawn Curry
I wrote a small library for storing and...

I wrote a small library for storing and processing large numbers like that(C++ standard types cant handle numbers that large accurately). It does take about 10 mins on a P3 to give an answer. Only...
Forum: Computer Programming 10-14-2002, 03:42 PM
Replies: 17
Views: 14,189
Posted By Shawn Curry
Well, like I said you need to learn OpenGL or...

Well, like I said you need to learn OpenGL or DirectX. Don't waste your time with anything else. In fact, if you dont know either of these, learn OpenGL first. It's platform-independant; you can...
Forum: Computer Programming 10-14-2002, 03:33 PM
Replies: 4
Views: 1,715
Posted By Shawn Curry
I've only been programming for about 4 months now...

I've only been programming for about 4 months now and I really dont know that much about the MFC yet. Are there any good references on how to implement the CArray class?

I was able to implement...
Showing results 1 to 25 of 34

 
Forum Jump

All times are GMT +1. The time now is 05:52 PM.