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

Search:

Type: Posts; User: drewdaman

Page 1 of 26 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    2
    Views
    1,378

    Re: Communicating with Serial ports

    dont' know anything about C#.. but see if this helps.. helped me out a lot with serial ports with regular c++..

    http://www.daniweb.com/techtalkforums/showthread.php?t=8020
  2. Thread: script-vc++

    by drewdaman
    Replies
    1
    Views
    941

    Re: script-vc++

    php scripts are run on the server... after they are run, the server generates html and sends it to the client.. so unless your program is running on the server, i'm going to have to say no.. it...
  3. Thread: MFC or Java

    by drewdaman
    Replies
    12
    Views
    2,167

    Re: MFC or Java

    well.. i've heard that the java equivalent of winsock is very similar to winsock..

    also since the original poster mentioend MFC.. i'm guessing that he/she should look into swing for GUI...
  4. Replies
    2
    Views
    740

    Re: COM Port Handle

    createfile to get a handle
    readfile to read from port
    writefile to write to port

    a very very very very very helpful tutorial:
    http://www.daniweb.com/techtalkforums/showthread.php?t=8020
  5. Replies
    5
    Views
    1,281

    Re: need algorithm name

    nope.. making a small excel app (have decided now) for some cost, revenue type analysis.

    [quote= GCDEF]

    Some problems don't have an effecient solution. I believe this is one of them.
    [quote]...
  6. Replies
    5
    Views
    1,281

    Re: need algorithm name

    thanks for the reply GCDEF.

    yes that is true. but i was wondering what the most efficient way to do it is. i might have to do it many times and i might be dealing with a very large number of...
  7. Replies
    5
    Views
    1,281

    need algorithm name

    hello all.. been a few days since i visited "the forums" :)

    need some help.

    what i would like to do:

    -consider an excel sheet. dealing with 5 columns.
    -each column has a heading, followed...
  8. Re: Serial comm over BT serial port does not work?

    what kind of BT device aer you using?
  9. Replies
    1
    Views
    931

    Re: running exe and copying a file

    well.. making intallable programs is a whole other art that i know nothing about.. but to run an exe file, look into ShellExecute(..) and/or system(..).



    Look into CopyFile, CopyFileEx on msdn.
  10. Replies
    4
    Views
    1,195

    Re: writing to many files

    for strcat:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strcat.2c_.wcscat.2c_._mbscat.asp

    char * a= new char 10;
    a[0]='hi';
    char * b= " sup";
    strcat (a,b);...
  11. Replies
    4
    Views
    1,195

    Re: writing to many files

    i just tried to look for a tutorial on how to deal with strings and char * in c++ .. found this: http://cplus.about.com/od/beginnerctutorial/l/aa051202a.htm

    havne't really read it.. but you could...
  12. Replies
    4
    Views
    1,195

    Re: writing to many files

    from a quick glance, it seems there are many things wrong with the code..
    - you declare your array in the loop- the array is declared:
    iteration 1, len 0 - illegal
    iteration 2, len 1
    and so...
  13. Replies
    2
    Views
    7,399

    Re: Asynchronous Vs Synchronous Sockets

    you use winsock.. if you are using vc++, you should already "have them".

    i have only worked with winsock 1.1.. so i can show you how to set up your project to use that.. but i don't know how to...
  14. Replies
    3
    Views
    943

    Re: a cry for help

    well.. its forum policy not to do homework...

    but you will find some useful information on creating scokets, sending messages here:
    http://www.tutorialized.com/tutorial/Using-Internet-Sockets/456...
  15. Replies
    3
    Views
    2,543

    Re: Simple CSocket Program Hangs

    try putting an infinite while loop at the end of both your functions, so that the program does not terminate.. see if you still have the error.. that way you might be able to determine if this is in...
  16. Replies
    3
    Views
    943

    Re: a cry for help

    you do realize that the reason they chose UDP is probably so that you have to implement some sort of reliability into it? i mean.. if this were not a school project, you woudl definitely choose tcp...
  17. Replies
    3
    Views
    2,543

    Re: Simple CSocket Program Hangs

    hello roger,

    i have never used CSocket, but it sounds like what has been described as the "classic mistake" in sockets programming.

    send and recv are strange functions.. what i mean by this is:...
  18. Replies
    4
    Views
    789

    disable a program

    some might say this is a stupid question and i'm trying to be a smart a**, and when i read this tomorrow after sleeping, i might too.. but i am dead serious!

    my problem is (don't laugh) that when...
  19. Replies
    5
    Views
    1,026

    Re: including source files

    not as far as i know... i could be wrong (but i am 99.999999999999999999999999999999999% sure i'm not!).. i have never done that..

    header:



    //header.h
    void test();
    void test2();
  20. Replies
    10
    Views
    1,473

    Re: Help!! Urgent

    nah.. my rates are $500 for a hello world program :p
  21. Replies
    5
    Views
    1,026

    Re: including source files

    you can't.

    make a header file with the function prototypes and include the header file in teh source file. then you can include the header file wherever you want to call the functions.
  22. Replies
    10
    Views
    1,473

    Re: Help!! Urgent

    here is a vc++ program:



    #include <iostream>
    using namespace std;

    int main(){
    cout<<"I expect full payment of $500 for this vc++ program. PM me on details on how to pay up!"<<endl;
    ...
  23. Replies
    8
    Views
    18,269

    Re: Still image capture from a web cam

    found the link. the proejct here takes a pic using a webcam.

    http://www.codeguru.com/Cpp/G-M/multimedia/video/article.php/c4723/
  24. Replies
    8
    Views
    18,269

    Re: Still image capture from a web cam

    http://www.codeguru.com/Cpp/misc/misc/video/article.php/c3771/

    that actually displays the stream from the webcam. but someone modified it to take a picture. i can't fidn the link.. but do some...
  25. Thread: ab

    by drewdaman
    Replies
    2
    Views
    832

    Re: ab

    ef, gh

    well.. yes.. that a start.. but this forum is for learning a different type of language ;)
Results 1 to 25 of 634
Page 1 of 26 1 2 3 4





Click Here to Expand Forum to Full Width

Featured