PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

EVB C++ C ect

I'd like to learn evb to make applications/games for personal use. It would be great if you guys could post a few links on tutorials ect. Devbuzz was okay but it assumed you knew what you were doing. To use evb, do I need to learn c or is it like basic(somewhat?) Suggestions/comments/links would be much appreciated.

I searched the fourms and found a few threads that just turned into ranting after a bit.

I'm also quite interested in learning c. I bought a c++ for dummies book, which was incredibly useless due to the fact I was supposed to know c. Anyways, links on evb,c,and c++ are needed. (evb mainly,but c is nice)

Thanks guys!
To use evb, do I need to learn c or is it like basic(somewhat?)


EVB = Embedded Visual Basic ... it's very similar to Visual Basic on the PC.

I searched the fourms and found a few threads that just turned into ranting after a bit.


;)
Thanks! That answered one question, but where can I find useful tutorials on this?

Thank you

:o
I searched the fourms and found a few threads that just turned into ranting after a bit.
;)


Welcome to PocketMatrix, as the saying goes :lol:

Rather than looking for EVB tutorials, I'd suggest starting with traditional desktop VB - there's a wealth of information out there on this. Anything that gives you the lowdown on programming constructs such as loops, if statements, subs, functions and so on should be a good start.

Something like this seems ideal:
http://www.vbtutor.net/vbtutor.html

I wouldn't suggest starting with C unless you're prepared to become well versed in assembly language first (at least that's how I did it - BASIC -> Pascal -> assembly -> C). Things like pointers used to be a mystery to me until I gained an appreciation for the way computers worked.
jont wrote:
I wouldn't suggest starting with C unless you're prepared to become well versed in assembly language first (at least that's how I did it - BASIC -> Pascal -> assembly -> C). Things like pointers used to be a mystery to me until I gained an appreciation for the way computers worked.


I think that your approach is too much for a beginner. You can perfectly learn C without knowing asm if someone explains you how pointers work.

Of course, if you want to rule you must be proficient in asm, but if you just want to do some small/quick programs, you do not really need it.

just my 2 ct.

cryo
You definatly dont need to know assembly before you start C. C and C++ are great languages. I actually would rather program stuff in C++ than basic any day.

Yes, Pointers in C are goofey untill you actually find reasons for them(linked lists are the bomb :P).

Id say check out C and C++. Its a little tougher than Basic at first, but it makes some advanced topics alot easier to impliment.
Thanks for the links! Ill work with evb for a while. Also, will most things that work in the windows version be the same on the pocketpc compiler version? They seem to be pretty close. Obviously, screen sizes are different.

Should I start learning c or c++ first, or would you actually recommend asm? The only tutorials Ive found on asm was asmguru(for the ti series)

The visual basic link is excellent, tutorials are great.

Are there any easy, in depth c or c++ tutorials out there, or should I order a book? C++ for dummies is a little hard to understand.

I really appreciate the help,
Scott
Should I start learning c or c++ first, or would you actually recommend asm?


Forget assembler for the time being. Go back and look at it when you're getting profficient in C/C++. I'd probably try a bit of C to get the hang of the general language, and then move to C++. That way you don't pick up lots of bad "non-OO" habits and have difficulty adjusting when you have to start doing OO languages like C++/Java/pretty-much-everything-these-days.

A lot of people suggest Visual Basic for learning computer programming, but (IMHO) it lets you get away with murder and do all sorts of really stupid things... it's a strong point in some cases but if you're learning something, learning "the right way to do things" rather than "how to botch it so it works" will pay dividends. That's not to say that you can't program "properly" in VB, rather that it doesn't push a beginner to, so they learn bad habits and write crap code.

Cheers,

Ref.
(Who can't seem to construct proper sentences this evening).
That's not to say that you can't program "properly" in VB, rather that it doesn't push a beginner to, so they learn bad habits and write crap code.



I hear you. When I first starting porgramming in eVB (since about april/may), I wrote really shitty code and half the time it worked! When I go back and look at my old code, I laugh. I didn't know half of what I was doing. I just looked at other code and somehow managed to implement it into my projects and make it work. Like for instance, Windows CE API calls. Once I found out that you can do different things with the .dll you are calling, I was estatic!


Oh, Tiber123. If you plan on using eVB for games, then good luck. There are almost no tutorials on the algorithims you would use in an eVB game, so you will have to figure out what and how to do different things on your own. Also, don't put too much faith in regular VB tutorials. Since eVB is based off VBScript, it is way different then regular VB. You can't do even a fraction of the things that you can do in VB. Having used both eVB and VB 6.0, I think they are totally different languages. Microsoft didn't include even 1/4 of the functions of VB in eVB.
Oh, and since eVB is an interpreted language, it is slow as hell. So for example, a shoot'em game is out of the quesion. You could use an activeX control called ASpriteCE. It supposed to let you have speeds in your program which are close to C++ speeds. I have never tried it though.
If your completly new to programming, maybe its best to learn a BASIC language first, QBASIC, DARKBASIC, or Just (e)VB.

C/C++ are great and powerfull languages but there is a lot to learn if you are just starting out!

Good Luck!!!
I guess my comments were taken slightly out of context :D

Could I possibly add a few things to what I said before:
- If you're a novice developer looking to develop a working application in the shortest possible time, it's likely that eVB is the best option.
- If you don't understand how the underlying architecture works, you won't be getting anything like the full potential of C/C++.
- The best way to get the full potential of C/C++ once you learn the basics is to read up on machine architecture and assembly language.

Of course this is still my personal opinion so feel free to pound me into the floor like last time! :D
Nilisco · 10 Nov 2002, 03:53 UTC — evb
I bought a book on evb. Learn microsoft visual basic 6.0 now!

So far it's very straight forward and makes a lot of sense. I think i'll take a class for c++ though. :)

Thanks
Nilisco · 10 Nov 2002, 05:21 UTC — ..
Qustion,I inserted a picture box in the pocket pc arm compiler,but unlike the pc version,I cant select a picture. The box just remains blank (picture box in properties0
Nilisco · 13 Nov 2002, 03:32 UTC — ...
Okay,I started learning c++ but am stuck here.

Yes the following source code sucks and is most likely missing thousands of things. :)

Help is appreciated.

Code:
#include <iostream.h>

int main()


int a;
int b;
int c;
int d;
int e;
int f;
int x;
int y;


cout << "Cramers rule by Tiberious";
cout << "AX+BY=E";
cout << "CX+DY=F";
cin >> a;
cin >> b;
cin >> c;
cin >> d;
cin >> e;
cin >> f;

x = e * b - d * f / a * d - b * c;
y = a * f - c * e / a * d - b * c;

cout << "x=" << x << endl;
cout << "y=" << y << endl;

}

return 0;

}



--------------------Configuration: Cramer - Win32 Debug--------------------
Compiling...
cramer.cpp
C:\Documents and Settings\default\Desktop\Cramer\cramer.cpp(5) : warning C4518: 'int ' : storage-class or type specifier(s) unexpected here; ignored
C:\Documents and Settings\default\Desktop\Cramer\cramer.cpp(5) : error C2146: syntax error : missing ';' before identifier 'a'
C:\Documents and Settings\default\Desktop\Cramer\cramer.cpp(5) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Cramer.exe - 2 error(s), 1 warning(s)

What's wrong here?

Thanks. ;)

Please don't flame..

:roll:
Well first of all there's no open bracket after
Code:
int main()


and an extra close bracket right before
Code:
return 0;