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....
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.
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.
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
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.
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?
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;
}
...
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...
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...
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...
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.
...
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...
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...
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...