Search:

Type: Posts; User: fhbwghads

Search: Search took 0.01 seconds.

  1. I have changed the for statement to, ...

    I have changed the for statement to,



    Still same error, error line is 10 which is the beginning bracket ({).
  2. error: expected unqualified-id before '{' token

    I'm writing a program to make sure I understand the for statement. It is a program that computes the resistance of a network of resistors. I get the following error.



    I am using code blocks on...
  3. Replies
    2
    Views
    4,839

    Codeblocks and logical operators

    Hey all, I am writing a program that computes prime numbers. I get the following error message when I try to build.

    I've tried the other logical operators (||, !) but they generate the same...
  4. Replies
    3
    Views
    3,485

    cin.get() Not working

    Ok I'm writing a program. The program works and all but the cin.get() is not keeping the console window open. I've been looking at this program for a while and have talked with others but we can...
  5. Replies
    6
    Views
    1,118

    Yeah that also, thanks.

    Yeah that also, thanks.
  6. Replies
    6
    Views
    1,118

    Oh wow, that was easy. I forgot that C++ starts...

    Oh wow, that was easy. I forgot that C++ starts at 0 and not 1.
  7. Replies
    6
    Views
    1,118

    Multidimensional Arrays

    Whenever I try running this program it always gives 0x441020. It is supposed to output 20. The compiler I'm using is code blocks. The program does return 0. So if someone could point out what is...
Results 1 to 7 of 7