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

Search:

Type: Posts; User: 2kaud

Page 1 of 80 1 2 3 4

Search: Search took 0.12 seconds; generated 11 minute(s) ago.

  1. Replies
    2
    Views
    124

    Re: Help with Round robin code in c++

    I've formatted the code to make it more readable



    #include <iostream>
    using namespace std;

    int main()
    {
    int k,
  2. Replies
    14
    Views
    260

    Re: Which ASCII character to send

    If all you want to do is to signal an error from the send side, what about just closing the connection? This will be picked up by recv() as an error for which you can test. If you want to resend then...
  3. Replies
    14
    Views
    260

    Re: Which ASCII character to send

    What are you trying to achieve? If you are using binary files then any sequence of one or more characters could possibly occur in any file.
  4. Replies
    14
    Views
    260

    Re: Which ASCII character to send

    Depends somewhat upon whether a file is type 'text' or 'binary'. In a binary ASCII file any of the characters from 0 to 255 may appear. In a 'text' file 1 - 6, 14 - 26, 28 - 31 and 255 are unlikely...
  5. Replies
    5
    Views
    153

    Re: Problem with WinHTTP DLL

    What version of Windows are you using? This function requires as a minimum Windows 8 or Windows Server 2012. See http://msdn.microsoft.com/en-us/library/windows/desktop/Hh707325%28v=vs.85%29.aspx
  6. Replies
    19
    Views
    632

    Re: C++ with OOP assignment

    Is there actually any point to this 'lab procedure'? :ehh:
  7. Replies
    19
    Views
    632

    Re: C++ with OOP assignment

    Yes, but that is what you are required to do as part of the assignment. So why don't you just do it if this is what you are required to do.

    So I'll ask again - what exactly is your specific c++...
  8. Replies
    19
    Views
    632

    Re: C++ with OOP assignment

    When posting code, please use code tags. Go advanced, select the code and click '#'.



    You shouldn't leave it so late. You don't say what help you need. As this is an assignment, we won't do the...
  9. Thread: Html & css

    by 2kaud
    Replies
    1
    Views
    129

    Re: Html & css

    and........... Is there a question here somewhere?

    Also when posting code, please use the proper tags. Go Advanced, select the code and click '#' or '<>' or 'php' as appropriate.
  10. Re: GetKeyState(VK_CAPITAL) and GetKeyState(VK_SHIFT) together pressed to lowercase

    if ((GetKeyState(VK_SHIFT) & 0x8000)<0);


    I think you have an extra ; here.

    Also as the function is returning a type BOOL why not use TRUE and FALSE instead of 1 and 0?

    Your code can...
  11. Re: Problem with newly installed Visual Studio 2012

    For my Visual Studio 2012 installation, the SDK entries are

    32805
  12. Re: Problem with newly installed Visual Studio 2012

    In which folder(s) on your system is the file windows.h located?
  13. Replies
    9
    Views
    459

    Re: A Thread that doesn't hold long enough

    A daemon process in Linix is like a service in Windows. Also in Linix you can easily fork a process which is more complicated under Windows.

    There are Windows API functions to suspend/resume a...
  14. Replies
    8
    Views
    300

    Re: anonymous namespace qualifier

    Are you compiling for c++03 or c++11?
  15. Re: Please help a newbie on CPP High Frequency Trading Example

    As you say, this code is just a function and needs to be called. You will also need a main() function which is executed when the program is run.



    sprintf(fname,...
  16. Replies
    1
    Views
    540

    Re: Random Word generator to create sentance

    What language are you using?

    You could have a text file containing the words (so you can change the words without recompiling) which is read into a container such as a vector (c++) and then have a...
  17. Replies
    5
    Views
    1,777

    Re: Why I cannot open tiff file?

    From the debugger, what is the assertion that failed?

    For windows, the path should be


    static const char filename[] = "images\\ascii_test.tiff";

    See...
  18. Replies
    5
    Views
    3,234

    Re: WM_KEYDOWN and focus

    In the code that handles the button click have you tried changing the focus?
    See http://msdn.microsoft.com/en-us/library/windows/desktop/ms646312%28v=vs.85%29.aspx
  19. Replies
    2
    Views
    1,931

    Re: Loops and Vectors

    Also see min_element, max_element

    http://www.cplusplus.com/reference/algorithm/min_element/
    http://www.cplusplus.com/reference/algorithm/max_element/

    and if you are using c++11, minmax_element...
  20. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    Looking at one entry,

    From SimuDLL.lib


    4156 ??1Process@@UAE@XZ
    4156 __imp_??1Process@@UAE@XZ


    From linker error
  21. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    You are linking with the correct lib file for the dll?

    What does dumpbin of the .lib file for the dll show for exports?
  22. Re: Unresolved Externals after using #define DLL extern "C" __declspec(dllexport)

    I don't believe you can export a class as an 'extern "c"' ?

    I export classes like this


    #define DLL __declspec(dllexport)

    class DLL cConsole {
    ...
  23. Replies
    13
    Views
    6,385

    Re: interphace graphique en C/c++ bloodshed dev c++

    Crypting what? There are several 'free' encryption programs around that can be incorporated into your own program (eg see...
  24. Replies
    27
    Views
    13,432

    Re: scrolling popup menu via Page Up/Down

    For info about a message loop see
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms644928%28v=vs.85%29.aspx#creating_loop...
  25. Replies
    27
    Views
    13,432

    Re: scrolling popup menu via Page Up/Down

    T

    Post #12 does not show a message loop.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center