Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Newbie programmer needs advice
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="WilliS" data-source="post: 25586"><p>make a C++ project... and start with this:</p><p></p><p>#include <iostream.h></p><p></p><p>int main (void)</p><p>{</p><p></p><p>//code goes here</p><p></p><p>return 0;</p><p>}</p><p></p><p></p><p></p><p></p><p>probably want to pick up a book on basic commands in c++ or c (i dont know c but i dont think its much different)</p><p></p><p>start with stuff like cout << "Hello World";</p><p>you can initialize variables using: int / float / double / long / char.. they are pretty self explanitory</p><p></p><p>looking at code helps learn too...</p><p></p><p>cin / cout are the common ways to accept data, and display data</p><p></p><p>int ageVariable = 0;</p><p></p><p>cout << "Enter your age: " << endl; </p><p>cin >> ageVariable;</p><p></p><p>cout << "You are " << ageVariable << "years old" << endl;</p><p></p><p>endl = return after text</p><p></p><p>not sure what you're looking to learn.. those are some very basic commands... try getting a book...or maybe reading tutorials online</p><p></p><p></p><p>goodluck</p></blockquote><p></p>
[QUOTE="WilliS, post: 25586"] make a C++ project... and start with this: #include <iostream.h> int main (void) { //code goes here return 0; } probably want to pick up a book on basic commands in c++ or c (i dont know c but i dont think its much different) start with stuff like cout << "Hello World"; you can initialize variables using: int / float / double / long / char.. they are pretty self explanitory looking at code helps learn too... cin / cout are the common ways to accept data, and display data int ageVariable = 0; cout << "Enter your age: " << endl; cin >> ageVariable; cout << "You are " << ageVariable << "years old" << endl; endl = return after text not sure what you're looking to learn.. those are some very basic commands... try getting a book...or maybe reading tutorials online goodluck [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Newbie programmer needs advice
Top