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 Programming | Forum profile

Forum profile page for C Programming on http://www.devshed.com. This report page is the aggregated overview from a single forum: C Programming, located on the Message Board at http://www.devshed.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 Programming" on the Message Board at http://www.devshed.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: Dev Shed Forums - Open Source web development - C Programming (site profile, domain info devshed.com)
Title: C Programming
Url: http://forums.devshed.com/c-programming-42/
Users activity: 51 posts per thread
Forum activity: 85 active threads during last week
 

Posting activity on C Programming:

  Week Month 3 Months
Threads: 85 284 817
Post: 433 1,447 4,150
 

C Programming Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
jwdonahue
87
user's latest post:
Page 2 - Inheritance Problem -...
Published (2009-11-08 13:35:00)
It seems you are over-using inheritance. In the real world, we're all just a bag of water and other chemicals, but we don't classify ourselves as substances , we're collections of substances known as animals and we tend to classify ourselves as Human, a kind of primate with a large brain and also a member of the vertebrates. But we are also members of the class carbon based biped if you check the Hitchhiker's Guide To The...
RAJ_55555
32
user's latest post:
Help with locating all...
Published (2009-11-08 04:07:00)
Quote: Originally Posted by babyboi okay with a lot of help here is what i got to so far. i started of with the 2 suggestions but had to sway a little. i know the switch is not optimal but how else can i easily achieve this? i don want to have to write out another 26 lines for upper cases and same for special characters. Also how can I do this such that A or a are counted as 1 (i.e case does not matter)? Thanks. Expertise level varies,and by...
mitakeet
24
user's latest post:
[ANSI C,Unix/Windows]char *s VS...
Published (2009-11-05 08:19:00)
Not exactly sure where you are going. An array (s[]) is basically a const pointer that (supposed to be and enforced by the compiler) cannot be 'pointed' to any other memory location. Creating a variable like this: char s[] = "abc"; creates a 4 character array (one for the NULL) by the compiler (possibly on the stack, possibly in the data section). This: char *s; However, just creates a plain pointer which happens...
Scorpions4ever
23
user's latest post:
Page 2 - Generic list with...
Published (2009-11-07 11:35:00)
Shows you the value of a debugger. I found your bug within 5-10 minutes without knowing any Italian .
dspgro
22
user's latest post:
[ANSI C]Hex to Int converter
Published (2009-11-07 01:41:00)
Quote: Originally Posted by ptr2void What do you want, a cookie?? I will give you one if you can reduce the performance by 20% of this one.
IOI-RLZ
22
user's latest post:
Page 3 - Any good...
Published (2009-11-05 13:45:00)
Oh and btw it's not that difficult, new problem, new THREAD. To effectively not waste time of other members who take time out to solve/help you out, you would do good, to mention a little about the background of the problem, like mentioning this is the erastoheneseses sieve??? Instead of just shoving code ... Regards proxy < all of us...
clifford
21
user's latest post:
[ANSI C]Hex to Int converter
Published (2009-11-07 04:14:00)
You should have use two separate threads, all the talk is about the second example, and seems to be ignoring the fact that you first example is nonsense. The variable hex is already an integer - no conversion is necessary. The internal representation of an integer is binary, all %x and %d do is translate that to or from various human readable forms. I suggest also that you loose teh hard-tabs and the excessive vertical space for teh sake of...
sizablegrin
21
user's latest post:
Page 2 - Inheritance Problem -...
Published (2009-11-08 15:09:00)
Think about your car. It is made of objects. They are grouped (mostly) functionally. Your butterfly valve is not on your hood ornament and your crankshaft is not in the trunk. The mechanical advantage of your jack is not responsible for the ratio of engine revs to wheel revs. At least, I hope not.
boygenius
17
user's latest post:
Dynamically allocate array using...
Published (2009-11-06 14:52:00)
thanx very much for the help The segmentation fault was due to error in my logic. now its been rectified .
MadDogBrown
14
user's latest post:
Inheritance Problem
Published (2009-11-08 11:19:00)
Quote: Originally Posted by Novos static char *screenArray[252]; [/font] This is what I wanted to make static but setting up some data passing system from instantiated objects to base is a little to complicated for me at the moment. Sprite USES the Screen. The Screen is its own entity, with its own characteristics. Place those members in another class that represents that entity, and use delegation from the Sprite class to interact with it....
 

Latest active threads on C Programming::

Dev Shed Forums - Open Source web development
Started 2 days, 14 hours ago (2009-11-07 16:15:00)  by jwdonahue
Let me see if I understand your issue correctly. You want instances of Hunter and Enemy to share some common data? Correct?
Thread:  Show this thread (18 posts)   Thread info: Inheritance Problem Size: 195 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Inheritance Problem :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 3 days, 14 hours ago (2009-11-06 16:55:00)  by sizablegrin
Every position in the string will be a character. You'll find them beginning at index 0 and ending at index strlen()-1. Actually there'll be one at index strlen(); the latter will be the nul character. If you have another question in mind, please formulate it and ask it clearly.
Thread:  Show this thread (12 posts)   Thread info: Help with locating all characters in a string Size: 356 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Help with locating all characters in a string :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 1 week, 2 days ago (2009-10-31 20:57:00)  by Nyan
I'm sure you are just trying to pretend that you are putting effort ? Isn't it? Did you even compile the program that you posted?
Thread:  Show this thread (10 posts)   Thread info: Values of sine Size: 185 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Values of sine :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 3 days, 6 hours ago (2009-11-07 00:30:00)  by jwdonahue
Your problem is that Console is not a complete type until you get to the end of the typedef declaration. You'll have to use a struct tag: Code: typedef struct Console_tag { .... void (*Hide)(struct Console_tag*) ; .... } }
Thread:  Show this thread (4 posts)   Thread info: Simple struct definition error Size: 567 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Simple struct definition error :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 3 days, 2 hours ago (2009-11-07 04:52:00)  by jwdonahue
What exactly is the problem? Does your code compile? Does it crash?
Thread:  Show this thread (7 posts)   Thread info: Logging messages Size: 125 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Logging messages :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 2 days, 13 hours ago (2009-11-07 17:19:00)  by jwdonahue
Where to begin? Where does line get set? Is that what getInput() does? How do you synch that input with your loop? We need to see more code, including getInput() and every file and global scope variable involved. Your tests of i don't seem to align with what you are comparing to either. When i == 4 your looking for "5" and when it's either 1 or 0 you are looking for "1".
Thread:  Show this thread (5 posts)   Thread info: Strcmp help Size: 482 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Strcmp help :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 2 days, 14 hours ago (2009-11-07 16:09:00)  by jwdonahue
The trouble with this approach is that you may make it a little more difficult to reverse engineer, but you can't completely prevent reverse engineering. It sounds like what you really need is a good license manager, but there really isn't any such thing anywhere in the world. If you find something that does the trick, chances are it got used on more than one product and that made it ...
Thread:  Show this thread (4 posts)   Thread info: C Obfuscation / Encryption Size: 1,886 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: C Obfuscation / Encryption :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 3 days, 19 hours ago (2009-11-06 11:51:00)  by MadDogBrown
Quote: anyone can help me? Yes. Terrible question: post some code with a specific question. Do you even understand the concept of a sentinel node in a linked list? Study the diagrams until it makes sense to you; it's a very basic concept that frees you from the extra step of doing an "end of list" check.
Thread:  Show this thread (19 posts)   Thread info: Generic list with sentinel Size: 812 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Generic list with sentinel :: C Programming :: Dev Shed Forums - Open Source web development"
Dev Shed Forums - Open Source web development
Started 3 days, 11 hours ago (2009-11-06 19:58:00)  by dspgro
Here is another program to squeeze one string by taking out common. The string s[] is squeezed , taking out chars in c. Code: void squeeze( char s[],char c[]) { int i=0,j=0,k=0; while(c[k]!='\0') { i=0; j= 0; while(s[i]!='\0') { if (s[i]!= c[k]) s[j++]=s[i]; i++; } k++; s[j]='\0'; } } main() { char p...
Thread:  Show this thread (15 posts)   Thread info: [ANSI C]Hex to Int converter Size: 785 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Squeeze :: C Programming :: Dev Shed Forums - Open Source web development"
 

Hot threads for last week on C Programming::

C Programming
Started 1 week ago (2009-11-02 11:05:00)  by boygenius
Thread:  Show this thread (28 posts)   Thread info: Running time for this program Size: 0 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Running time for this program :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
RE: Macro - 23 new posts
Started 1 week ago (2009-11-02 16:38:00)  by IOI-RLZ
-----
Thread:  Show this thread (23 posts)   Thread info: Macro Size: 61 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Macro :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 1 week, 4 days ago (2009-10-29 23:00:00)  by sizablegrin
Think about how you might take an uninitialized array and initialize it at run time, using a loop.
Thread:  Show this thread (48 posts)   Thread info: Any good advice/webpages on arrays? Size: 154 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Any good advice/webpages on arrays? :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 1 week, 1 day ago (2009-11-01 14:17:00)  by requinix
Try again. - You don't say how to get N1, N2, and N3. Important because of the "should not be able to enter the same number more than once" restriction. - There are typos. - You don't use L_NUM or S_NUM anywhere. - You don't determine L_NUM and S_NUM correctly. - Your DOWHILE loop starts in the wrong place, if it's even necessary to begin with.
Thread:  Show this thread (22 posts)   Thread info: Finding the sum, product... Size: 452 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Finding the sum, product... :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 5 days, 15 hours ago (2009-11-04 15:59:00)  by RAJ_55555
Thread:  Show this thread (21 post)   Thread info: Problem with Scanf instead of gets Size: 0 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: what type of error? mention :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 3 days, 19 hours ago (2009-11-06 11:51:00)  by MadDogBrown
Quote: anyone can help me? Yes. Terrible question: post some code with a specific question. Do you even understand the concept of a sentinel node in a linked list? Study the diagrams until it makes sense to you; it's a very basic concept that frees you from the extra step of doing an "end of list" check.
Thread:  Show this thread (19 posts)   Thread info: Generic list with sentinel Size: 812 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Generic list with sentinel :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 2 days, 14 hours ago (2009-11-07 16:15:00)  by jwdonahue
Let me see if I understand your issue correctly. You want instances of Hunter and Enemy to share some common data? Correct?
Thread:  Show this thread (18 posts)   Thread info: Inheritance Problem Size: 195 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Inheritance Problem :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
RE: Squeeze - 15 new posts
Started 3 days, 11 hours ago (2009-11-06 19:58:00)  by dspgro
Here is another program to squeeze one string by taking out common. The string s[] is squeezed , taking out chars in c. Code: void squeeze( char s[],char c[]) { int i=0,j=0,k=0; while(c[k]!='\0') { i=0; j= 0; while(s[i]!='\0') { if (s[i]!= c[k]) s[j++]=s[i]; i++; } k++; s[j]='\0'; } } main() { char p...
Thread:  Show this thread (15 posts)   Thread info: [ANSI C]Hex to Int converter Size: 785 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Squeeze :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Help me ... - 14 new posts
Started 1 week ago (2009-11-02 17:31:00)  by johnybe
Thread:  Show this thread (14 posts)   Thread info: Help me ... Size: 0 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Help me ... :: C Programming :: Dev Shed Forums - Open Source web development"
C Programming
Started 3 days, 14 hours ago (2009-11-06 16:55:00)  by sizablegrin
Every position in the string will be a character. You'll find them beginning at index 0 and ending at index strlen()-1. Actually there'll be one at index strlen(); the latter will be the nul character. If you have another question in mind, please formulate it and ask it clearly.
Thread:  Show this thread (12 posts)   Thread info: Help with locating all characters in a string Size: 356 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Help with locating all characters in a string :: C Programming :: Dev Shed Forums - Open Source web development"

This page was found by:   c programming abundant numbers  Abundant Numbers C programming  making a DLL in C using dev shed