Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toys
anil1961
Updated:
Today at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Introduction to C++
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Anime" data-source="post: 14413001" data-attributes="member: 406242"><p><img src="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/6-096iap2011.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p><strong>Coding Environment</strong></p><p></p><p> Generally, software developers do their development work in some sort of "integrated development environment" (IDE), which will have many built-in tools for editing, compiling, running, and debugging programs. We recommend that you use the IDE known as Code::Blocks, which is <a href="http://www.codeblocks.org/downloads/26" target="_blank">freely available</a>.</p><p> You will also need to download the GNU C++ compiler (GCC). For Windows machines, you should use the MinGW version of it; you can install the version of Code::Blocks that comes bundled with MinGW, or follow the instructions <a href="http://mingw.org/wiki/Getting_Started" target="_blank">here</a>. If you're on a Mac, the easiest thing to do is install Xcode, which comes bundled with GCC. Xcode <a href="http://developer.apple.com/xcode/" target="_blank">can be downloaded here</a> (registration with Apple is required). If you're using Linux, you probably don't need our help on this one, and your operating system probably came with GCC anyway.</p><p> There are many IDEs available besides Code::Blocks, and you may use any of them if you so desire. Another <a href="http://www.eclipse.org/downloads/" target="_blank">freely available</a> one is Eclipse, which is very powerful and works on all operating systems, though many have had technical problems in the past with installing/using it for C++. (We recommend that you download the edition of Eclipse for C/C++ developers, but if you already have a different version of Eclipse, you can install the C/C++ add-ons through <a href="http://www.eclipse.org/cdt/downloads.php" target="_blank">Eclipse's add-on manager</a>.) On a Mac, you can simply use the Xcode IDE; on Windows you can use <a href="https://www.dreamspark.com/Products/Product.aspx?ProductId=25" target="_blank">Microsoft Visual Studio on Windows</a> (registration with Microsoft DreamSpark required). While all of these will serve the purpose well, we cannot guarantee that we will be able to help you with any problems that arise in the course of using them.</p><p><strong>Instructor(s)</strong></p><p></p><p> Jesse Dunietz</p><p> Geza Kovacs</p><p> John Marrero</p><p> <strong>MIT Course Number</strong></p><p></p><p> 6.096</p><p> <strong>As Taught In</strong></p><p></p><p> January IAP 2011</p><p> <strong>Level</strong></p><p></p><p> Undergraduate</p><p>This is a fast-paced introductory course to the C++ programming language. It is intended for those with little programming background, though prior programming experience will make it easier, and those with previous experience will still learn C++-specific constructs and concepts.</p><p></p><p style="text-align: left"><span style="font-size: 12px">1 Introduction - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec01.pdf" target="_blank">PDF</a>)</span></p> <p style="text-align: left"><span style="font-size: 12px">2 Flow of control - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec02.pdf" target="_blank">PDF</a>)</span></p><p style="text-align: left"><span style="font-size: 12px">3 Functions - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec03.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"></p></p> <p style="text-align: left"><span style="font-size: 12px"> 4 Arrays and strings - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec04.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px">5 Pointers - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec05.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px"> 6 Classes - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec06.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px"> 7 Object-oriented programming - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec07.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px"> 8 Memory management - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec08.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px">9 Advanced topics I - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec09.pdf" target="_blank">PDF</a>) </span></p> <p style="text-align: left"><span style="font-size: 12px"> 10 Advanced topics II - (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec10.pdf" target="_blank">PDF</a>)</span></p> <p style="text-align: left"></p> <p style="text-align: left"></p> <p style="text-align: left"></p><p><span style="font-size: 12px">Couse එකට ඕන </span><a href="http://ocw.mit.edu/ans15436/ZipForEndUsers/6/6-096-january-iap-2011/6-096-january-iap-2011.zip" target="_blank"><span style="font-size: 12px">Course Materials</span></a><span style="font-size: 12px">ටික</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">ASSIGNMENTS <span style="font-size: 12px"></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"></span>Problem set 1 (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn01.pdf" target="_blank">PDF</a>) (</span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">SOLUTIONS </span></span></span><span style="font-size: 12px"><a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol01.pdf" target="_blank">PDF</a>) </span><span style="font-size: 12px">LECTURES 1-2 </span></p><p><span style="font-size: 12px"> Problem set 2 (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn02.pdf" target="_blank">PDF</a>) (</span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">SOLUTIONS </span></span></span><span style="font-size: 12px"><a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol02.pdf" target="_blank">PDF</a>) </span><span style="font-size: 12px">LECTURES 3-5 </span></p><p><span style="font-size: 12px"> Problem set 3 (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn03.pdf" target="_blank">PDF</a>) (</span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">SOLUTIONS </span></span></span><span style="font-size: 12px"><a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol03.pdf" target="_blank">PDF</a>) </span><span style="font-size: 12px">LECTURES 6-8 </span></p><p><span style="font-size: 12px"> Problem set 4 (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn04.pdf" target="_blank">PDF</a>) (</span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">SOLUTIONS </span></span></span><span style="font-size: 12px"><a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol04.pdf" target="_blank">PDF</a>) </span><span style="font-size: 12px">LECTURES 9-10</span></p><p><span style="font-size: 12px"> Final project (<a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_project.pdf" target="_blank">PDF</a>)</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p></blockquote><p></p>
[QUOTE="Anime, post: 14413001, member: 406242"] [IMG]http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/6-096iap2011.jpg[/IMG] [B]Coding Environment[/B] Generally, software developers do their development work in some sort of "integrated development environment" (IDE), which will have many built-in tools for editing, compiling, running, and debugging programs. We recommend that you use the IDE known as Code::Blocks, which is [URL="http://www.codeblocks.org/downloads/26"]freely available[/URL]. You will also need to download the GNU C++ compiler (GCC). For Windows machines, you should use the MinGW version of it; you can install the version of Code::Blocks that comes bundled with MinGW, or follow the instructions [URL="http://mingw.org/wiki/Getting_Started"]here[/URL]. If you're on a Mac, the easiest thing to do is install Xcode, which comes bundled with GCC. Xcode [URL="http://developer.apple.com/xcode/"]can be downloaded here[/URL] (registration with Apple is required). If you're using Linux, you probably don't need our help on this one, and your operating system probably came with GCC anyway. There are many IDEs available besides Code::Blocks, and you may use any of them if you so desire. Another [URL="http://www.eclipse.org/downloads/"]freely available[/URL] one is Eclipse, which is very powerful and works on all operating systems, though many have had technical problems in the past with installing/using it for C++. (We recommend that you download the edition of Eclipse for C/C++ developers, but if you already have a different version of Eclipse, you can install the C/C++ add-ons through [URL="http://www.eclipse.org/cdt/downloads.php"]Eclipse's add-on manager[/URL].) On a Mac, you can simply use the Xcode IDE; on Windows you can use [URL="https://www.dreamspark.com/Products/Product.aspx?ProductId=25"]Microsoft Visual Studio on Windows[/URL] (registration with Microsoft DreamSpark required). While all of these will serve the purpose well, we cannot guarantee that we will be able to help you with any problems that arise in the course of using them. [B]Instructor(s)[/B] Jesse Dunietz Geza Kovacs John Marrero [B]MIT Course Number[/B] 6.096 [B]As Taught In[/B] January IAP 2011 [B]Level[/B] Undergraduate This is a fast-paced introductory course to the C++ programming language. It is intended for those with little programming background, though prior programming experience will make it easier, and those with previous experience will still learn C++-specific constructs and concepts. [LEFT][SIZE=3]1 Introduction - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec01.pdf"]PDF[/URL])[/SIZE] [SIZE=3]2 Flow of control - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec02.pdf"]PDF[/URL])[/SIZE] [LEFT][SIZE=3]3 Functions - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec03.pdf"]PDF[/URL]) [/SIZE] [/LEFT] [SIZE=3] 4 Arrays and strings - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec04.pdf"]PDF[/URL]) [/SIZE] [SIZE=3]5 Pointers - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec05.pdf"]PDF[/URL]) [/SIZE] [SIZE=3] 6 Classes - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec06.pdf"]PDF[/URL]) [/SIZE] [SIZE=3] 7 Object-oriented programming - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec07.pdf"]PDF[/URL]) [/SIZE] [SIZE=3] 8 Memory management - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec08.pdf"]PDF[/URL]) [/SIZE] [SIZE=3]9 Advanced topics I - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec09.pdf"]PDF[/URL]) [/SIZE] [SIZE=3] 10 Advanced topics II - ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/MIT6_096IAP11_lec10.pdf"]PDF[/URL])[/SIZE] [/LEFT] [SIZE=3]Couse එකට ඕන [/SIZE][URL="http://ocw.mit.edu/ans15436/ZipForEndUsers/6/6-096-january-iap-2011/6-096-january-iap-2011.zip"][SIZE=3]Course Materials[/SIZE][/URL][SIZE=3]ටික [/SIZE] [SIZE=3]ASSIGNMENTS [SIZE=3] [/SIZE]Problem set 1 ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn01.pdf"]PDF[/URL]) ([/SIZE][SIZE=3][SIZE=3][SIZE=3]SOLUTIONS [/SIZE][/SIZE][/SIZE][SIZE=3][URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol01.pdf"]PDF[/URL]) [/SIZE][SIZE=3]LECTURES 1-2 Problem set 2 ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn02.pdf"]PDF[/URL]) ([/SIZE][SIZE=3][SIZE=3][SIZE=3]SOLUTIONS [/SIZE][/SIZE][/SIZE][SIZE=3][URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol02.pdf"]PDF[/URL]) [/SIZE][SIZE=3]LECTURES 3-5 Problem set 3 ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn03.pdf"]PDF[/URL]) ([/SIZE][SIZE=3][SIZE=3][SIZE=3]SOLUTIONS [/SIZE][/SIZE][/SIZE][SIZE=3][URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol03.pdf"]PDF[/URL]) [/SIZE][SIZE=3]LECTURES 6-8 Problem set 4 ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_assn04.pdf"]PDF[/URL]) ([/SIZE][SIZE=3][SIZE=3][SIZE=3]SOLUTIONS [/SIZE][/SIZE][/SIZE][SIZE=3][URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_sol04.pdf"]PDF[/URL]) [/SIZE][SIZE=3]LECTURES 9-10 Final project ([URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/assignments/MIT6_096IAP11_project.pdf"]PDF[/URL]) [/SIZE] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom