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

Search:

Type: Posts; User: DevLip

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    610

    Re: string manipulation

    Assuming your class is using char * (you didn't want to use the string class) than each letter in the string can be pointed to rather easily
    assuming: char myStr[7] = "my name";

    then you can...
  2. Replies
    2
    Views
    673

    Re: Error in fetching time from Remote Server

    try connecting to the time server with windows just to make sure everything is all right "net time \\computername /QUERYSNTP"
    If this works you could always shell that and use the return, if it...
  3. Replies
    0
    Views
    1,641

    Signal Handler .sa_mask

    I'm trying to set up a signal handler so that I can catch catch SIGIO to handle async read operations from the serial port. I define my signal handler as:

    void signal_handler_IO (int status); ...
  4. Thread: Is it an event?

    by DevLip
    Replies
    3
    Views
    482

    Re: Is it an event?

    Basically. I'm looking for an opinion on the best method for simulating the data stream
  5. Thread: Is it an event?

    by DevLip
    Replies
    3
    Views
    482

    Is it an event?

    HI all,

    I'm trying to create something like a virtual circuit. I create a series of objects and link them to one another withe what each object understands to be the input and the output. Now I...
  6. easiest way I can think of is post the form to a...

    easiest way I can think of is post the form to a javascript validator that, at the end of validation, redirects the browser to "telnet://ipaddress". Of course if you want to get fancier check out...
  7. Replies
    0
    Views
    354

    PERL: Sorting a hash by values

    I've created a multi-dimensional hash that I'm trying to sort.

    $foo{'a'}{1} = 4;
    $foo{'a'}{2} = 7;
    $foo{'a'}{3} = 3;
    $foo{'b'}{1} = 1;
    $foo{'b'}{2} = 5;
    $foo{'b'}{3} = 6;
    $foo{'c'}{1} = 4;...
  8. Replies
    3
    Views
    1,300

    hex char to int in C

    I'm trying to feed a single char (as an int) to this function an then get back the hex value but I"m getting complier errors...



    254>int hex_to_int(int c)
    255>{
    256>
    257> if((c - (int)'0'...
  9. Replies
    0
    Views
    452

    Perl: Associative arrays

    Is it possible to extract the keys from a multi-dimensional associative array??

    Here's the problem, I wrote a parser that dynamically fills an array with keys/values from a file. so I end up...
  10. Replies
    2
    Views
    407

    you're right again... first way is the best,...

    you're right again...
    first way is the best, thanks
  11. Re: annoying problem that's a pain to figure out...........

    try
    sprintf(temp[loop], "%s %d %ld", names[loop], rand() % 20 + 18, rand() + 27500);
  12. Replies
    4
    Views
    937

    I've never done this before but it used to work...

    I've never done this before but it used to work in the dos world...
    If you create an ofstream to you printer device (prolly dev/lpt0 or something like that) the you can simply stream data to that...
  13. Replies
    2
    Views
    407

    copying unknown datatypes

    I have a variable in a templated class (A) that I want to be able to change from a wrapper class (B). The data type of A changes with each instance (string, int, float...), but what I'm wondering is...
  14. Replies
    3
    Views
    352

    braileanul, you may still be encountering a...

    braileanul, you may still be encountering a problem with your project settings like Guys said. Try this, open a soure FILE with your example, it will ask you to create a project when you start to...
  15. Replies
    1
    Views
    393

    namespace issues

    I'm having a problem resolving some namespace isses.

    in my project I have:
    main.cpp: #include <iostream.h>
    main.cpp: #include "timestamp.h"

    timestamp.h: #include "timelist.h"
    timestamp.h:...
  16. Replies
    9
    Views
    1,598

    thanks guys, I forget that one too often

    thanks guys, I forget that one too often
  17. Replies
    9
    Views
    1,598

    I changed it to #include and I get more...

    I changed it to #include <list> and I get more errors... :confused:

    "c:\dev-cpp\fabsim\timelist.h(18) : error C2143: syntax error : missing ';' before '<'
    c:\dev-cpp\fabsim\timelist.h(18) :...
  18. Replies
    9
    Views
    1,598

    VS C++ 6.0 has error in list.h?

    In my project I declare a list:

    #include <list.h>
    list<unsigned> tsList;

    and when I compile I get errors:
    "c:\program files\microsoft visual studio\vc98\include\list.h(37) : error C2146:...
  19. Replies
    2
    Views
    381

    THanks guys, I figured it out, there was actually...

    THanks guys, I figured it out, there was actually a bug in the retrieval function so that it was overwritting the data :O
  20. Replies
    1
    Views
    2,155

    Multicast w/ IGMP

    Can I use winsock to join a multicast group and send/recieve multicasts transmissions? It seems that the key player in this is talking IGMP to join the multicast group.

    thanks,
    Devan
  21. Replies
    15
    Views
    1,948

    another option is to address the array...

    another option is to address the array dynamically


    //here's a ptr to our array
    string * theArray;
    int numElements = 4;
    theArray = new string[numElements];


    of course if you want to resize...
  22. Replies
    4
    Views
    1,397

    why would this be better than building a linked...

    why would this be better than building a linked list with pointers to the next index by each field ie:



    class LInkList
    {
    public:
    //blah blah
    int add();
    int field1next();
  23. Replies
    2
    Views
    381

    working with binary files

    I have a few functions I'm using to write values to a binary file. The problem is when I read from the file to retrieve values all I get is the last value written.

    The structure I am inserting...
  24. Replies
    3
    Views
    457

    I haven't tested this but, assuming contiguous...

    I haven't tested this but, assuming contiguous memory:



    void vector_to_matrix ( int * vector , int * matrix , int row_length )
    {
    int i,j;
    int column_length = row_length;

    for(i = 0;...
  25. Replies
    4
    Views
    408

    renaming the variable did work, defining the...

    renaming the variable did work, defining the namespace didn't, odd that I didn't have this problem compiling the other day...

    wanna take a shot at this one:
    "c:\dev-cpp\fabsim\datastamp.h(32) :...
Results 1 to 25 of 61
Page 1 of 3 1 2 3


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