Qvaq

Search for Groups

Create New Group

Hot Groups

New Groups

Recently Active Groups

CPP

CPP

C++ discussions.

Group Members (4)

Bild
mezod
,,,, ,,, ,,, , ,,,,!
Bild
Skalman
Qvaqoholic
Bild
murtlest
i tyresö
Bild
comfort
No status set

Public Messages

Welcome, guest! Please login or register for free to be able to join the CPP group and participate in the discussions.

View newer entries...

  1. murtlest murtlest 2010-11-25 23:36

    or something

  2. murtlest murtlest 2010-11-25 23:36

    and output something like "Press any key to end program"

  3. murtlest murtlest 2010-11-25 23:36

    what you can do is put a cin >> on the end

  4. murtlest murtlest 2010-11-25 23:36

    hehe

  5. mezod mezod 2010-11-25 23:35

    wow sometimes i get to know new things that make me feel such a noob

  6. murtlest murtlest 2010-11-25 23:35

    yes :)

  7. mezod mezod 2010-11-25 23:35

    i had to start the executable from the command prompt :p

  8. mezod mezod 2010-11-25 23:34

    works!

  9. mezod mezod 2010-11-25 23:34

    right! thanks

  10. mezod mezod 2010-11-25 23:34

    i created an .exe when i input that data the window just closes


  11. mezod mezod 2010-11-25 23:33

    i kind of start to get it, i think first you define the matrix size, then you send the matrix and then 2 coordinates of the matrix,
    for what've read those coordenates are the starting point for a chess "knight", and the program tries to determine if the "knight" can jump through all the good "cells" (which i still dont know if are the 0 or the 1 ones)


  12. murtlest murtlest 2010-11-25 23:33

    if you want the prompt to remain after program ended

  13. murtlest murtlest 2010-11-25 23:32

    you need to start your comman prompt first and then execute the program

  14. murtlest murtlest 2010-11-25 23:32

    command prompt dissapearing does probably mean that the program ended successfully

  15. murtlest murtlest 2010-11-25 23:32

    okay

  16. mezod mezod 2010-11-25 23:31


    if i put the proper values, e.g:
    3
    001
    100
    001
    2
    3
    the command promp disappears

  17. murtlest murtlest 2010-11-25 23:31

    do you know what it is supposed to do?

  18. murtlest murtlest 2010-11-25 23:31

    hmm i really don't get this code

  19. murtlest murtlest 2010-11-25 23:30

    ah

  20. murtlest murtlest 2010-11-25 23:30

    what happens?

  21. mezod mezod 2010-11-25 23:30

    and look it access it doing monstre[i][j]=la[j];

  22. murtlest murtlest 2010-11-25 23:30

    if you try it with n=1?

  23. mezod mezod 2010-11-25 23:30

    but la is a string

  24. mezod mezod 2010-11-25 23:29

    hmm

  25. murtlest murtlest 2010-11-25 23:29

    i think each val requires a newline

View more entries...