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

Search:

Type: Posts; User: clockworks

Page 1 of 5 1 2 3 4

Search: Search took 0.56 seconds.

  1. Replies
    5
    Views
    786

    yeah, i totally agree with you. unfortunately, i...

    yeah, i totally agree with you. unfortunately, i think it has to be this way. these types of arrays are used in Pro*C code to read many rows of a column (chars[n]) into an array in one fell swoop....
  2. Replies
    5
    Views
    786

    as opposed to an array of 10 character pointers. ...

    as opposed to an array of 10 character pointers. interesting, thanks for the reply.

    so whats the difference between:



    char *p;

    and
  3. Replies
    5
    Views
    786

    what is the type of char (*blah)[10]

    what is the type "blah" when declared:


    char (*blah)[10];


    thanks.
  4. Replies
    20
    Views
    7,144

    i can dig that...=) -- C

    i can dig that...=)

    -- C
  5. Replies
    20
    Views
    7,144

    but the member who posted this thread could have...

    but the member who posted this thread could have got a very simply answer to his question. instead, he gets bombarded with discussion of ultra-technicalities by the seasoned veterans.

    i think my...
  6. Replies
    20
    Views
    7,144

    whats the point of picking things to death? why...

    whats the point of picking things to death? why make such a big fuss over simple terminology that you learn in programming 101?



    void f(int x); //pass by value
    void f(int &x); //pass by...
  7. Replies
    20
    Views
    7,144

    mrviggy, you are getting the definitions of "pass...

    mrviggy, you are getting the definitions of "pass by value" and "pass by reference" backwards.

    when you pass by value, the function gets a >copy< of the orginial value. thus, whatever changes are...
  8. Replies
    12
    Views
    16,046

    Re: Multi-dimension STL vector

    >> is interpreted by the compiler as the right shift operator.
  9. Replies
    4
    Views
    653

    capacity of a cd

    exactly how many bytes of user data are available on an 700mb 80min cd?

    i'm writing a little cd burning program that allows you to add mp3/wav files to a list. when you add files to that list,...
  10. Replies
    10
    Views
    2,496

    wow cool, thanks for the post...=) i'm gunna...

    wow cool, thanks for the post...=) i'm gunna clean up the code right now to use std::string! and i'm definantly gunna check out that book your recommended.

    thank you,
    -- christopher
  11. Replies
    10
    Views
    2,496

    paul, excuse me, i'm a bit inebriated, but whats...

    paul,
    excuse me, i'm a bit inebriated, but whats with the hints? no hints, just tell me how to do it...=)
    what if my chunk is 4 bytes:
    first byte: 0
    second: 0
    thrid: 0
    fourth: 10

    its my...
  12. Replies
    10
    Views
    2,496

    std::string will not work for what i want. i'm...

    std::string will not work for what i want. i'm writing a huffman encoder and i have a map of frequencies per "chunk". a chunk could be 1, 2, 3, or n bytes.

    so lets say i want to count the...
  13. Replies
    1
    Views
    658

    maps, lists, etc for c

    hello,
    so c++ has the stl, perl has cspan, what does c have? if i want a map, or a list, i have to write it myself? or is there like a website that makes available free libraries?

    its not that...
  14. Replies
    10
    Views
    2,496

    user defined types and std::map

    hello,
    i want to make a map keyed on strings represented by char* (i.e. c strings). how would i do this?

    it seems that if i declare map<char*, mytype>, then the keys would be the actual pointer...
  15. Replies
    0
    Views
    496

    using STL's list::sort()?

    how do i use STL's list's sort method (the one that takes a parameter). say for instance, i have code like this:

    list&lt;MyClass*&gt; myList;

    and i want to sort it. this is what i'm thinking of...
  16. Replies
    1
    Views
    1,467

    using STL's list::sort()

    how do i use STL's list's sort method (the one that takes a parameter). say for instance, i have code like this:

    list&lt;MyClass*&gt; myList;

    and i want to sort it. this is what i'm thinking of...
  17. Replies
    1
    Views
    474

    How specifiy command line option?

    how do i specify command line options (arguments to my program) when i'm running my console app from vc++ 6.0? my main is declared as follows:
    int main(int argc, char** argv) {
    return 0;
    }
    ...
  18. Replies
    1
    Views
    615

    recommended reading for winsock?

    just for a learning exercise, i am currently writing a dinky little server/client that kinda mimmics icq/aim. now, that i'm kinda into it, i need more info on winsock. are there any good books about...
  19. Replies
    0
    Views
    526

    recommended reading for winsock?

    just for a learning exercise, i am currently writing a dinky little server/client that kinda mimmics icq/aim. now, that i'm kinda into it, i need more info on winsock. are there any good books...
  20. function to convert string (in hex format) to int?

    i know there is a function convert a string in hex format (i.e. "0x00ff0000") into an int. but i'm on linux now and don't have my beloved msdn to help me! could someone please give me the function...
  21. Replies
    0
    Views
    634

    using QueryPerformanceCounter

    how do i use QueryPerformanceCounter() and QueryPerformanceFrequency() to time a segment of my code? i've done it before, but i lost the source and i've totally forgotten how...
    thank you.
    ...
  22. Replies
    2
    Views
    702

    using ODBC API in a dialog project

    ok, i included sql.h and sqlext.h, but i get linking errors (unresolved external symbols) when i use SQLAllocEnv(), SQLAllocConnect(), or any of the ODBC API functions. what library do i need to...
  23. DSN and ADO stuff...(access to oracle DBs)

    ok, more questions, heh. a client wants me to modify a program to read data from an oracle database instead of a text file (apprently a program called SmartSection's next version dumps its output to...
  24. Replies
    0
    Views
    609

    class objects and class instances

    ok, i've read about 150 pages of essential com a few weeks ago. i just now started reading it again and i'm kinda lost (please don't tell me to reread the first 150 pages...;) anyways, it says that...
  25. How do made dirs selectable in CFileDialog

    i want people to be able to add directories that they choose to a list box. how can i do this with CFileDialog? thank you

    -christopher bottaro
    cjb@cs.utexas.edu
    cjb9@mail.utexas.edu...
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured