Thanks you. I have used a bool variable to control my sound function, so I want a function that can be used in many cases. I hoped thread supported that.
Type: Posts; User: luckyluke
Thanks you. I have used a bool variable to control my sound function, so I want a function that can be used in many cases. I hoped thread supported that.
Hi all,
Now I am programing a game in C#. So I use many sound events (moving, punching, screaming...). I create a Mute button, when running program. when users click on Mute, all sound will be...
Thanks Salem, I code in VS 2008 and no warning appeared.
#include<stdio.h>
void main(){
unsigned char c=280;
switch(c){
printf("Start\t");
case 280:printf("David Beckham\t");
case 24: printf("Ronaldinho\t");
...
Yes, siavoshkc. Your method is really good.
Hi all,
Now I want to write a program. Requirement: Specify the size of each data type: int, char, long, float (by byte), not using sizeof().
So, I have thought a bout using bitwise. But I can't...
I have just understood, many thanks to you!
Oh, Eysia. I'm a newbie, so I have learnt C for 2 week in this summer-semester. I have read your recommended document so I don't understand clearly. Can you detail my problem, many thanks to you!
Please help me to explain what can go wrong with the following C code, why it looping forever? I don't understand.
#include "stdafx.h"
#include <stdio.h>
int main()
{
int x;
Thanks Elysa. I'm have read but I don't understand clearly. I'm a newbie. Can you mention it in my example? Thanks you!
#include <stdio.h>
int main( )
{
float a=1.0;
long i;
for(i=0; i<100; i++)
{
a = a - 0.01;
}
printf("a = %e\n",a);