Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-02-2004, 12:41 PM   #1 (permalink)
Vladk1000
Registered User
 
Join Date: Jun 2004
Posts: 3
Vladk1000 is on a distinguished road
Program ideas?

Hi, I want to practice what I have learned in C++ but I don't have any program ideas. Can you give me some ideas of what programs I could make? Please suggest something that can be done in OOP and that is not harder than the this pointer because that's where I am right now. It would be ideal to have a this pointer program idea. Thanks in advance!
Vladk1000 is offline   Reply With Quote
Old 06-02-2004, 01:41 PM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,546
Valmont is on a distinguished road
I'll be back a bit later. Time to learn real OO development using C++. We will build a simple proggy and extend it to a professional approach in 10 to 20 steps.
You will combine all the basics and find out their power in a object oriented environment. But you will need to work hard and be commited. I will need to work hard for you too, so think about it.
__________________

Last edited by Valmont; 06-02-2004 at 02:36 PM.
Valmont is offline   Reply With Quote
Old 06-02-2004, 02:04 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,706
sde is on a distinguished road
hi vlad, welcome to the site, .. i'm looking forward to see what val comes up with =)
__________________
Mike
sde is offline   Reply With Quote
Old 06-02-2004, 02:38 PM   #4 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,546
Valmont is on a distinguished road
Quote:
It would be ideal to have a this pointer program idea.
In that case, I would suggest you to read my "operator overloading" tutorial in the tutorial section for C++. Besides a demo of the this pointer ( = keyword ), you will learn some slightly more advanced issues later.

If you are not sure about your understanding of the "this" keyword, read my tutorial on it in the tutorial section as well.
__________________
Valmont is offline   Reply With Quote
Old 06-02-2004, 02:48 PM   #5 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,230
Belisarius is on a distinguished road
Does "this" in C++ mean the same thing as "this" in Java, IE, reference within an object to the current instantiation of the object?
__________________
GitS
Belisarius is offline   Reply With Quote
Old 06-02-2004, 02:54 PM   #6 (permalink)
Vladk1000
Registered User
 
Join Date: Jun 2004
Posts: 3
Vladk1000 is on a distinguished road
Quote:
Originally posted by Valmont
In that case, I would suggest you to read my "operator overloading" tutorial in the tutorial section for C++. Besides a demo of the this pointer ( = keyword ), you will learn some slightly more advanced issues later.

If you are not sure about your understanding of the "this" keyword, read my tutorial on it in the tutorial section as well.
Ok, I'll go do that right now.

BTW I learned about the this pointer from your tutorial yesterday. Nice tutorial. :rock:
Vladk1000 is offline   Reply With Quote
Old 06-02-2004, 08:22 PM   #7 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,546
Valmont is on a distinguished road
Quote:
Originally posted by Belisarius
Does "this" in C++ mean the same thing as "this" in Java, IE, reference within an object to the current instantiation of the object?
Yes.
Other languages call it "self" as well.

Quote:
BTW I learned about the this pointer from your tutorial yesterday. Nice tutorial.
Oh, I just updated the links to the pics in that tutorial. I forgot to do that.
__________________
Valmont is offline   Reply With Quote
Old 06-03-2004, 06:16 AM   #8 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 81
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
Howbout this, I need a program that will read through a text file, or uncompiled php file or a .js file (a few examples) and turn the little rectangles into a new line. that shouldn't be that hard to start with right?

so turn rectangle, into "\n."
Rotkiv is offline   Reply With Quote
Old 06-03-2004, 12:51 PM   #9 (permalink)
redhead
Super Moderator
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,879
redhead is on a distinguished road
rectangles ?? do you mean <cr> into '\n' ?
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 06-09-2004, 11:03 PM   #10 (permalink)
eleeta
Registered User
 
eleeta's Avatar
 
Join Date: Jun 2004
Location: Still In Hell
Posts: 1
eleeta is on a distinguished road
Send a message via ICQ to eleeta
Re: Program ideas?

Quote:
Originally posted by Vladk1000
Can you give me some ideas of what programs I could make?
Try to create dynamic arrays.
Good Luck
eleeta is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Deadlock Detection Program Help... coolsc81 Standard C, C++ 2 10-26-2004 06:14 AM
Help on starting new program B00tleg Standard C, C++ 21 10-17-2004 12:58 PM
Need help on program B00tleg Standard C, C++ 1 10-12-2004 12:02 AM
Help on interest program B00tleg Standard C, C++ 2 10-07-2004 08:50 PM


All times are GMT -8. The time now is 06:19 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting