Post: C++ Programming Help
10-29-2011, 06:58 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys. I am new to programming and I ain't scared to admit it. I was just wondering since most of y'all know a lot about coding and what not where a good place to start is and the type of programs I need to have to make and have a program run. I have Notepad ++ so please just leave me some information on good things to have and good places to start. Thanks.
(adsbygoogle = window.adsbygoogle || []).push({});
11-02-2011, 05:20 AM #29
Epic?
Awe-Inspiring
Originally posted by baseballgod69 View Post
Haha. I am looking at tutorials to learn Java for now and when I get a good understanding of Java I am moving to C++.

---------- Post added at 07:50 PM ---------- Previous post was at 07:26 PM ----------



Hey can you explain what this means to me. I don't understand this line and it doesn't explain it in the tutorial.

void printStates() {
System.out.println("cadence:"+cadence+" speed:"+speed+" gear:"+gear);

Also can you explain why the "" marks are there and what the + signs represent. Thanks.


That's a poorly written Java method.

First off, that won't work because you're missing a closing curly bracket.

The plus sign (+) is the addition operator, however in Java it also serves as the string concatenation operator (combine two strings of text). The quotation marks ("") wrap string literals. I'd imagine cadence, speed, and gear are all variables.
11-02-2011, 06:16 AM #30
Originally posted by Epic
Here's the fact of the matter:

Tutorials are essential to being able to program. You may consider yourself a programmer, but trust me, if you've never read a book, taken a class, watched a few video series, or whatever it is, you do not know how to program. So many people say that they can just "figure out" a language, that they can just look at it and understand: the fact of the matter is that technique does not work, and only leads people to believe in a false sense of ability.

Furthermore, it does matter what language you start with. The languages you start with and stick with will be the languages you know best, and each language can have different techniques or methods of accomplishing things, and will make all the difference when it comes down to methodology, which is probably one of the biggest parts of programming. Variables, statements, and "etc" are NOT major parts of programming, yes, they are in virtually every language, and yes, virtually all programs will make use of them, but knowing what a variable is and saying that you understand "programming" is like saying that you know what addition is and therefore you understand calculus.


ever heard of a paradox?
it means a seemingly true statement or group of statements that lead to a contradiction or a situation which seems to defy logic or intuition.
your's would be by saying this "Variables, statements, and "etc" are NOT major parts of programming, yes, they are in virtually every language, and yes, virtually all programs will make use of them"
allow me to understand this for you. by saying this it is a complete contradiction of logic in this situation.
not major parts, yet every program uses them. hmmm.

makes since. also i'm pretty sure that by etc. we mean everything else basically.
11-02-2011, 11:14 AM #31
Originally posted by Epic
That's a poorly written Java method.

First off, that won't work because you're missing a closing curly bracket.

The plus sign (+) is the addition operator, however in Java it also serves as the string concatenation operator (combine two strings of text). The quotation marks ("") wrap string literals. I'd imagine cadence, speed, and gear are all variables.


I just didn't put the last bracket there, and this is the examples from that tutorial you gave me..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo