Search:

Type: Posts; User: LegendsEnd

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,692

    Thanks for the in-depth reply cunnus, that does...

    Thanks for the in-depth reply cunnus, that does indeed look complicated. The reason I want to learn C++ instead of Java is because I will likely be learning Java anyways in the fall when I start...
  2. Replies
    6
    Views
    1,692

    Learning C++ alone, A few questions

    I'm self learning C++ at the moment with very little programming experience. A few questions came up while I was reading through a C++ tutorial and please do keep in mind I essentially just started...
  3. Thread: Functions

    by LegendsEnd
    Replies
    10
    Views
    1,056

    so once it hits main everything else after it at...

    so once it hits main everything else after it at that scope is ignored? I also noticed how I can't divide a number by a larger number =/ like 3/4 = 0, and the variable was a float type, but things...
  4. Thread: Functions

    by LegendsEnd
    Replies
    10
    Views
    1,056

    I understand part of the reasoning but isnt the...

    I understand part of the reasoning but isnt the code read downwards by the compiler? So cant you declare main then tell the compiler about mult?
  5. Thread: Functions

    by LegendsEnd
    Replies
    10
    Views
    1,056

    Functions

    from the function tutorial on this site, I understand how they work but what I dont get is the placement of it, for example


    #include <iostream>
    int mult(int x, int y) {return x*y;}
    int main()...
  6. Thread: if...

    by LegendsEnd
    Replies
    9
    Views
    1,043

    I still cant get the loop working but I...

    I still cant get the loop working but I understand the !4 thing equating to 0 now, thanks, and btw the program is supposed to be a joke type thing where 2+2 equals anything except 4 :P
  7. Thread: if...

    by LegendsEnd
    Replies
    9
    Views
    1,043

    oh, how does !4 equate to 0 though, i still dont...

    oh, how does !4 equate to 0 though, i still dont really get it
    Now I have another problem with the loops, is FOR the same as WHILE except you can do more things variable wise with FOR? It seems...
  8. Thread: if...

    by LegendsEnd
    Replies
    9
    Views
    1,043

    if...

    its not that I dont get how to use it but i'm just wondering why is it that for example if I had abc as a variable that


    if (abc==!4)

    wont work(well it does but if I entered in anything it...
  9. Replies
    16
    Views
    3,801

    hmm, about the 3 methods to have namespaces...

    hmm, about the 3 methods to have namespaces incorporated into the program, you metnioned the preferred method being


    std::cout << "hello" << std::endl;

    but why not just use


    using...
  10. Replies
    2
    Views
    2,107

    Compilers for Windows

    Even after using the search function i cant seem to find a topic on what I wanted to know on compilers specifically so i'm just going to ask it here, What're the differences between the many...
  11. Replies
    16
    Views
    3,801

    thanks for the help regarding the...

    thanks for the help regarding the namespace/main/return use, and finally can you/anyone else tell me a way to keep the program up? it closes right after return 0 but I want it to actually stay there...
  12. Replies
    16
    Views
    3,801

    iostream vs iostream.h

    Finally got around to learning C++ but thats the warning I got from just putting in a Hello World program with <iostream.h> for a header:

    backward_warning.h:32 #warning This file includes at least...
Results 1 to 12 of 12