I just fixed the ask command on CPPE(c plus plus emerald)
I was going to post a lenghthly post on the technical details, but i decided not to.
My main problem with print and ask is that they both can only take one word inputs, e.g(telling CPPE to print "hello world" would print hello.
Offline
cds56 wrote:
I just fixed the ask command on CPPE(c plus plus emerald)
I was going to post a lenghthly post on the technical details, but i decided not to.
My main problem with print and ask is that they both can only take one word inputs, e.g(telling CPPE to print "hello world" would print hello.
I had the same problem when I tried to build a language of my own.
Offline
this is getting intresting... i cant wait to test CPPE out, if i can.
I could be a tester, it would give me something to do.
Offline
Did I miss something...?
Well, I'm not very good at C++. And as for Emerald+ Editor, there's a major problem... Looks like I'll have to do entire thing again, because of a faulty control. I had to delete the main form, with all the code.
Offline
cds56 wrote:
Okay, I'll make sure to, erm, add you in the readme if you'd like.
And, songhead, were you writing it in C++?
no I was using C, but I understand they have similar ways of interpreting text. I was unable to fix the problem.
Offline
ahem. okay. I sort of fixed it.
the original code for print used
cin >> ddb3[line];
cin is a way to get input from the user(hence C input) and puts it in the array ddb3, at the current line #. but that had the problem of being limited to one word.
so, I googled it, and found an answer.
getline (cin, ddb3[line]);
which is the same except cin and ddb3 are arguments in getline.
you know that most of the commands in C still work in C++.
e.g. printf("blablabla\n");
which would print blablabla and a new line.
Okay, back to getline, getline works, but when used, it doesn't wait for the user to answer and goes right to the next code, although the test program that I wrote, waits for the user's input, so I'll have to examine it further.
Offline
Im checking out ruby, the programing language, im not sure about it, but it might come in handy for something.
Offline
don't accept what?
OH! yeah, and I'm beginning to update print! It now has the ability to check if the input is a variable.
(but since i haven't programmed variables yet, but the array is still there, if you enter print, and enter a blank, it will ask you whether you want to print the value of the variable or not.)
and getline is meaaaaaaan
Offline
Greatdane wrote:
Look guys I really don't know what to do...
I have tried everything...
you don't accept.
We accepted PythonCard/wxPython-based Emerald we just needed more to it.
(It was just a notepad with a line counter)
Offline
Greatdane wrote:
What do you need more? Isn't that what you asked for?
We'll also need:
-Saving
-Opening
Then, you will have successfully created an alpha version of EmeraldEasy:
a simple project editor; rather than the complex Emerald+ Editor (originally codenamed Diamond)
Creating an alpha version of EmeraldEasy (that we accept, then its just opinion, ex. if we end up thinking that C++ Emerald by cds56 better), should get you on the team, in my honest opinion.
Offline
I'm checking out the language Euphoria, too.
http://www.rapideuphoria.com/index.html
Offline
Okay, forget Euphoria. I've found Visual C# to be much easier.
I've been working on a GUI-ish thing for an Emerald Basic Editor.
Download it here
Note:
-This is just me playing around with Visual C#, it isn't anywhere near close to done
-You have to uninstall it via Add and Remove Programs, there is no uninstaller
-Click "Setup.exe" (after unzipping) to install.
And (sorry Magnie) this for Windows.
Offline
Anyone here know Perl? I found that it is REALLY similar to Python, and my Dad programs in it for work, and it seems he can view it on the browser, so we could work in that, or I could.
Offline
im not gonna use emerald, its too confusing, but there is a feature that alows you to program in many diffrent languages, i think... anyway! back to learning java.
edit: ill check out perl.
UPDATE: Perl looks super simple! though how we could use it with emerald, i have no idea. any ideas? It looks easy to learn.
Last edited by markyparky56 (2009-11-23 12:22:25)
Offline
gershmer wrote:
FTP now setup. (Yay!!!)
User: emeraldteam
Password: Diamond1
(case sensitive)
Windows Tutorial
1.Download the Program WinSCP
2.
http://gershmer.net/ftpwin.png
Mac Tutorial
1.Download the Program CyberDuck
2.
http://gershmer.net/ftpmac.png
(note that the Mac setup may be wrong)
When you log on, you will be in the directory http://gershmer.net/emeraldteam
Your client will forbid you to go up to http://gershmer.net/
You, however, can make subfolders.
To make sure your files work:
1.Open a web browser
2.Type in http://gershmer.net/emeraldteam DO NOT PRESS ENTER YET
3.Continue typing the path of your file from there (ex. /emerald.py, /samples/1.emrld, etc)
I can't login, it keeps timing out, what could i be doing wrong?
Offline
markyparky56 wrote:
I can't login, it keeps timing out, what could i be doing wrong?
Does it look exactly like the picture?
It works for me...
Here's another method:
-Open My Computer
-Type in the address bar: ftp://gershmer.net
-Login
This is a sure fire way.
Offline
I tried logging in, because I'm curious. and it worked, just from FAHRFAWKS. but there was nothing there that I didn't have already, with the exception of the sample stuff.
remember, It's case sensitive. If scp doesnt work, you could try Filezilla, that's my personal favorite.
Offline
That worked, but how do i do anything from that page?
Offline