Author Topic: C++ help needed  (Read 9822 times)

0 Members and 1 Guest are viewing this topic.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #15 on: November 24, 2004 06:07 pm CST »
BloodShed's Dev-C++ IDE will create DLL files as well.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #16 on: November 24, 2004 10:17 pm CST »
Oooohh... Why didn't you tell me this when I first asked about Visual C++ and DLLs?  :wink:
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #17 on: November 25, 2004 05:25 pm CST »
Quote from: "UnderGod"
Use Bloodshed Dev ++... It is exactly like visual C++ except it is free, and has better documentation as well as is updated to the most recent standard.


I did.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

Frantic

  • Elvin Legion
  • *****
  • Posts: 662
  • Reputation: +0/-0
(No subject)
« Reply #18 on: November 25, 2004 06:44 pm CST »
Quote from: "GStricto"
Oooohh... Why didn't you tell me this when I first asked about Visual C++ and DLLs?  :wink:

Quote from: "UnderGod"
Use Bloodshed Dev ++... It is exactly like visual C++
except it is free, and has better documentation as well as is updated to the most recent standard.

I use that for C++
« Last Edit: December 31, 1969 06:00 pm CST by Frantic »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #19 on: November 25, 2004 10:20 pm CST »
Yes, thank you Jonah, go be an asshole somewhere else...  I don't need you quoting what Ozzy just said to me.  Waste your time elsewhere since you are obviously not able to contribute anything worthwhile to anything.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

Frantic

  • Elvin Legion
  • *****
  • Posts: 662
  • Reputation: +0/-0
(No subject)
« Reply #20 on: November 25, 2004 11:30 pm CST »
Quote from: "GStricto"
go be an asshole somewhere else...  I don't need you quoting what Ozzy just said to me.  Waste your time elsewhere since you are obviously not able to contribute anything worthwhile to anything.


I had to get back at you for making me look like "a babbling 3 year old".



 :wink:
« Last Edit: December 31, 1969 06:00 pm CST by Frantic »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #21 on: November 26, 2004 05:59 pm CST »
Quote from: "Frantic"
I had to get back at you for making me look like "a babbling 3 year old".



 :wink:
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

Frantic

  • Elvin Legion
  • *****
  • Posts: 662
  • Reputation: +0/-0
(No subject)
« Reply #22 on: November 26, 2004 06:17 pm CST »
Quote from: "GStricto"
Heh, nothing against you personally, you caught me at a bad time that night, just check the poll, people hate you more than they like my sigs.  :wink:


People hate me on an online message board, how will I go on?
« Last Edit: December 31, 1969 06:00 pm CST by Frantic »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #23 on: November 26, 2004 07:25 pm CST »
I'm not sure, maybe you should just DIE!!!one!!1

On a side not, I didn't intend on this thread becomming a place for you to piss people off, so do the first nice thing I have ever seen you do and kindly leave this thread alone.  I am actually trying to get real help from it.

You leave me alone, and I won't start polls or unsavory woman back with you.  A kind of peace, if you will.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

Frantic

  • Elvin Legion
  • *****
  • Posts: 662
  • Reputation: +0/-0
(No subject)
« Reply #24 on: November 26, 2004 07:39 pm CST »
Quote from: "GStricto"
You leave me alone, and I won't start polls or ***** back with you.  A kind of peace, if you will.


Because I care so much about your polls  :lol:
« Last Edit: December 31, 1969 06:00 pm CST by Frantic »

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #25 on: November 28, 2004 03:48 pm CST »
Ozzy, I downloaded a copy of the BloodShed C++ like you talked about, but it won't even compile what was stable with Visual C++.  For some reason, code that works fine with Visual C++ generates 30+ errors, not warnings, with BloodShed.  That being said, I went back to visual C++ (I think the Trillian designers wanted it done with VC++ anyways).  Any ideas on why fstream.h does not seem to load as a header file?  Every other header I have used without problem, and I made sure this one was explicitly looked for on compile and I can look at the file in the \lib directory...  So frustrating.
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #26 on: November 28, 2004 04:58 pm CST »
That is because Bloodshed is updated to the latest standard like namespaces.. fstream.h may not work but how about just fstream without the h?

Visual C++ doesn't even know what a namespace is.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #27 on: November 28, 2004 05:36 pm CST »
Quote from: "UnderGod"
That is because Bloodshed is updated to the latest standard like namespaces.. fstream.h may not work but how about just fstream without the h?

Visual C++ doesn't even know what a namespace is.


Good point, I will try again...

*edit*
Thanks for your help, I'm starting to see where some problems were (once I figured out some of the more cryptic error messages).  It sure is nice to have a compiler that finally conforms to what I had learned.  Now I have to go re-write half the code Visual C++ generated (but hey, at least its only half).
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

GStricto

  • Elvin Legion
  • *****
  • Posts: 463
  • Reputation: +0/-0
(No subject)
« Reply #28 on: December 23, 2004 07:22 pm CST »
I've just gotten some time to start back working on this...  Does anyone know what replaced fstream.h as the ANSI/ISO standard for handling files?  I've eliminated about 50+ errors that BloodShed generates and that Visual C++ completely ignored, but BloodShed is telling me this header is out of date/depreciated.  Also, does anyone have a copy of the ANSI/ISO standards or know where I can get a copy (without paying the $20)?

If there isn't a way to find out the new header file, I guess I will just supress the warnings for now even though I hate that idea...
« Last Edit: December 31, 1969 06:00 pm CST by GStricto »

Quote from: "Artorius"
Gnight.... Gstricto is obviously picking on you because he is a dirty racist.
So ironic that a heart made by man, when broken is easily fixed.   But a human hurt can last a lifetime.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #29 on: December 23, 2004 08:22 pm CST »
#include <fstream>

You can find the standard header file list here.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"