ALGORITHM IS DIFFICULT
CAN U HELP ME CHUCK, PLEASE DO TELL HOW TO EXECUTE THAT
AND THE OTHER SAMPLE PROGRAMS.
Forums
TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
11 posts
• Page 1 of 2 • 1, 2
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
TPK is here: http://cobra-language.com/samples/TPK/
You will also find it in the source code under Samples\
Source code is here: http://cobra-language.com/source/
Execution is simply: cobra TPK.cobra
...after you have installed Cobra, either from source or from the downloads:
http://cobra-language.com/downloads/
Also, it's customary not to write in all capital letters. Feel free to use lowercase like everyone help.
Hope that helps,
Chuck
You will also find it in the source code under Samples\
Source code is here: http://cobra-language.com/source/
Execution is simply: cobra TPK.cobra
...after you have installed Cobra, either from source or from the downloads:
http://cobra-language.com/downloads/
Also, it's customary not to write in all capital letters. Feel free to use lowercase like everyone help.
Hope that helps,
Chuck
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
hi ,chuck
I downloaded cobra. It is showing erors
I am running cobra through command prompt
i am using c:\cobra\source\install0from-workspace
to install and then i am treying it is not working
can u tlel me how to execute tpk. today i have to submit it to my professor.
please help me.
I downloaded cobra. It is showing erors
I am running cobra through command prompt
i am using c:\cobra\source\install0from-workspace
to install and then i am treying it is not working
can u tlel me how to execute tpk. today i have to submit it to my professor.
please help me.
- SANTOSH273
- Posts: 9
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
how to run tpk program and get the answer
- SANTOSH273
- Posts: 9
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
When you experience errors, you need to include the errors in your report. Otherwise it is difficult to help you. Also, tell me what version of .NET or Mono you are on and what operating system.
Thanks.
Thanks.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
i ma running on vista,
1.cobra is not recognised as an internal or external command
2.abs is not defined
like that
1.cobra is not recognised as an internal or external command
2.abs is not defined
like that
- SANTOSH273
- Posts: 9
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
I'm able to compile the program (and run it if I choose) like so:
I'm using the latest Cobra from source on Windows XP SP 2 with MS .NET 2.0.
- Code: Select all
C:\...\Cobra\Workspace\Samples> cobra -c TPK.cobra
Compilation succeeded
C:\...\Cobra\Workspace\Samples> dir tpk.*
12/28/2008 01:04 AM 2,966 TPK.cobra
03/27/2009 04:39 PM 6,656 TPK.exe
C:\...\Cobra\Workspace\Samples> _
I'm using the latest Cobra from source on Windows XP SP 2 with MS .NET 2.0.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
i ma now running on xp-2
.net 2.0
i still have a problem
can u help me .
my cobra latest version is in c:\cobra\source
please explain me how to run the program.
i kept the tpk file right in the source folder and run
error -- >it cam e as cobra is not recognised as internal or external command.
"I think i am using wrong commands to execute the program"
c:\cobra\source\cobra -c tpk.cobra # i am using this to run the program#
i installed the cobra just by downloading the latest version and
c:\cobra\source\install-from-workspace
still i ma unable to please help me.
.net 2.0
i still have a problem
can u help me .
my cobra latest version is in c:\cobra\source
please explain me how to run the program.
i kept the tpk file right in the source folder and run
error -- >it cam e as cobra is not recognised as internal or external command.
"I think i am using wrong commands to execute the program"
c:\cobra\source\cobra -c tpk.cobra # i am using this to run the program#
i installed the cobra just by downloading the latest version and
c:\cobra\source\install-from-workspace
still i ma unable to please help me.
- SANTOSH273
- Posts: 9
Re: TPK , CAN U HELP US, ITS MY PROJECT TO SUBMIT
Well if you ran the installer, then the "cobra" command was put in C:\Cobra\bin\cobra.bat so change your command to:
You could also verify that it's there by looking in that directory:
Also, I would put your workspace in something like C:\Cobra\Workspace instead of C:\Cobra since C:\Cobra is the default target for the installer! You could start over by removing all of C:\Cobra. Making a workspace underneath in C:\Cobra\Workspace and trying again.
- Code: Select all
C:\Cobra\bin\cobra.bat -c TPK.cobra
You could also verify that it's there by looking in that directory:
- Code: Select all
dir C:\Cobra\bin
Also, I would put your workspace in something like C:\Cobra\Workspace instead of C:\Cobra since C:\Cobra is the default target for the installer! You could start over by removing all of C:\Cobra. Making a workspace underneath in C:\Cobra\Workspace and trying again.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
11 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 6 guests