Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

c | Forum profile

Forum profile page for c on http://bytes.com. This report page is the aggregated overview from a single forum: c, located on the Message Board at http://bytes.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "c" on the Message Board at http://bytes.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Expert Communities - bytes - c (site profile, domain info bytes.com)
Title: c
Url: http://bytes.com/topic/c/
Users activity: 37 posts per thread
Forum activity: 77 active threads during last week
 

Posting activity on c:

  Week Month 3 Months
Threads: 77 255 636
Post: 217 796 2,322
 

c Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Banfa
46
user's latest post:
How do I fix this?
Published (2009-11-27 22:54:00)
This plasmaPistolClass oldPistol(); should be this plasmaPistolClass oldPistol; The way you have the compiler thinks you are declaring a function, oldPistol, returning plasmaPistolClass so oldPistol is a function not a variable.
weaknessforcats
19
user's latest post:
Why is there a need of...
Published (2009-11-27 12:56:00)
static_cast will only work when you cast between related types. That is, casting a derived class pointer to a base class pointer. reinterpret_cast will permit a cast between any two pointers. Therefore, if your static_cast is between unrelated types then it will fail at compile type but the same cast will succeed using a reinterpret_cast. Please note: ALL of this happens at compile time. There are no run-time checks. It is dynamic_cast that is...
bajajv
10
user's latest post:
how to implement the CFileFind...
Published (2009-11-22 04:07:00)
hi, Can we implement the FindNextFile() function of CFile class from MFC by standard c++, (without using boost)? Any functions from standard c++ which will help in this case
RRick
10
user's latest post:
How to override standard printf...
Published (2009-11-23 04:56:00)
I tried a similar test on my linux box using g++ 4.2.4 and it works fine for all cases. To test out the C lib fprintf, just change the method's name to xxxfprintf. This makes me think that there is something missing in your checking for stdout and stderr. I'm not 100% certain, but if something is piped between processeses or copied or whatever, it might act like a stdout, but not be the same stdout. Expand | Select | Wrap | Line...
momotaro
9
user's latest post:
recursion
Published (2009-11-22 14:05:00)
perfect this is recursion ! thx
Macinbomzh
7
user's latest post:
vc6 get process state
Published (2009-11-26 01:34:00)
Is there a way to get all the variables declared by a program in RAM and save them in a file?
Amru S
6
user's latest post:
write a c++ program to generate...
Published (2009-11-22 07:07:00)
how to generate first ten fibonacci numbers using for loop?? by c++
mar11
5
user's latest post:
object accessing
Published (2009-11-22 07:07:00)
@banfa; you may need this approach of accessing the object "Test" if you got the the function foo() from the file3.h as an interface function. In this case you are not allowed to change the name or declare it somewhere else.... In this case how can you deal with it. i hope my question is getting through now. Again, i have to treat the foo() function in the file3.h as interface function. form you experience, may you lead me to...
manjuks
5
user's latest post:
Clarification in free
Published (2009-11-23 06:55:00)
Very useful. Thanks Manjunath
dheerajjoshim
5
user's latest post:
question in c
Published (2009-11-23 02:54:00)
Looks like it is an assignment program..... We can't write code for you... Regards Dheeraj Joshi
 

Latest active threads on c::

Expert Communities - bytes
Started 19 hours, 28 minutes ago (2009-11-28 11:58:00)  by weaknessforcats
There is nothing special about header files. They are just text files. They are only called header files because usually they are included at the beginning (or head) of the implementation file. The .h extension is not required but it customary in C. C++ standard header files have no extension. You do need to be careful of this: Expand | Select | Wrap | Line Numbers #...
Thread:  Show this thread (9 posts)   Thread info: how can I create a header file ? Size: 2,927 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: how can I create a header file ? :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 2 days ago (2009-11-27 06:54:00)  by weaknessforcats
C++ does not support default-int. You have to actually specify the type or say void.
Thread:  Show this thread (8 posts)   Thread info: ISO C++ forbids declaration of ` pthread_cond_destroy' with no type Size: 84 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: ISO C++ forbids declaration of ` pthread_cond_destroy' with no type :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 1 day, 21 hours ago (2009-11-27 09:55:00)  by newb16
If you are trying to execute the C/C++ code written in Ax.c file based on user's choice, it's not done that way. You need to compile them and link resulting object files according to your compiler's documentation.
Thread:  Show this thread (6 posts)   Thread info: Does anyone knows how to read a data from the other file? Size: 213 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Does anyone knows how to read a data from the other file? :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 3 days, 21 hours ago (2009-11-25 10:15:00)  by mac11
I think you need some -Wl flags so the linking is correct. Here's a good reference http://www.linux.org/docs/ldp/howto/...libraries.h tml
Thread:  Show this thread (6 posts)   Thread info: Looking for a Makefile to create shared lib in Linux Size: 270 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Looking for a Makefile to create shared lib in Linux :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 1 day, 14 hours ago (2009-11-27 16:54:00)  by Banfa
What signals? Presumably you are using something like Terminal on the pc to receive the data? Can matlab deal with ASCII encode values? If so that is probably the easiest way to transfer the data to your PC.
Thread:  Show this thread (4 posts)   Thread info: sending microcontroller data to matlab Size: 238 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: sending microcontroller data to matlab :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 1 day, 8 hours ago (2009-11-27 22:54:00)  by Banfa
This plasmaPistolClass oldPistol(); should be this plasmaPistolClass oldPistol; The way you have the compiler thinks you are declaring a function, oldPistol, returning plasmaPistolClass so oldPistol is a function not a variable.
Thread:  Show this thread (5 posts)   Thread info: How do I fix this? Size: 296 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: How do I fix this? :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 1 day, 13 hours ago (2009-11-27 17:55:00)  by randysimes
I can use vector, but am more familiar with arrays. I hear that vertors are much easier, as the [size] issue is automatically taken care of. Here the the header file: class String; // stand alone operators std::ostream& operator << (std::ostream& os, const String& s); std::istream& operator >> (std::istream& is, String& s); int operator == (const String& s1, const String& ...
Thread:  Show this thread (4 posts)   Thread info: std::istream& operator >> (std::istream& is, String& s) Size: 1,928 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: std::istream& operator >> (std::istream& is, String& s) :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 2 days ago (2009-11-27 06:55:00)  by ashitpro
You can have a structure and declare the char array of size 3. Or best way to create a class, here you can also define custom methods to perform operations on your char array
Thread:  Show this thread (5 posts)   Thread info: Hi i want to declare a datatype of size 3 bytes Size: 181 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Hi i want to declare a datatype of size 3 bytes :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 2 days ago (2009-11-27 06:56:00)  by weaknessforcats
Remember that arrays are 0 based. The 65th element for your A is array[64].
Thread:  Show this thread (7 posts)   Thread info: how to read a txt file into an array Size: 75 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: how to read a txt file into an array :: c :: Expert Communities - bytes"
Expert Communities - bytes
Started 2 days ago (2009-11-27 06:56:00)  by Banfa
Any time you need to take an integer type and interpret it as a pointer. This does not happen much on PC platforms (Linux, Windows Mac) because you rarely know the actual address of any bits of hardware. However on embedded platforms it is something you do a fair bit because the various bits of hardware are often mapped into memory at a fixed address, you know the actual value of that ...
Thread:  Show this thread (4 posts)   Thread info: Why is there a need of reinterpret_cast ? Size: 660 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Why is there a need of reinterpret_cast ? :: c :: Expert Communities - bytes"
 

