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

Search:

Type: Posts; User: MrPanjabi

Search: Search took 0.00 seconds.

  1. Replies
    35
    Views
    3,813

    Re: Time function

    Thank you very much guys, i got it works now!
  2. Replies
    35
    Views
    3,813

    [RESOLVED] Time function

    I want to print date like that:
    output should be:

    29_December_2007
    how can i do that ?
  3. Replies
    6
    Views
    966

    Re: What is wrong here

    every function is executed except functionMain();
    no error, just the function is not executed
    i want to execute functionMain() every 5 seconds
  4. Replies
    6
    Views
    966

    What is wrong here

    int main()
    {
    function1();
    function2();
    function3();
    do{
    functionMain();
    Sleep(5000);
    }
    while (1 == 1);
  5. Replies
    2
    Views
    594

    Re: Sleep function

    #include <iostream>
    #include <windows.h>
    using namespace std;
    int main()
    {
    do
    {
    cout << "Hello" << endl;
    Sleep(20000);
    }
  6. Replies
    2
    Views
    594

    [RESOLVED] Sleep function

    I want to cout<<"Hello"; at every 20 seconds
    how can i do this
  7. Replies
    7
    Views
    941

    Re: 2 strings together

    #include <tchar.h>
    #include <iostream>
    #include <stdlib.h>
    #include <string>
    #include <stdio.h>
    #include <windows.h>
    #include <fstream>
    using namespace std;
    string winDir()
    {
  8. Replies
    7
    Views
    941

    Re: 2 strings together

    Thanks, i got it works :D
  9. Replies
    10
    Views
    1,446

    Re: return string value in vc++

    Thank you very much Paul, it works now ;)
    I just needed this urgently, i couldn't search for this problem in a whole book.
    You saved my day
  10. Replies
    3
    Views
    709

    detect if already running

    Hi,
    I want to make my app, when i run it, if an instance is already running, to close that instance and run the app again.
    What is the best solution:
    to kill the process then start the program
    or...
  11. Replies
    10
    Views
    1,446

    Re: return string value in vc++

    --------------------Configuration: fratelo - Win32 Debug--------------------
    Compiling...
    fratelo.cpp
    C:\Documents and Settings\Home\Desktop\kgl\fratelo.cpp(236) : error C2146: syntax error :...
  12. Replies
    7
    Views
    941

    2 strings together

    if (fileExist(winPath "\\inf"))
    how can i attach winPath with "\\inf" together ?
  13. Replies
    10
    Views
    1,446

    Re: return string value in vc++

    so what's the solution
    how can i get it work ?
  14. Replies
    10
    Views
    1,446

    Re: return string value in vc++

    #include <iostream.h>
    #include <string>
    #include <windows.h>

    string winDir()
    {
    char winPath[MAX_PATH];
    GetWindowsDirectory(winPath,MAX_PATH);
    return string(winPath);
    }
  15. Replies
    10
    Views
    1,446

    [RESOLVED] return string value in vc++

    void winDir()
    {
    char winDir[MAX_PATH];
    GetWindowsDirectory(winDir,MAX_PATH);
    return winDir;
    }

    int main(void)
    {
    printf(winDir);
Results 1 to 15 of 17


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)