Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Simple C++ Programs


16 replies to this topic

#1 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 28 September 2004 - 08:21 AM

what simple programs would a beginner should code in order to get some understanding the c++ along with leaning as well

#2 BoSZ

    the one with a short temper

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 247 posts

Posted 28 September 2004 - 10:42 AM

--==== notepad ====--

hehehe

for real there is no easy way into coding
you have to know the code and you need a assembler thats all
a use MS vistual studio

#3 gettincrazyovercoding

    Newbie

  • Kontributors
  • Pip
  • 3 posts

Posted 29 September 2004 - 03:22 AM

agreed with BosZ...
no Real shortcut for programming...
you can start from Turbo C++ or with VC++ from Microsoft...
U need to understand bare minimum just to write simple code
---------------------------------------------
Datatypes.
Procedural programming/Object Oriented programming
Functions
-------------------------------------
next comes
Arrays
Pointers
structures

and list doesn't end here... If you wnat free Ebook then download here
http://64.78.49.204/

try it they r damn good books

gettincrazyovercoding

#4 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 29 September 2004 - 05:07 AM

should have been more clear, i was referring to like a chekcers game or simulator or a full blown program that does to much in one sitting :(

#5 clouds421

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts

Posted 29 September 2004 - 09:13 AM

you want to learn C/C++ by yourself?! I took a introductory class on it in hs and thought it was hella hard. I'm sure I'm not the only one...let's say there was a bit of copying going on the programming assignments :lol

#6 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 29 September 2004 - 02:24 PM

the one computer class i took for programming was on a mac and *BLEEP* i had to do a lot of cough cough copy cough cough :(

#7 neeki4444

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 38 posts

Posted 29 September 2004 - 04:26 PM

start learning c++ by using visual c++ 6.0 and read a c++ tutorial online, or buy a book. I recommend C++ How to program it will show you how to creat simple programs to more compliex applications.

#8 alperuzi

    delete me

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 518 posts
  • Location:delete me
  • Interests:delete me

Posted 29 September 2004 - 09:11 PM

look into other code, get a C manual and start with a Hello World program of course :(

It depends on if you want to learn C or C++ but I would look into using linux and gcc if you want C, since you will get aquainted with a lot of C code in Linux. You can also use gcc to compile C++

#9 alperuzi

    delete me

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 518 posts
  • Location:delete me
  • Interests:delete me

Posted 05 October 2004 - 07:17 PM

I would disagree with that.

Know C or C++ -> you know Java (but never use it :) )

Know java -> C++ and especially C is difficult for you because it is more low level than java

So it all depends upon which one you start with, and starting with C is much more advantageous.

C is the standard for programming today, maybe someday it'll be java, but hopefully not! Anyways, you can't really compare C with Java since Java works in a completely different way.

#10 Shackman

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 423 posts

Posted 06 October 2004 - 06:20 AM

You may want to look at this article I wrote in my forum:

http://www.limzb.uni...topic.php?t=140

For a starter, you may want to try this program:

Quote

#include <iostream.h>

int main ()
{


cout << "This is the 1st program I created after a long C++ Programming break"<<endl;

return 0;
}


Compile and run it. You may want to look at the free compilers I listed in my article.

Good luck in your journey in C++ Programming!

Edited by Shackman, 06 October 2004 - 06:21 AM.





Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users