hello
#21
Posted 16 March 2004 - 02:54 AM
Too cute! | Server Status: If you can read this, it's up |Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.
#22
Posted 02 April 2004 - 04:10 PM
Oh I have a question:
I am a beginer at c++ as well(just to the syntax, I know java so you dont have to explain coding to me)
but how do you create a search engine for the local disk files? Yeah I could use the one givin to me by windows but what is the search function used to do this?
#23 Guest_Guest_Ben_*_*
Posted 11 June 2005 - 09:28 PM
I added them in the includes folder... but the problem still occures:
#include <cstdlib>
#include <iostream>
#include "apstring.h"
using namespace std;
int main(int argc, char *argv[])
{
apstring name;
cout << "Hello" << endl;
cout << "What is your name?" << endl;
cin >> name;
cout << "Hello " << name << endl;
system("PAUSE");
return EXIT_SUCCESS;
}
#24 Guest_ImmoMan_*
Posted 11 June 2005 - 10:50 PM
Edited by ImmoMan, 11 June 2005 - 10:53 PM.
#25 Guest_Guest_Ben_*_*
Posted 12 June 2005 - 12:13 AM
Is apstring.h where it should be? It should be in the same folder as the file you're trying to compile. If you put it in a subfolder somewhere you have to include that folder in the include (if you get me ). I strongly advise against putting it in the standard headers folder. Headers there are reserved for general non-project specific use through < > include quotes. If you want to make your own header usable from every project, just enter "../file.h" as the target, and then stick it up one level higher (where I assume your main project root is where all the project folders are).
well..all of the files (including apstring.h and apstring.cpp) are all in the includes folder...and not in any sub folder.
#26 Guest_ImmoMan_*
Posted 12 June 2005 - 02:59 AM
Edited by ImmoMan, 12 June 2005 - 03:00 AM.
#27 Guest_Guest_*
Posted 09 August 2005 - 08:10 PM
thanks
#28 Guest_ImmoMan_*
Posted 09 August 2005 - 08:28 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users