CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: david16

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    I see. No problem take your time . I'll be here when you'll be back . thanks a lot
  2. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    Oh I'm glad to hear from you again . Thanks I'll be waiting for it then
  3. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    Yeah the program should actually meet the real life condition .


    Actually I supposed that the drawing I did in post #1 is a real surface where I ask car to drive slowly at a fixed speed from a...
  4. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    Yes I guess the program should keep on running till I decided to stop . By the way , I'm using TEXTPAD or notepad++ to implement this program . The main problem I'm facing is how to translate what I ...
  5. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    Actually your right if its working for one we can simply add the number of cars then and all roads . what I'm trying to do ( to be more specific then my first description ) first the most important...
  6. Replies
    14
    Views
    12,831

    Re: program and track a car on a road

    I'm new in java but I saw this topic and was interested in solving it . Any advice on how to start this task ?
  7. Replies
    14
    Views
    12,831

    program and track a car on a road

    I trying to work on a challenging topic which I would certainly need help and advice . I will upload an image followed by the explanation in order to make things much easier to understand .

    So I...
  8. Replies
    4
    Views
    3,606

    Re: Code malfunction

    I'm not yet using textpad or notepad to compile I was doing it online but there is syntax error I couldn't solve still not used to error any help ? Thanks a lot
  9. Replies
    4
    Views
    3,606

    [RESOLVED] Code malfunction

    Hello there . I'm still a beginner at java had to write a program to print a hallow rectangle of asterik using for loops with predefined values which means I don't ask user to input anything . This...
  10. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    I was suppose to post it here sorry . so in post #39 its about c# or c++ ?? can you plz tell me at least if the function that read dict in post #42 should be changed . I mean the type and I can I...
  11. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    ok I will see your post #39 but I guess its c# not c++
  12. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    Ohh didnt know about that .. I guess I should go back to think how loops can solve this problem I don't have any choice


    void dict() {

    ifstream dictionary("Napster.txt");

    if...
  13. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    I heard about something I don't know if its easy to understand . if you have a large file which in my case is dictionary called Napster and a cross word game with search in all 8 directions , I can...
  14. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    First before starting the part I would like to know if there is a way to read my txt file faster .. you see if each time I have to go and search the whole file which has about 383023 words it will...
  15. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    yes I do have visual 2017 but I'm working on how can we make life easier especially that some material you used I didn't cover yet which make it hard to understand you see ? the problem is also to...
  16. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    yes I do have visual 2017 but if I were to open that somewhere where only 2010 is there , I built a common solution that why I;m working on how can we make life easier especially that some material...
  17. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    The problem with prototype you sent , some of usages are specific to visual studio 2017 that why if I want to open it later with 2010 I won't be able to do it . also to be sincere , some things you...
  18. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    Oh so the first the function nextword () search in all directions for a word in 2d array then it checks if its a real word or not from dictionary if yes it display it if not does nothing is that...
  19. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    with a map is the program capable of getting a word in all 8 directions ?? such as in a crossword game ??
  20. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    Great . I guess I should start my task of searching in while loop now . If I have huge amount of words that means program will get slower in finding a word in the array right ?? I have 511131 words...
  21. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    void dict() {

    ifstream dictionary("Napster.txt");

    if (!dictionary) {

    cout << "\nCannot open file.\n " << endl;
    }

    string read;
  22. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    its like this in my code ??? why is it wrong they should be seperated is that what you mean ?/ I should change the names like that right ???


    void dict () {

    ifstream dictionary...
  23. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    did post it post #20 its a void function you see do I have to change something in it??

    I'm getting an error on set < string> dictionary;

    Error C2371 'dictionary': redefinition; different basic...
  24. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    I'm in a void function do I have to remove it and simply plug it in main ?? I have an error if I use void function for my code you see the code ?



    void dict() {

    ifstream dictionary...
  25. Replies
    45
    Views
    7,997

    Re: c++ dictionary

    can you please demonstrates what you said on the code ?? SO I can understand . thanks
Results 1 to 25 of 184
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured