Search:

Type: Posts; User: Slaught

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    3,672

    Help with graph pathfinder usage

    #define INFINITY (MAX_INT - 1)

    typedef struct {
    int weight; /* inútil até agora */
    int dest; /* indica o destino da ligação (ex. 4 -> 6, dest = 6) */
    }...
  2. Replies
    20
    Views
    2,401

    Yeah, but the problem is: I can't find any good...

    Yeah, but the problem is: I can't find any good book or site that explains those functions properly. My books' codes give errors after errors, and don't explain them much... I tried some sites...
  3. Replies
    20
    Views
    2,401

    Thanks Salem, but still i have one doubt. As...

    Thanks Salem, but still i have one doubt.

    As the database is a text file, not separated individually, that code you wrote would read all the database?

    I want to separate parts of it, like as i...
  4. Replies
    20
    Views
    2,401

    yeah, but: >Can you put an example of the...

    yeah, but:
    >Can you put an example of the source code here? of the program to read and edit/read the file.

    My C books aren't very good at example functions, so i don't really know how to call...
  5. Replies
    20
    Views
    2,401

    It's just needed to tell them thay cant edit it,...

    It's just needed to tell them thay cant edit it, as they won't know about the real existance of the file. they will only access the file through the program, so if the program won't let them it is...
  6. Replies
    20
    Views
    2,401

    Hmm lets say, for example, that i have a txt file...

    Hmm lets say, for example, that i have a txt file in C:\windows called system.db . It was created as .txt but is masked as .db.
    So it would be as well C:\Windows\system.txt or.db .

    Lets say that...
  7. Replies
    20
    Views
    2,401

    Yeah, something alike. A text file could be an...

    Yeah, something alike. A text file could be an example of that.
  8. Replies
    20
    Views
    2,401

    >No, the smily didn't display. It was somewhat of...

    >No, the smily didn't display. It was somewhat of a joke. All programs start like that
    Yeah, know the smiley was a joke, and all programs start like that, but i never used that "char *dbname...."...
  9. Replies
    20
    Views
    2,401

    >Design your database using the tables you need ....

    >Design your database using the tables you need .
    You mean, create the database and the program to read/edit it?

    I just need a starting, the rest i will learn with time.

    that code you put...
  10. Replies
    20
    Views
    2,401

    >Will this database be a single table, or...

    >Will this database be a single table, or multiple tables with relationships between them?
    I think it would be multiple tables, because it is lots of info that i want to put there.

    >What sort of...
  11. Replies
    20
    Views
    2,401

    Is it possible?

    Hi ppl. A challenge appeared to me, and i'm not really sure how to to complete it. It goes like this:
    I need to do a database, more or less like the ones made with Microsoft access, but i need...
  12. huh, like, i never worked with that kind of...

    huh, like, i never worked with that kind of function, so i dont really know how to input users and passes in there for "making the loop"....can u put an example of that, with at least 3 different...
  13. Replies
    5
    Views
    1,063

    As easy as this, if I understood well: ...

    As easy as this, if I understood well:

    #include <stdio.h>
    #include <stdlib.h>

    int main(int argc, char *argv[])
    {
    int FVal;

    printf("Input a number: ");
  14. What's the point in doing that to declare them? i...

    What's the point in doing that to declare them? i didnt get it...
    BTW, is it possible to, like, put a "kind of password" in the beginning of the program to multi users, giving each user a different...
  15. Got it already. Thanks man i really appreciated...

    Got it already. Thanks man i really appreciated your help, despite my questions being a bit noobish you helped me :) .

    Really thanks, now i can finish this goddamn program hehe.
  16. forget the last thread, i did some logical...

    forget the last thread, i did some logical experimenting and found the way to do it.
    thanks a lot MrWizard :D . You were really a great help. BTW, do you know the command to clear screen?
  17. so i should put it in the beginning, like this? :...

    so i should put it in the beginning, like this? :


    #include <stdio.h>
    #include <stdlib.h>


    int main(int argc, char *argv[])
    {
  18. wanna return to main function after command input, but this exits to windows...help!

    hi ppl i have a simple question, i'm starting to learn C and i spotted this problem . my program after any command that i input just exits, and it's very annoying to just restart the whole program....
Results 1 to 18 of 18