Home
Forums
New posts
Search forums
Online Courses
2022 Rankings
2022 MFE Programs Rankings Methodology
Reviews
Latest reviews
Search resources
Tracker
What's new
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
C++ Programming for Financial Engineering
Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering.
Learn more
Join!
Python for Finance with Intro to Data Science
Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job.
Learn more
Join!
An Intuition-Based Options Primer for FE
Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models.
Learn more
Join!
Home
Forums
Quant discussion
Computing
Practical way to quickly develop C++ skills
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
.
Reply to thread
Message
<blockquote data-quote="dazzwater" data-source="post: 87099" data-attributes="member: 7152"><p>It's always more fun, and easier to remain motivated, by writing simple games. Here's how I started off:</p><p> </p><p>Level 1. Start off writing a tile game (I call it tile but think its more commonly known as Mosiac). Write a program where you can manipulate the empty cell on the display below until the numbers are all aligned. This exercise enables you to learn logical constructs and simple i/o.</p><p> </p><p>| 2 | 3 | 5 |</p><p>| 1 | 4 | 6 |</p><p>| * | 8 | 7 |</p><p> </p><p>Plot your next move (w = up, s = down, a = left, d = right):</p><p> </p><p>Level 2. Write a program to solve Sudoku puzzles. It must be able to read a CSV file containing an initial Sudoku board, represent the Sudoku board using a class instance containing cells, rows, etc, then use breadth-first search or some other strategy to "play" the board and determine and print out the solution to the puzzle. This exercise enables you to learn file i/o and basic OOP design principles/patterns and also the concept of constraint-programming. You can throw in pointers as well to optimize your program.</p><p> </p><p>Level 3. At this stage you should be able to write a program to model any puzzle game you like. I'm currently mid-way through my 2nd semester of the MQF program and so don't really have the time, but I'm planning to write a program to help me choose optimal next-steps for the iPad game called TripleTown.</p><p> </p><p>Level 4. And now for the most interesting game of all: create a demo/paper account for a brokerage with a C++ API (eg IB), write a program to connect to the API, and start trading <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="dazzwater, post: 87099, member: 7152"] It's always more fun, and easier to remain motivated, by writing simple games. Here's how I started off: Level 1. Start off writing a tile game (I call it tile but think its more commonly known as Mosiac). Write a program where you can manipulate the empty cell on the display below until the numbers are all aligned. This exercise enables you to learn logical constructs and simple i/o. | 2 | 3 | 5 | | 1 | 4 | 6 | | * | 8 | 7 | Plot your next move (w = up, s = down, a = left, d = right): Level 2. Write a program to solve Sudoku puzzles. It must be able to read a CSV file containing an initial Sudoku board, represent the Sudoku board using a class instance containing cells, rows, etc, then use breadth-first search or some other strategy to "play" the board and determine and print out the solution to the puzzle. This exercise enables you to learn file i/o and basic OOP design principles/patterns and also the concept of constraint-programming. You can throw in pointers as well to optimize your program. Level 3. At this stage you should be able to write a program to model any puzzle game you like. I'm currently mid-way through my 2nd semester of the MQF program and so don't really have the time, but I'm planning to write a program to help me choose optimal next-steps for the iPad game called TripleTown. Level 4. And now for the most interesting game of all: create a demo/paper account for a brokerage with a C++ API (eg IB), write a program to connect to the API, and start trading :) [/QUOTE]
Verification
Post reply
Home
Forums
Quant discussion
Computing
Practical way to quickly develop C++ skills
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top