473,378 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Ideas for first program?

I am wanting to learn C++, and am curious what my first program should
be. I learned PHP by reading the docs as I wrote a news posting
script. Any ideas on how I would go about starting my trek in C++?

Aug 31 '07 #1
3 2149
Jason Taylor wrote:
I am wanting to learn C++, and am curious what my first program should
be. I learned PHP by reading the docs as I wrote a news posting
script. Any ideas on how I would go about starting my trek in C++?
Write the same news posting script in C++. It may require you to
write your own functions for something that PHP has built-in (like
processing of URLs or HTTP headers or some such), but it would be
a very good exercise. You can, of course, use some kind of 3rd
party library (or you can make it the next cycle of learning C++)
but I would advise against it at first since it might just clutter
your process with unnecessary problems.

Try not to bite off too much at once. Perhaps CGI is not the best
area to start in. C++ is good in large systems, but when you think
small, you can create utilities in C++. Something that simply
reads the input stream and writes something else into the output
stream. Word/byte/line counting program (you know, 'wc'), or even
something less sophisticated (although I am not sure how much lower
can one go beyond 'wc').

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 31 '07 #2
On Thu, 30 Aug 2007 23:55:54 +0000, Jason Taylor wrote:
I am wanting to learn C++, and am curious what my first program should
be. I learned PHP by reading the docs as I wrote a news posting script.
Any ideas on how I would go about starting my trek in C++?

Oh, make it easy on yourself. Write me an AI program to track down and
assassinate all spammers. I'm thinking lightning bolts through their
video monitors would do just fine.

Aug 31 '07 #3
On Aug 31, 9:26 am, Just me <noemailt...@somedomain.comwrote:
On Thu, 30 Aug 2007 23:55:54 +0000, Jason Taylor wrote:
I am wanting to learn C++, and am curious what my first program should
be. I learned PHP by reading the docs as I wrote a news posting script.
Any ideas on how I would go about starting my trek in C++?

Oh, make it easy on yourself. Write me an AI program to track down and
assassinate all spammers. I'm thinking lightning bolts through their
video monitors would do just fine.
HI
to learn c++ and OOPS concepts, Please try implementing design
patterns, may be you can start of with bridge design pattern!!!!

Aug 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: David MacQuigg | last post by:
I am starting a new thread so we can avoid some of the non-productive argument following my earlier post "What is good about Prothon". At Mr. Hahn's request, I will avoid using the name "Prothon"...
1
by: Az Tech | last post by:
Hi people, (Sorry for the somewhat long post). I request some of the people on this group who have good experience using object-orientation in the field, to please give some good ideas for...
12
by: Charles Law | last post by:
Hi guys A bit of curve ball here ... I have a document (Word) that contains a series of instructions in sections and subsections (and sub-subsections). There are 350 pages of them. I need to...
4
by: fivelitermustang | last post by:
Essentially what the program needs to do is split apart a large group of data and then it further splits apart the groups of data, etc... For example, Level 0 starts off with a large array data....
2
by: Hefestus | last post by:
Hey everyone, I have never really used access before and i now find myself knee deep in it trying to solve a problem. Hopefully someone has an idea. Anything would be great. Here's the problem:...
2
by: Anders B | last post by:
I want to make a program that reads the content of a LUA array save file.. More precicely a save file from a World of Warcraft plugin called CharacterProfiler, which dumps alot of information about...
3
by: PerlPhi | last post by:
hi! i have a Perl code in here that when ran the program accepts any Perl codes from the user input (<STDIN>, of course use no syntax errors), then after breaking the multiline input, the inputs will...
1
by: gabbie | last post by:
As already stated,I study computer science and have worked on c++ as my main language. Basically I would like to have a web application which performs selection for first years or frehermen and...
3
by: blunt | last post by:
right the program is nearly complete just a couple of little tweaks and i should have it. The purpose of this program is to write config files for colubrius wireless access points but it's falling...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.