Hot threads for last week on c::

c
re: recursion - 14 new posts
Started 1 week ago (2009-11-22 07:05:00)  by YarrOfDoom
There is still some room for improvement. Try going over this code line by line with some example input and see if you can find what is obsolete. If you really can't find it, I could provide you with some more hints.
Thread:  Show this thread (14 posts)   Thread info: recursion Size: 230 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: recursion :: c :: Expert Communities - bytes"
c
Started 1 week ago (2009-11-22 07:07:00)  by Amru S
no i mean i want firt ten febonacci numbers in c++ program by using for loop,,
Thread:  Show this thread (11 posts)   Thread info: write a c++ program to generate first ten fibonacci numbers using for loop Size: 78 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: write a c++ program to generate first ten fibonacci numbers using for
loop :: c :: Expert Communities - bytes"
c
Started 19 hours, 28 minutes ago (2009-11-28 11:58:00)  by weaknessforcats
There is nothing special about header files. They are just text files. They are only called header files because usually they are included at the beginning (or head) of the implementation file. The .h extension is not required but it customary in C. C++ standard header files have no extension. You do need to be careful of this: Expand | Select | Wrap | Line Numbers #...
Thread:  Show this thread (9 posts)   Thread info: how can I create a header file ? Size: 2,927 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: how can I create a header file ? :: c :: Expert Communities - bytes"
c
Started 2 days ago (2009-11-27 06:54:00)  by weaknessforcats
C++ does not support default-int. You have to actually specify the type or say void.
Thread:  Show this thread (8 posts)   Thread info: ISO C++ forbids declaration of ` pthread_cond_destroy' with no type Size: 84 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: ISO C++ forbids declaration of ` pthread_cond_destroy' with no type :: c :: Expert Communities - bytes"
c
Started 2 days ago (2009-11-27 06:56:00)  by weaknessforcats
Remember that arrays are 0 based. The 65th element for your A is array[64].
Thread:  Show this thread (7 posts)   Thread info: how to read a txt file into an array Size: 75 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: how to read a txt file into an array :: c :: Expert Communities - bytes"
c
Started 2 days ago (2009-11-27 06:56:00)  by cplusplusbytes
I agree, but what I am looking for is features in C++ which can not be implemented at all with out using references, like copy ctor and operator overloading.
Thread:  Show this thread (7 posts)   Thread info: why do we need references ? Size: 157 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: why do we need references ? :: c :: Expert Communities - bytes"
c
re: question in c - 6 new posts
Started 6 days, 4 hours ago (2009-11-23 02:54:00)  by dheerajjoshim
Looks like it is an assignment program..... We can't write code for you... Regards Dheeraj Joshi
Thread:  Show this thread (6 posts)   Thread info: question in c Size: 120 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: question in c :: c :: Expert Communities - bytes"
c
Started 4 days, 22 hours ago (2009-11-24 08:40:00)  by Macinbomzh
How do I take for example 2gb RAM and allow only a specific process to use them?
Thread:  Show this thread (6 posts)   Thread info: vc6 set process memory usage Size: 80 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "vc6 set process memory usage :: c :: Expert Communities - bytes"
c
Started 3 days, 21 hours ago (2009-11-25 10:15:00)  by mac11
I think you need some -Wl flags so the linking is correct. Here's a good reference http://www.linux.org/docs/ldp/howto/...libraries.h tml
Thread:  Show this thread (6 posts)   Thread info: Looking for a Makefile to create shared lib in Linux Size: 270 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Looking for a Makefile to create shared lib in Linux :: c :: Expert Communities - bytes"
c
Started 1 day, 21 hours ago (2009-11-27 09:55:00)  by newb16
If you are trying to execute the C/C++ code written in Ax.c file based on user's choice, it's not done that way. You need to compile them and link resulting object files according to your compiler's documentation.
Thread:  Show this thread (6 posts)   Thread info: Does anyone knows how to read a data from the other file? Size: 213 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "re: Does anyone knows how to read a data from the other file? :: c :: Expert Communities - bytes"