Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Tags
Member Avatar for csteverun

Please help -- I have tried every solution I could find on the Internet and nothing has worked. I get no audio from YouTube or any Flash video, but regular audio (videos, games, anything outside the browser) works fine. The proper audio devices are selected in the Control Panel and …

Member Avatar for csteverun
0
274
Member Avatar for csteverun

For some reason Safari and Bloglines strips out part of the HREF address in my RSS links. The feed address is: [url]http://popsicklestrip.com/pss-rss.xml[/url] The proper address format is: [domain]s/[comic-name] For example: [url]http://popsicklestrip.com/s/to-the-death/[/url] This is how it appears in the actual XML file and it works fine in Firefox and Opera. However, …

Member Avatar for csteverun
0
160
Member Avatar for csteverun

I have a program which uses the SDL library. Here is my function which updates the input state: [code] int SDL_UpdateControls () { int qevent = 0; while(SDL_PollEvent(&event)) { qevent = 1; switch(event.type) { case SDL_KEYDOWN: SDL_keydown = event.key.keysym.sym; break; case SDL_KEYUP: SDL_keyup = event.key.keysym.sym; break; case SDL_MOUSEBUTTONDOWN: SDL_mousedown = …

Member Avatar for csteverun
0
164
Member Avatar for csteverun

In PHP I can use the pack function to format a integer value to a 16 bit wav channel chunk. It gets the endianness right and it works. How would one go about creating raw wav data in c? [code] function cram ($integer, $type = 's', $length = '*') { …

Member Avatar for csteverun
0
148
Member Avatar for csteverun

What I am trying to achieve is a 3 layer effect. The first layer should be fully visible. The second layer should black but 50% transparent, showing through to the first layer's content. The third layer should be on top of the transparent layer, but fully visible (no transparency). When …

Member Avatar for csteverun
0
102
Member Avatar for csteverun

Hello C programmers, I understand the general nature of library files, that C needs them to understand include files, that they come in many flavors (.lib, .dll, .a, .so), but I don't understand the process of taking source code X and then using it to build library file Y. My …

Member Avatar for csteverun
0
103
Member Avatar for csteverun

I can't find the answer to this in any C reference. The question is, is there any way to do this: [code=c] #define MAX 10; struct aStruct { int a; int b; }; typedef struct aStruct aType; aType array_of_atype[] = { {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, …

Member Avatar for csteverun
0
92
Member Avatar for csteverun

I could really use some help here. I can't figure out what's the problem is, so I've assumed it's all C's fault. I have a function: [code]pf_plot32(Uint32 data[], Uint32 dl, pfplot pattern[], Uint8 pl, Uint32 pr, struct pf_path32 *path)[/code] ..Which takes a pointer to a structure: [code] struct pf_point32 { …

Member Avatar for csteverun
0
193
Member Avatar for csteverun

Would anyone be so kind as point me to a resource that explains how to make calls to a DLL from a C program? My Google skills have failed. I found many web pages talking about how to CREATE a DLL, but none that explain the minimum code needed in …

Member Avatar for Salem
0
118
Member Avatar for csteverun

This program create structures of the type "pf_space" and allocates memory as they're created. The problem is, it doesn't work like the book. malloc never returns false and therefore you can continue making structures until the program crashes. On my PC, I tracked down the offending line. After creating 1034 …

Member Avatar for csteverun
0
104