Search:

Type: Posts; User: neoragexxx

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,374

    thanks that was quite helpful

    thanks that was quite helpful
  2. Replies
    3
    Views
    1,374

    ftp open source client

    Does anyone know of an ftp open source client with 128bit or 256bit encryption ?
  3. Replies
    9
    Views
    1,530

    ok from what i see it you are missing parts of...

    ok from what i see it you are missing parts of the array ...

    so you read array[0][0] till array[7][7] the first loop
    then you start again from array[8][8] to array[15][15] etc..

    but what...
  4. Replies
    6
    Views
    9,556

    i must get some rest... the one in the class...

    i must get some rest... the one in the class isn't really the prototype..
    I just realized that .. so i must include the real prototype outside the class.

    thanks m8, it's just that my head is not...
  5. Replies
    6
    Views
    9,556

    post edited and the includes are fine ! :)

    post edited and the includes are fine ! :)
  6. Replies
    6
    Views
    9,556

    no match for operator

    I posted the wrong code before sorry :) i was missing a #include <fstream>
    i am a bit sleepy now but i gotta hand in the program tomorrow and the only thing left was splitting the files !

    i get...
  7. Thread: Overloading

    by neoragexxx
    Replies
    13
    Views
    1,196

    thanks man , that's exactly what i needed !!...

    thanks man , that's exactly what i needed !! *sm00tch*
  8. Thread: Overloading

    by neoragexxx
    Replies
    13
    Views
    1,196

    the -1 was just there to tell me if there is no...

    the -1 was just there to tell me if there is no such position in the vector yet because it's the user that gives the position in my normal program.

    So all the difference from what i did is & ...
  9. Replies
    3
    Views
    3,781

    Hey man this part of the code is wrong ... i...

    Hey man this part of the code is wrong ...
    i and j have out of boundary values after the for loop...
    you ask the user to give softDrinkCode[3][2] which is a logic mistake..



    cout <<...
  10. Thread: Overloading

    by neoragexxx
    Replies
    13
    Views
    1,196

    excuse my n00bness but what is thenumber .. ?

    excuse my n00bness but what is thenumber .. ?
  11. Thread: Overloading

    by neoragexxx
    Replies
    13
    Views
    1,196

    my bad i just wrote the code quickly here, i...

    my bad i just wrote the code quickly here,

    i want fifolist[list_position]=6; to replace the element at the list position with 6 and i don't want to use the declaration list fifo ;.
  12. Thread: Overloading

    by neoragexxx
    Replies
    13
    Views
    1,196

    Overloading

    I know you can create a list simply with the type list provided by c++ but i need to do a list by using a vector. I think what i am asking is possible but i have no idea how to do it ..
    so far i...
  13. Replies
    13
    Views
    1,319

    you were right ! that STL Guide is very useful, i...

    you were right ! that STL Guide is very useful, i will consult it from time to time. I also find out that i can do



    doublevector.erase(newend, doublevector.end());


    which is actually...
  14. Replies
    13
    Views
    1,319

    wow i am stunned i didn^t know you could do that...

    wow i am stunned i didn^t know you could do that in c++ ... !



    doublevector.erase(
    std::remove_if(
    doublevector.begin(),
    doublevector.end(),
    std::bind2nd(IsApprox(), 5.67)),...
  15. Replies
    13
    Views
    1,319

    why of course not... if i remove an element and i...

    why of course not... if i remove an element and i can access it later what is the use of it... ?

    and you get kinda lost on the site you gave me..

    maybe someone else has used remove()...
  16. Replies
    13
    Views
    1,319

    yeah but then remove() is useless ?

    yeah but then remove() is useless ?
  17. Replies
    13
    Views
    1,319

    Ok obviously remove() works but my problem is...

    Ok obviously remove() works but my problem is that the vector seems to occupy the same memory as before after remove ..
    for some weird reason doublevector.end() doesn't change after remove()...

    ...
  18. Replies
    13
    Views
    1,319

    yeah but replace() with double works...

    yeah but replace()

    with double works...
  19. Replies
    13
    Views
    1,319

    remove() not working ?

    I've included <algorithm>...



    void operator-(double number){
    remove(doublevector.begin(), doublevector.end(), number);
    }


    normally it should remove all elements that are equal to the...
  20. Replies
    7
    Views
    2,340

    you are right i had to put both ofstream and...

    you are right i had to put both ofstream and string declaration outside the switch statement to work...i guess the solution with the brackets is better but at least now i know what was wrong :)
    ...
  21. Replies
    7
    Views
    2,340

    I get this error without the brackets... I get it...

    I get this error without the brackets... I get it even if i declare the string outside the switch..



    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:370: error: jump to case label...
  22. Replies
    7
    Views
    2,340

    great, another thing is from what i know you can...

    great, another thing is from what i know you can declare variables anywhere you want in c++ but i get a compile error when i try ..

    e.g :



    int main(){
    int choice=0;

    cout<<"Give a number...
  23. Replies
    7
    Views
    2,340

    Using a string to open a file..

    Well let's say i have :




    #include <iostream>
    #include <fstream>
    #include <string>

    int main(){
  24. Replies
    3
    Views
    1,330

    a friend told me that cin.get() had a pointer as...

    a friend told me that cin.get() had a pointer as parameter...

    but i tested it now and you are right .. next time i'll check before asking.. ;)
  25. Replies
    3
    Views
    1,330

    getchar() from c to c++ ?

    well is there a similar function in c++ ?

    instead of getchar() in C i wanna use a similar function for c++ .

    and how can i read the buffer from cin .. ?

    (i know i can clear it with...
Results 1 to 25 of 27
Page 1 of 2 1 2