-
Senior Member
programming for beginners?
is there such a thing. programming sounds interesting. advice, recomendations?id like to be a programmer.
-
Ultimate Member
a programmer of what?
What application would you like to develop for?
Where do you want your progs to go?
There are many many languages all with their specific functions - web has HTML, ASP, PHP, java, javascript....
Windows has VB, java, C, C++.......
Stefan
-
Banned
NO, just born with it. Easy to tell, look for:
if (webbedfeet OR have(hands OR feet).countFingerToes() > 5 )
"DO" return 'programmer';
else
"DO" return "welcome young jedi, learn well";
see:
www.topcoder.com
IT, IS, not for beginners. lol.
try:
something simple, that you understand???
[edit]
hate when code no 'compiley'!
[/edit]
-
Member
Use a real programming language!
const char* IsProgrammer(PERSON* person){
char* szOutput;
if(Person->webbedfeet() || Person->fingers() > 5 || person->toes() > 5){
szOutput = "programmer";
}
else
{
szOutput = NULL; // if not a programmer, we want this func to equate with false
}
return szOutput;
}
But seriously...
Take a C++ class or something. If you like it, go get a compiler and a copy of MSDN and start in. Read books, ask people who have coded longer than you for advice, and just start learning.
If you don't have the knack, you will figure it out pretty fast
- Quandary
Last edited by Quandary; 08-19-2002 at 10:16 AM.
-
Member
-
Banned
Use a real programming language!
[useless]
what PDL, not real language?
btw, your code snippet, no 'compiley'! also.
get:
method or resource "webbedfeet()". noSuchMethodFound exception!
you have any idea what that means?
[/useless]
lol, lol, lol
-
why not try these!?!
GOOD FOR YOU IF YOU'LL INDULGE TO SELF-STUDYING...
I have taken programming subjects...perhaps,they're of great help...but its my interests that make me acquire more knowledge(acquire codes of course?!?)...I've been surfing the net and reading a lot of prog'g books just to know more...Try these:
www.programmersheaven.com
Just try them...they could be of great help to you!Good luck! bye
http://www.planetsourcecode.com
-
Member
Q-ball - you forgot the header file (name it people.h):
class PERSON
{
public:
PERSON():m_fingers(5), m_toes(5), m_webbedfeet(false){}
PERSON(short fingers, short toes, bool webbedfeet):m_fingers(fingers), m_toes(toes), m_webbedfeet(webbedfeet){}
bool webbedfeet(){return m_webbedfeet;}
short fingers(){return m_fingers;}
short toes(){return m_toes;}
private:
short m_fingers;
short m_toes;
bool m_webbedfeet;
}
You'd need these includes at the top of the .cpp file:
#include "people.h"
#include <stdio.h>
And the main() function (right below the IsProgrammer function, same file):
void main(){
PERSON Quandary(10, 10, true);
if(IsProgrammer(&Quandary))
{
printf("A programmer!\n");
}
else
{
printf("Normal person.\n");
}
}
And NOW it should compile just fine ^^
- Q
-
Banned
joking about code, fun too!
Quandary,
can you do 'Garage Door Opener"? lol
or, not.
I haven't a clue whether "webbedfeet" would count in scrabble?
but, "polydactyl", does!
means:
num((finger .or. toes)/appendages) .gt. 5;
sorry, sorry, gotta feed me:
"mono-dactyl"s..
-
Member
I've got the same problem couch potato-I'm interested in programming, but I can't find anyone near me who knows anything. I'm in the heart of Georgia, where you're lucky to find someone who knows how to use a mouse! I've look at several of the teach-yourself-programming sites. While I can get a kinda grip on them, I really need someone to explain what's going on.
-Aarmenaa
PS-What platform do you want to progarm for? What kind of program are you trying to make? My most recent attempts have been at assembly for the Z80 processor. This would allow me to progam those little calculators-which I have. So far, I've had to reload the calculator BIOS and short out the battery terminals to bring the d*mn thing back to life-I'm not haveing an easy time of it!
-
Banned
regardless of wise-**** programming jokes, which I happen to enjoy.
Pick up a Dummies guide.
programming like knitting, easy, if know how to do.
learn how to do through perseverance.
ok,ok,ok, trying real hard.
-
Senior Member
-
Senior Member
-
Member
Add this to the PERSON class...
void SeverDigit()
{
if(m_fingers)
{
--m_fingers;
}
}
void SeverToe()
{
if(m_toes)
{
--m_toes
}
}
And then write a function for whatever...
void Blender(PERSON* ppMrBill)
{
while(ppMrBill->fingers())
{
ppMrBill->SeverDigit();
}
}
void SteamRoller(PERSON* ppMrBill)
{
for(short loop = 0; loop < 5; ++ loop)
{
ppMrBill->SeverToe();
}
}
Et cetera...
As for games programming - I'm sorry, but games aren't programmed by one person. What *part* of a game are you interested in writing (physics engine, environment interaction, user interface, AI, communications)
- Quandary
-
Senior Member
ok, thats not important to me right now. another question. lets just say i decided to try C and/or C++, how exactly do i program this, on my computer? ive got Windows Xp. correct me if im wrong, but how do i "get C or C++ on my comp." ya know. i cant just program on xp, can i? im confused
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|