What a great explanation dwks! That's what I really longing to know--information about %d or %i.. Thank you!
Type: Posts; User: Alexthunder
What a great explanation dwks! That's what I really longing to know--information about %d or %i.. Thank you!
I'm used to use the functions getche() or getch() for accepting choices for menus, and I tried to experiment using scanf(). The program example below works fine if I enter an integer, but when I...
Hello,
In C++, we have a function sqrt(). However, my professor in our class told us to make our own square root function.
Anyone who knows that, please help....
Just the formula only.
Thank you. Yes I'm using Turbo C in DOS. I do ctr+f1 If i need help. I just want to know what are the functions I need to learn by posting it in here like your putpixel, rand() etc. and thank you...
@ cbastard
Thank you. Anyway, your code for your revolution effect is quit difficult for me...
while(!kbhit())
{ for(int i=10;i<=20;i++)
{ doggy();
int...
Thanks for the replies. Anyway in the
int isfriend(int(*func)(int))
{
return (func == isdigit);
}is func a variable that you can use in scanf?
Hi to all!
Do you know how to accept only integer and if the user enters a character, the inputted character will not appear, instead the program will display an error message.
Sorry, I forgot to say hello...
My professor in our CSI02 (Computer Programming 1) told us that in our Final Laboratory Exam, we are going to make a burning effect program.
Here's the position of flames:
#include <stdio.h>...
#include <stdio.h>
#include <stdlib.h>
int main() {
int fahrenheit;
float celsius;
int lower, upper, step;
printf( "Fahrenheit Celsius\n\n" );
#include<stdio.h>
#include<conio.h>
#include <string.h>
int main() {
char string[10];
char name[10];
clrscr();
printf("Enter String] ");
scanf("%s", &string);
strcpy(name,string);
Sir, sorry, I'm a newbie here in cboard forums, I didn't know sir how to pm him so I've posted it in here... don't worry sir it won't happen again.. :(
and your course and name?
Okay..
Anyway, what school are you in? Your name? Age? Your Course?
Sir Loko,
Woah! It had worked quitely..
#include <stdio.h>
#include <conio.h>
int main() {
int x, tmp, num[5] = {0};
Hello po sir,
Opo.. gusto ko lang po malaman ang simple at tamang code dahil yung mga code na na-post ko po ay ang nakaya lang ng logic ko...
Sana po tolongan nyu ako...
What does gcc mean?
Hi to all C enthusiasts,
Greetings!
My name is Alexander, a C enthusiast, 17-year-old, and live in Bacolod City, Negros Occidental Philippines. I have given my brief info and this is my first...