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

Search:

Type: Posts; User: wigga

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,984

    Re: convert absolulate path to relative path

    ok if u dont know the answer than dont reply.

    obviously if im using xampp to work on my laptop(windows), it will work diffrent on the host server(linux).
  2. Replies
    5
    Views
    2,984

    Re: convert absolulate path to relative path

    what does that matter now? realpath doesnt do what i want.

    also more than one poeple are going to use this . including some of my friends and me. im now developing on windows in xamplite but i...
  3. Replies
    5
    Views
    2,984

    convert absolulate path to relative path

    im generating html files in php.
    i have some absolute paths based on the __DIR__ constant which make a absolute path like this:

    <link rel="stylesheet"...
  4. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    i will have to get a book...

    the folowing isnt working for me black screen.


    namespace GL {
    namespace Matrix {

    struct CTraitsT
    {
  5. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    the problem is the camera doesnt have a destination. it has a rotation and a position.
    and does it mean i can use atan to convert XYZ to Pitch Yaw Roll?



    template<typename T>
    struct...
  6. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    Hi i will have to read over your post a couple of times again i thank u lots *bows*. Thanks for sharing your wisdom
  7. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    ok i want to forget about opengl for a second, i understand now how it works with translations, well not internally, but i get it how the position, its basicly setting the current zero point for...
  8. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    now tell me something i do not know. Like getting how much rotation is needed to "get from" point A to point B
  9. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    it could be that, for now that is exactly the problem i am facing. But it could actually be used for other things in my program as well. I am trying to make a terrain editor actually, and being stuck...
  10. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    hi, i really do need to get the angle between two points, because of rotations...
  11. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    yes your right. i got confused with his formula cause he did not substract two vertices. before doing pythagoras.

    as for the angle between two points not two vectors.

    thanks alot for your reply.
  12. Replies
    25
    Views
    7,533

    Re: Getting a vector length and angles

    hi, im really confused.

    how can that be the length of the vector? maybe i try to explain otherwise. i have two 3d coordinate. i must get the distance between the two.. a 3d coordinate is called...
  13. Replies
    25
    Views
    7,533

    Getting a vector length and angles

    Hi maybe this is not really belong in a c++ forum, but since im using C++ i might as well put it here.

    I am programming a Vector class, which has the vertex from A to B.
    I must be able to get the...
  14. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    thank you all for your replies and help, i have learned alot, and hope others can learn also frm this thread.

    i am going to try to remake the Partition function to work as it shows as in the...
  15. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    hi.. thanks alot for helping me i really apreciate it.

    there is one scenario that scores me in this loop:


    do {
    --end;
    } while( func( *pivot, *end )

    what...
  16. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    hi martin. i have been doing this for hours now and i am really exhausted.


    jvene thanks alot for helping me :)

    just for the ease of not having to swap the pivot to the end. i took this...
  17. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    oops i saw one mistake. dint decrease end after swapping pivot to last.

    but its still wrong..
    qwertyuiopasdfghjklzxcvbnm
    gets sorted into
    abdecgijklhmoqpfsutrxvwyzn


    i really have no idea...
  18. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    i dont see anything wrong with the usage of mid and end.

    the problem must lay somewhere within partition function and i also think it has something todo with this line for one


    if(end -...
  19. Replies
    15
    Views
    1,958

    Re: stuck at quicksort

    are you saying that mid is actually the last element instead of the end element?
  20. Replies
    15
    Views
    1,958

    stuck at quicksort

    Sometimes i get random 0 values in my array.
    and also sometimes it doesnt sort so well, givng me adbce isntead of abcde
    but overal it did it pretty good job for me. theres just some bugs but i cant...
  21. Replies
    4
    Views
    793

    Re: C# or PHP

    you are the one who is useless. wheres ur logic and common sense? just because they decied to port .net to linux they noticed that they are useless? its more like that they wanted to run .net aps on...
  22. Replies
    2
    Views
    1,999

    MS SQL, couple table, linked to other table.

    i must get the tracks in all playlists, than i must get the artist and album name... (AfLijsten means Playlist)


    i have the following install:


    use master;
    go
    if db_id('dbGuus') is not null...
  23. Replies
    0
    Views
    1,320

    urgent - value is not a function ( flash cs4)

    the error:
    TypeError: Error #1006: value is geen functie.
    at jukebox_fla::MainTimeline/PlayNextSong()
    at MethodInfo-4()

    the code: (marked error bold)

    var xmlPlaylist:XML;
    var...
  24. Replies
    4
    Views
    1,747

    Re: flash music player?

    thanks alot.

    i already made the music played, the next thing i need to do is make it play in random order and every song has to be played before it can be played again. i was thinking about making...
  25. Replies
    4
    Views
    1,747

    flash music player?

    hello i have been given this school assignment to create a music player with flash.
    I am loading the playlist with XML. and i have been given 3 WMA files.
    My question: What is the best way to play...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured