|
I am certainly not an expert but I am quite sure that the code that you posted is not C, C++ or MFC. At least it is no variant of C, C++ or MFC that I recognize. You sure you are in the right forum?
|
|
|
|
|
I'm not sure where should I post this but it's part of the code in Clips (C Language Integrated Production System ) environment which is software tool for building expert systems.
please let me know where should I post it?
|
|
|
|
|
I already gave you a link to the Clips page. You need to try there, as that is where you will find other people who understand that system.
Use the best guess
|
|
|
|
|
thanks,I have used that link but I think may be I could find my answer here.
thanks i'll try once more
|
|
|
|
|
a.fatemeh wrote: please let me know where should I post it
If it were me looking to know about someone else's language or IDE, I would go to the source and ask them. For CLIPS, I would go here[^]
|
|
|
|
|
You've been told that this forum isn't suitable, yet have decided to post here again. No matter how may times you post CLIPS != c || c++, the c=part denotes it can be integrated with c-based systems. Additionally CLIPS is relatively specialised, rule based programming is different to the way c operates.
All this adds up to one thing: the advice I have seen here so far is spot-on: don't post this here as this isn't the correct forum and few people here will have an interest in CLIPS, your chances will be vastly improved by posting on a specialised CLIPS forum where everyone is there as they know about/are interested in it.
The defrule for Rule0 has an unbalanced number of brackets BTW my guess is there is one missing at the end of the "not" line, and the ? after tank-is-full looks suspicious. Of course I know next to nothing about CLIPS, which is why going to a CLIPS forum would be so handy.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
yeah, I do that but I didn't get any answer so I post here.
yours help a lot because every time I check every thing else rather than brackets. I didn't pay attention to that at all, it was just frustrating to check sth again and again and don't know what to do.
my problems solved, THX
|
|
|
|
|
A couple of weeks ago, I got this nasty rash on my mouse clicking finger. I posted a question to a medical site but nobody answered. I figured that since I was writing a C++ program when it started to hurt that I would repost my question here.
Need fix urgentzzz pleez reply asap thx.
--
Harvey
|
|
|
|
|
hello everybody :
i want to ask i recently downloaded a C++ source code , i just want to make program executable ( i mean make it binaries)like linux ,
is there any free program that do and make the setup file .
please help.
Thanks anyway .
|
|
|
|
|
Visual Studio Express 2010 will do that.
|
|
|
|
|
HOW???? i mean i downloaded a full source code of program ,
if you know how to do it ,tell me or give me such a link or e-book that could explain the procedure it detail,
thank anyway
|
|
|
|
|
You got your answer.
If you do not understand this simple piece of information. You will have a difficult time.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
Download Visual Studio express as replied earlier.
In that you need to create a project.
There are several types of projects in Visual Studio.
Here is a simple tutorial - http://www.swarthmore.edu/NatSci/tali/E15/Visual_C.html[^]
You need to create a project, add the source files to it, compile it and fix the compiler type errors if any.
After this process, you will have an executable.
As for creating a setup program, you can use the free Wix Toolset.
It will integrate with Visual Studio so that you can create the setup program from Visual Studio itself.
You can download it from here - http://wixtoolset.org/[^]
Here is an extensive tutorial on Wix - http://wix.tramontana.co.hu/tutorial[^]
|
|
|
|
|
|
Here's how to make a simple .exe (application executable program) in Windows, copy this source to a file that will call main.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello user!" << endl;
return 0;
}
Compile this and go to your project's folder and double-click on a folder called bin and then double click on the folder called debug . If its not in there click on the other folder which is called release , if you managed to accidently compiled a release version of your program.
And there it is, your first made .exe file.
Simple Greetings and Regards,
Brandon
Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst).
Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
|
|
|
|
|
Brandon-X12000 wrote: That's the first line, or row.
Brandon-X12000 wrote: double-click on a folder called bin Visual C++ Express does not create bin directories.
Use the best guess
|
|
|
|
|
well i know how to program , i am talking about compiling about 500 C++ and .h files in one time and make the program thats what i am talking about,
well thank you any way
|
|
|
|
|
OmarSH wrote: ...i am talking about compiling about 500 C++ and .h files... Are they all part of the same project?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
yes , i said i downloaded the source code of a program and i dont have idea, any thing could help
|
|
|
|
|
In that download, were there any project-specific files (e.g., DSW, DSP, SLN)?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
no, nor of visual studio files are included ,it has configure files and other files that could make it done easily on linux ,i can build and install it on linux , but i need to build it just for windows ,
|
|
|
|
|
OmarSH wrote: ...but i need to build it just for windows , Console, EXE, or DLL?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
|
OmarSH wrote: no... So is it a service then? If it's not any of those four, what type of Windows program are you trying to create?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
well, thank you for interesting ,
any way if you have see the link ,and downloaded the source code , you may have better vision because i started programming in c++ from no more than one years ,and this is the first time that i want to do something like that,most of my program were no more than one or two C++ files and a header, this my programming background ,so i don't know how to explain more than that..
i really need help and advice to explain more..
|
|
|
|