Search:

Type: Posts; User: _lazycat_

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thanks for your help! I realised that I changed...

    Thanks for your help! I realised that I changed the wrong bits...it works now.
  2. Thanks. I fixed it, but it didn't change the...

    Thanks. I fixed it, but it didn't change the results as that function only affect the output, but it was array.push_back that ran without error but didn't work. The indentations are due to me...
  3. #include #include #include...

    #include <string>
    #include <vector>
    #include <iostream>
    typedef unsigned int UINT;
    class TextNumerical
    {
    private:
    std::vector<UINT> input;
    std::vector<UINT> output;
  4. Thanks for your quick reply, but I did step it...

    Thanks for your quick reply, but I did step it through with a debugger, and it was called. I also checked that value of a to make sure it is valid, but for some strange bizarre reason, it simply...
  5. problems with stl vectors function push_back

    hi all,

    I am currently trying to write a code that involves appending a value to the end of a vector, but i am having trouble.



    TextNumerical TextLiteral::convertToTextNum()
    {
    ...
  6. Replies
    2
    Views
    1,735

    No, but thanks. I'll try it when I get back home.

    No, but thanks. I'll try it when I get back home.
  7. Replies
    2
    Views
    1,735

    Linking and compilation errors

    Hi guys, I am trying to compile a the GUI for my program with only empty functions. I compiled the resource script with Digital Mars rcc, and the main cpp file with MinGW g++. I was able to compile...
  8. Replies
    2
    Views
    938

    Thanks. That solved the problem. Must be more...

    Thanks. That solved the problem. Must be more careful about names...
  9. Replies
    2
    Views
    938

    error with new instants of classes

    hi, I keep getting this error when I was compiling with dev c++
    13 C:\Dev-Cpp\Projects\Crypter\main.cpp expected primary-expression before ';' token



    case IDC_BTN_SUBMIT:
    {
    REPLACE or;...
  10. Thread: HMENU height

    by _lazycat_
    Replies
    2
    Views
    1,312

    HMENU height

    Hi guys, I am just wondering if there is any possible way to retrieve the height of a HMENU item and put it as a RECT?
  11. Replies
    4
    Views
    1,200

    thanks for the tips, guys

    thanks for the tips, guys
  12. Replies
    4
    Views
    1,200

    A simple window

    Hi guys, I know this is pathetic, but I was having trouble when I tried to use CreateWindowEx(). Although I did it before, I kept getting "Window creation failed" error box I used to error check.

    ...
  13. Replies
    4
    Views
    1,254

    thanks alot guys, i did forget a semi-colon after...

    thanks alot guys, i did forget a semi-colon after a class declaration
  14. Replies
    4
    Views
    1,254

    OMG thankyou! I was so dumb. Anyway, I get a new...

    OMG thankyou! I was so dumb. Anyway, I get a new error: d:\cryptography\crypter\crypter\power.h(8) : error C2143: syntax error : missing ';' before 'using'

    and this is the bit where it points to....
  15. Replies
    4
    Views
    1,254

    problem with polymorphism

    Hi guys, I had created a base class and its derived class, and Both the base class have a virtual function, say hi(). The base class is pretty much pure. Now I declared a pointer of the the base...
  16. Replies
    10
    Views
    1,247

    Thanks guys, I had just made a very careless...

    Thanks guys, I had just made a very careless mistake.
  17. Replies
    10
    Views
    1,247

    I want to start a new file and put it in...

    I want to start a new file and put it in C:\Documents and Settings\_lazycat_\All Users\ in txt format, with a variable as the filename which is passed to the function. What should I write for that...
  18. Replies
    10
    Views
    1,247

    er...i changed it to use c++ strings, but it...

    er...i changed it to use c++ strings, but it still wont work. It compiled alright, but just wont load a new file.
  19. Replies
    10
    Views
    1,247

    i have got void savefunc(char* file) {...

    i have got


    void savefunc(char* file) {
    char filename[80];
    std::strcat(filename, "C:\\Documents and Settings\\_lazycat_\\All Users\\");
    std::strcat(filename, file);
    std::strcat(filename,...
  20. Replies
    10
    Views
    1,247

    file saving issues

    Hi guys, I have been having troubles with file processing. I want to open a new file with ofstream, but it fails every time.. Can someone help me please?
  21. Replies
    3
    Views
    1,185

    thanks mate, that helped alot, but the other...

    thanks mate, that helped alot, but the other error is still there...


    l:\school\ipr\crypter\copy_of_cipher.cpp(110) : Error: need explicit cast for function parameter 1 to get
    from: char **
    to ...
  22. Replies
    3
    Views
    1,185

    file opening issue

    Hi guys, I am terribly sorry for asking you guys to syntax check my code, but I am seriously stuck. I keep getting this error.


    C:\>dm\bin\dmc l:\school\ipr\crypter\copy_of_cipher...
  23. Replies
    6
    Views
    1,218

    Thanks guys, thats very helpful

    Thanks guys, thats very helpful
  24. Replies
    6
    Views
    1,218

    2-D dynamic array

    Hi guys, I am trying to create a 2d dynamic array with the code:



    char **Split_Text;
    Split_Text = new *char[Vigenerek.value]; // new dynamic array
    for(i=0;i<Vigenerek.value;++i)...
  25. Replies
    4
    Views
    1,233

    std::getline problems

    Hi guys, here i am again with a problem.

    i am having a problem with std::getline. In my program, it made no compile time errors, but when i run it, all it do is skip over the actual line, and run...
Results 1 to 25 of 32
Page 1 of 2 1 2