C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 22nd, 2003, 09:18 PM
andy3109's Avatar
andy3109 andy3109 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 421 andy3109 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 46 m 21 sec
Reputation Power: 6
Send a message via AIM to andy3109
apmatrix issues

I use MSVC++ 6 and am coming across the portion in my book that talks about "apmatrix." it tells me to use apmatrix.h however, the file can't be found. I know there is a way you can add class and header files to the MSVC database but I am unsure of how to do this. I have the code for apmatrix.h but I don't know how to make it so the compiler recognizes it and uses it for my program. Thanks in advance.

-andy
__________________
hmmm...

Reply With Quote
  #2  
Old April 22nd, 2003, 09:47 PM
7stud 7stud is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2001
Posts: 1,327 7stud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 44 m 50 sec
Reputation Power: 9
Hi,

For a particular program, you can always create a .h file and paste that code in there, and include it just like any other .h file you create.

But, it would be handier if you could just include it without having to paste it into your code everytime. You might want to try putting it in the folder:

C++Microsoft Visual Studio\Vc98\Include

I just corrupted one of my standard library header files in there, and I was able to replace it with uncorrupted code, and it seems to work fine now, so that's the key folder you want to look at.

[edit]I tried a little test by putting a simple header file in that folder, and I was able to include it in a program and the program compiled and ran fine. I could use either form of include statement to successfully include the header file:

#include <test.h>
#include "test.h"

Last edited by 7stud : April 22nd, 2003 at 10:02 PM.

Reply With Quote
  #3  
Old April 22nd, 2003, 10:06 PM
7stud 7stud is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2001
Posts: 1,327 7stud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 44 m 50 sec
Reputation Power: 9
I just thought of something--I imagine there's an apmatrix.cpp file you're going to need too. Do you have it?

Reply With Quote
  #4  
Old April 22nd, 2003, 10:39 PM
andy3109's Avatar
andy3109 andy3109 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 421 andy3109 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 46 m 21 sec
Reputation Power: 6
Send a message via AIM to andy3109
yea I got it to work..the include folder worked..thanks man!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > apmatrix issues


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway