Your country is still lucky compare to mine
My download speed at speedtest.net is ~200 kb only
and DPS when downloading is only 20kb.
Type: Posts; User: Trafalgar Law
Your country is still lucky compare to mine
My download speed at speedtest.net is ~200 kb only
and DPS when downloading is only 20kb.
Use %f for decimal numbers.
or
sum = 1;
Thanks the cd\ command worked
I can't access D:\ in command prompt
It always shows D:\Documents and Settings\
even if i type D: it still shows that
Help I need to delete autorun.inf from cmd
google it dude
How can I manually remove this virus safely?
Also everytime I open any of my local disks it automatically opens in a new window and it is so slow.
How do i fix that?
My folder options is open in...
Filipino professors are really dumb cause they always asks us to use non C standard functions
Anyhow use this function as an alternative
void gotoxy(int x, int y)
{
COORD coord;
...
Because solutions on how you will code something may vary depending on your style.
besides I think it will take too much space in the book.
you forgot the
} again
also you should use
} at the end instead of {
he used
{ instead of }
stdio.h instead of studio.h
#include<stdio.h>
void addCoins();
void main()
{
...
}
void addCoins()
use %f for float instead of %d
He wants you to create functions like this
int insert()
{
codes here...
}
Thanks.
You mean like this?
int Xwin()
{
for
{
if(winning combinations)
{
printf("X wins!!!");
I want to break the loop after Xwin() finds a winner
for(;;)
{
Board(); // game board
printf("X's turn\n");
RnC(); // requests for user's row and column number ...
nevermind this post I'll just create my own code
This code wasn't coded by me.
I'm trying to shorten it by using functions on repetitive codes.
I'm trying to shorten a messy and uber long tic tac toe program(not coded by me) by using functions but there's an error called illegal break
int Xwon()
{
printf("\n\t\tX won!!!\n");...
What's the equivalent of this in C?
Thanks, dude
I used !! instead of ||
can a for loop check two conditions?
like
for( ; ((x==1)&&(y==1)) ; )
nvm, I just figured out that if and break will do the job
btw what's wrong with this
if((x==1)&&(y == 1 )!!(z != 0))
Dude, the problems there are too hard for me. I'm just beginning to learn C.
btw is C# the same as C?