| Jason wrote: |
| I didn't think this was Trash Talk worthy? |
Code: Show/Hide int value;
int *pointer = &value; //Now pointer is the memory address of value. value = 15; printf("Using value: %d\n", value); //printf() is like System.out.println() in Java. printf("Using pointer: %d\n"", *pointer); //%d in printf tells the program to display the value after the comma as a decimal (replacing the %d) |
Code: Show/Hide System.out.println("test"); |
Code: Show/Hide std::cout << "test" << std::endl; |
| 50% Packetloss wrote: |
| Pick up a good book. Find a book with the least amout of decorations on the front cover, take a look to see if it looks solid and then buy it. Online tutorials are nice, but a book is worth the money and will be handy for a reference. |
| Cyan~Fire wrote: |
| I personally like C++'s pointers better than Java's because it gives you more flexibility. (I know, I'm weird |
| ExplodyThingy wrote: |
| Java makes lazy coders, way too much possibility for failure. For example:
Bleh.toString().charAt(Bleh.toString().length()-1); What if toString, charAt, or length() returned null? It would die, poor coding. In C, this is invalid |
| Explody wrote: |
| Absurd methods are done by those who learned on PERL. |
| Dr Brain wrote: |
| That said, Java is no longer my primary programming language. But through no fault of Java. |
| Quote: | |
|
Code: Show/Hide namespace std;
void my_func() { cout << "test" << endl; } |
| Quote: |
| I find that lazy java coders are easy to spot |
| Quote: |
| Am I a lazy Java programmer? I would prefer not to be lazy while at the same time taking advantage of the RAD capabilities of Java. |
| D1st0rt wrote: |
| RIT? is that Rochester Institute of Technology? They keep spamming me to go there. |
| Jason wrote: |
| I'm getting the fuck out of there and heading south, possibly to the University of Maryland or Virigina Tech. |
| Jason wrote: |
| MGB, thanks for the offer about the PDFs, but unfortunately I'm on dialup so 100megs is out of the question. |