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

Search:

Type: Posts; User: marsh

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    1,183

    Re: [RESOLVED] Priority Queue Sorting Incorrectly

    nm, i misunderstood what the sort function does.
  2. Replies
    1
    Views
    1,183

    [RESOLVED] Priority Queue Sorting Incorrectly

    So i have been banging my head against a wall with this problem for awhile. I have also copy and pasted direct examples from the internet but nothing seems to sort it right. So can someone please...
  3. Replies
    4
    Views
    1,560

    Re: Linker Error

    I tried providing that already aswell. Same error.

    [Edit]

    Nevermind i added one to goal aswell and it fixed it. Thank you both.
  4. Replies
    4
    Views
    1,560

    Re: Linker Error

    I tried a inline file before and i just got



    error C2512: 'Goal<T>' : no appropriate default constructor available
    1> with
    1> [
    1> T=Character
    1> ]
    1> ...
  5. Replies
    4
    Views
    1,560

    [RESOLVED] Linker Error

    Hello all, i would appreciate it if anyone could enlighten me on a linker error.

    First off the error

    Error 1 error LNK2019: unresolved external symbol "public: __thiscall ReachTop<class...
  6. Replies
    9
    Views
    3,488

    Re: Problem With DrawLine Function

    Ah, thanks. I will check out that link. Sorry for my ignorance.
  7. Replies
    9
    Views
    3,488

    Re: Problem With DrawLine Function

    I didnt post it, becouse i dont believe the problem is there. Also then i would need to include a lot of other classes etc. The actual project is huge.

    If this is not enough information to solve...
  8. Replies
    9
    Views
    3,488

    Re: Problem With DrawLine Function

    The problem is i am not sure of the exact angle that does not work. So i cant show a single line. Here is my fill function....
  9. Replies
    9
    Views
    3,488

    Re: Problem With DrawLine Function

    Pastebin is a strange link address?

    Either way, sorry about that. I am trying to draw a line. My point.draw function places a pixel on the screen. This function is reading two points and drawing...
  10. Replies
    9
    Views
    3,488

    Problem With DrawLine Function

    Any advice? This is due in 3 hours so its super time important

    http://pastebin.com/dxg9HyT9

    Even if you spot a problem with the math or have some advice please help. Been working on this all...
  11. Thread: Infix to Postfix

    by marsh
    Replies
    2
    Views
    1,243

    Infix to Postfix

    Hey, i was assigned this as homework. I am following a sheet of paper that is basically telling me what should be done at each step of the conversion. I have filled in the code but i am getting...
  12. Replies
    0
    Views
    551

    [RESOLVED] Linked List Template

    Figured it out.

    Thanks.
  13. Replies
    4
    Views
    650

    Re: Return Array Function

    Yea i was 90&#37; certain it would not work but i gave it a shot. Thank you for the c_str()
  14. Replies
    4
    Views
    650

    Re: Return Array Function

    Thanks a lot for the help :). I realize i may have posted this in the wrong section because i am using Visual C++ and it has given me errors in the past with strings.

    I am getting this error:
    ...
  15. Replies
    4
    Views
    650

    Return Array Function

    Hello, i am new to c++ so i hope you guys can help me out. I have searched the answer up on google and while i find examples i cant quite understand whats going on yet. I want to make a simple file...
  16. Replies
    7
    Views
    1,603

    Re: Unresolved external symbol

    Goto your project properties goto c++ then code generation change the runtime library to multi threaded MT.

    See if that helps.
  17. Thread: Open File Dialog

    by marsh
    Replies
    4
    Views
    7,131

    Re: Open File Dialog

    Thank you i got it working.
  18. Thread: Open File Dialog

    by marsh
    Replies
    4
    Views
    7,131

    Open File Dialog

    Hello i am making a simple program in visual c++, i have it so that when i hit a button the Open File dialog pops up. But when i open something i want it to return the file name of what i opened so...
  19. Replies
    12
    Views
    1,595

    Re: Need Serious Help! New to visual C++

    I opened your project and was hailed with some errors. The first problem is that you are including Form1, you changed the name of that form though.

    In stack.cpp Change


    #include "Form1.h"
    ...
  20. Thread: Math Help

    by marsh
    Replies
    4
    Views
    810

    Re: Math Help

    Sorry for wasting your guys time. I changed x and y to a float for some other calculations. So this must have broke the formula with the decimals. It works now thank you all very much.
  21. Thread: Math Help

    by marsh
    Replies
    4
    Views
    810

    Math Help

    Hello, i am having some problems. Hopefully i can explain it to you without getting you to confused.

    Basically i have a 2D game which has a total of 300 tiles in a 20 x 15 grid. Each tile is 32...
  22. Replies
    3
    Views
    834

    Re: Change Code To Loop

    Thanks for the help.

    Got it working with this code



    linedone2 = 3;
    linedone = 0;
    while (linedone < 300)
    {
  23. Replies
    3
    Views
    834

    Change Code To Loop

    Hello, i am attempting to change this code into a loop. I realized that i coded it very badly. I do not have to keep adding to my linedone if i just reset it to 0 each time.

    Either way i am having...
  24. Replies
    3
    Views
    821

    Re: Read File problem

    Thank you so very much. Also the fast response was great :).
  25. Replies
    3
    Views
    821

    Read File problem

    Hello, i am trying to read many different files. The filename has to change to different numbers. It loops 25 times.

    For example the first run i want it to ifstream myfile3 (npcs/npc1.txt); but...
Results 1 to 25 of 71
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured