-
October 8th, 2001, 12:03 PM
#1
Member
seeking some advice
hello, i have decided i want to learn a little bit of c++,i have no programming experience apart from being a fairly decent BASIC programmer when i was at school many years ago 
i have found a few good sites to learn from and have got myself borlands compiler which ive not used yet...
what i was after though was some suggestions from programmers of what would be a good thing to start with to help me learn...i have read that it is fairly easy to code your own port scanner so i was thinking of doing that..is there anything else though that would be a good thing start with?
cheers.
-
October 9th, 2001, 03:48 AM
#2
Senior Member
C++
C++ is somewhat of a pain. All of the programmers I know have started out with smaller programming languages like basic. Since you said you have done basic next I would move on to shell scripting, or python. C++ has a lot of complicated coding involved in it. I tried to learn C++ a while ago and found that there are other (not as popular) languages that offer just as much power and stability that are easier to use.
The way I see it the faster you can learn the faster you can start. Although, after you learn other easy languages C++ will seam simpler since most programming languages have the same structureing for commands.
Another piece of advice, There are soooooo many port scanners out there for every platform that one more would be like making another calculator program. If I was to spend my time learning C++ I would code something that showed I had learned it well. Port scanners only take a few (ranging from 10+) lines of code.
Hope I helped, If not then just ignore me. I babble a lot.
Whats a \"START\" button?
-
October 9th, 2001, 04:20 AM
#3
Hello Ivan
I am currently taking a class in college that teaches C++, if I was you I would start with simple programs (basic calculation programs, input from user programs, etc) I wouldn't start on something big until you get all the basics down.
"A man who builds his house in the sand, soon finds his home washed away with the tides"
Write some useful programs for yourself! Example: I used to write programs for an accounting class to help figure the payroll chart values (gross pay, state & fed tax, fica, etc) They weren't pretty programs but they got the job done, and helped me to learn the language syntax.
If your interested I can post some of my college homework on here or at my site for you to work on.
Simon Templer
\"Your work is to discover your world and then with all your heart give yourself to it. \"
-The Buddha
-
October 9th, 2001, 05:44 AM
#4
I took a C++ class after Visual Basic, and the thing that bit me was that variables had to be explitly (or obviously) declared...
C++ isn't bad, what I'm still confused about is the whole idea of scope and inheiritance, which seems to be a gaggle of complicated rules. I'd be taking AP CompSci this year, but it was canceled 
I would get a book. I can't recommend many, because I have yet to see one I really-really like. If you're serious about it, a book is far better than any on-web-item.
[HvC]Terr: L33T Technical Proficiency
-
October 9th, 2001, 03:16 PM
#5
Member
simon and terr,would you agree with spazzmarix that i might find it hard juping straight into c++?
yeah i have heard that port scanners are easyish to code,i don't actually need one but i need something that might serve as a good introduction for my first attempt at whatever language i decide to have a go at..
as soon as decide what im doing i do intend odering at least one book on it and would appreiciate any suggestions on any good ones...
simon , thanks i would like a look at some of your college homework if you dont mind, it might help my come to desicion..
thanks for the feedback m8's.
-
October 11th, 2001, 03:56 AM
#6
C++ Problem For You
Hello Ivan,
As I promised I am posting a problem or two from my class... If your curious the book we use in my class is: An Introduction to Programming with C++ By: Diane Zak
Here is a problem out of the book that should be fairly simple:
Excerpt from book:
A third grade teacher at Hinsbrook Elementry School would like you to create a program that will help her students learn how to make change. The program should allow the student to enter the amount of money the customer owes and the amount of money the customer paid. The program should calculate and display the amount of change, as well as how many dollars, quarters, dimes, nickels, and pennies to return to the customer. For now, you do not have to worry about the situation where the price is greater than what the customer pays. You can always assume that the customer paid wither the exact amount or more than the exact amount.
Here are some desk-checks for the above program listed in my book:
75.34 as the amount due and 80.00 as the amount paid
39.67 as the amount due and 50.00 as the amount paid
Try this on for size, and if you like coding in C++ then I will post more problems in my book! If you need help let me know, and I will be glad to help you!
Note: Oh yeah, Terr is right...if you've coded in VB then it can advocate bad coding habits like not declaring variables. The language is complex, but don't let it scare you!! Once you get the hang of it...You'll be fine.
Good Luck...Don't give up without a Fight
Hope this helps you!
Simon Templer
\"Your work is to discover your world and then with all your heart give yourself to it. \"
-The Buddha
-
October 12th, 2001, 12:36 PM
#7
Member
thanks simon, i know i could have programmed the above task in basic fairly quickly so i decided to install borlands and have a go at in c++, thing is it is the first time i've tried any programming on a pc and i'm not really sure what i'm doing with this compiler...
i've installed it and had the little box up that says something about converting text files but im not really sure what to do with it to get a script in and try to get it running..
could you give me a couple of pointers with it to get me started,sorry for been so lame, but as soon as i get off the ground i think i might make fairly good progress..thanks again.
ivan.
-
October 12th, 2001, 01:33 PM
#8
-
October 12th, 2001, 03:47 PM
#9
Senior Member
hello
for learning basic programing you have to compile with
PASCAL .It is good enough for learning (this is the program design for learning programiing)
hope this help
bye
If God had intended
Man to program,
we would be born
with serial I/O ports.
-
October 12th, 2001, 10:20 PM
#10
Member
Ivan I have found that MS notepad occasionally adds .txt to files that are explicitly not .txt If you surround your file name ("program.pll") with quotes you will avoid this nasty litle quirk.
KNOWLEDGE IS OF TWO KINDS: We know a subject ourselves or we know where to find information upon it. SAMUEL JOHNSON
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
|
|