Hello, I want to write a DEBUG_TRCE function in wich to call printf(): void DEBUG_TRACE(const char* format, ...) { #ifndef NDEBUG printf(format, ...); #endif }...
great going man ... _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com...
I want to read/ write binary data to a buffer without writing to a file, File I/O has READBINARY and WRITEBINARY options associated with it. If I write data...
... The above phrase, "it gets interpreted as ASCII text," is a little confusing. Binary data is binary data; so if you're storing a char array full of byte...
Today is the birthday of the late Jefferson Davis (1809-1889), former U.S. military officer, U.S. Congressman, U.S. government cabinet member, U.S. Senator;...
hi group? is there any idea where the code of the header files stored?(stdio.h..etc).as,in a header file it's the declaration of a function or varibale,what so...
The definitions of the functions are in respective .c files, which are normally not provided along with the compiler. These files are present in pre-compiled...
Hello group, I was wondering if anyone could help me. I am doing this project where i have to sort an array using qsort. The array is made up of structs: ...
... http://groups.yahoo.com/group/cncppassist/message/10024?expand=1 Yeah Checked it out . The first pt. that is , the first index starting at zero is...
Hi fella's! I need a C/C++ program that can read the serial number of the CPU of a PC. The idea is to use this serial number as an identifier of a CPU, just...
I´m just beginning to learn C (coming from Java), and currently I´m trying to grasp the concept of pointers, in particular the pointer of type 'void *'. I...
Hi everyone. I am a student and have c++ as a couse this term . I need help in managing my project. How do you have to define 2 classes as friend? or this this...
Hi everyone. I am a student and have c++ as a course this term . I need help in managing my project. How do you have to define 2 classes as friend? or this...
I don't know exactly what you want to know, but... class A { ..... friend class B; // This allows class B member functions to access all the class A members...
Type void* does not carry any information about the actual size of the object the pointer is pointing to, hence, you need to pass the object size, in addition...
i have a project to make a c++ program that create two box by the user input coordinate of the rear_top_right and the front_bottom_left corner or one corner...
Hello yuki Thank you for your prompt answer, I really appreciate it! Would it be possible for you to create some sample code to illustrate your answer? What I...
Hello!, I'm a Spanish student that needs information about how to use Mysql with C. And I've got a question:Is it possible to use a Graphic Library with C??...
Suppose you have an array of doubles. In most implementations, a double uses 8 bytes of memory, or 8 times that of a char. If you cast a void pointer to a...
Hi, I need some guidance on cross-compilation and linking between GCC and Forte compiler. I have 3 .c files a.c #include <stdio.h> void a(); void a() ...
Hi all, I am looking for some assistance writing a program. Here are the details..... Given the following info: Mangoes Pears Strawberrys Blueberries Papayas ...
Hi, I am using linux machine and trying to compile a file which is calling functions from another file. I have included the header file and all but it gives me...
While we're happy to help, there seems to be a consensus in this group that we don't do people's homework for them. Your assignment looks as if it could be a...