Search Results

Showing results 1 to 40 of 68
Search took 0.04 seconds.
Search: Posts Made By: harshchandra
Forum: C Nov 28th, 2006
Replies: 1
Views: 20,029
Posted By harshchandra
This code calculates and the average waiting time of the process given acc to their burst time..It is a famous scheduling algorithm for process scheduling in operating sysytem . After calculating...
Forum: C Nov 26th, 2006
Replies: 1
Views: 6,117
Posted By harshchandra
This is a simple archery Game developed in C language . The aim of the game is to shoot the balloons and score as much points as you can . The game have three levels. Platform used is Turbo C++ IDE ....
Forum: C Nov 25th, 2006
Replies: 4
Views: 6,078
Posted By harshchandra
The famous Tower Of Hanoi with graphics and animations.
Forum: C Sep 29th, 2005
Replies: 6
Views: 1,787
Posted By harshchandra
# include<stdio.h>
void main()
{ int p;
p = (1,2,2,100,1);
printf("%d",p);
}



I dont know what will be the output . Can anyone please tell me what exactly second line implies ?? ...
Forum: C Aug 24th, 2005
Replies: 6
Views: 2,774
Posted By harshchandra
Thanx Buddies I got ur points
Forum: C Aug 22nd, 2005
Replies: 6
Views: 2,774
Posted By harshchandra
if i write

if(printf("C is Wonderful")
{
}

It worked.
But if i write
if(cout<<"C is wonderful")
{
Forum: C Jun 24th, 2005
Replies: 2
Views: 1,628
Posted By harshchandra
U can delete the line #include<graphics.h> and for the time being u can use float instead of long float
Forum: C Jun 23rd, 2005
Replies: 2
Views: 1,628
Posted By harshchandra
I was tring to write some data in a file from the singly linked list and also read the data from that and append it to singly linked list in the begening of the program.For this i had written two...
Forum: C Jun 20th, 2005
Replies: 0
Views: 3,165
Posted By harshchandra
It's a simple program .Just enter any date in dd/mm/yyyy format.If you enter wrong you will get the message .
Forum: C Jun 8th, 2005
Replies: 1
Views: 1,640
Posted By harshchandra
Is there any way to know the system date automatically using a c program ?
If yes please guide me through some codes !!
Forum: C Apr 7th, 2005
Replies: 21
Views: 3,816
Posted By harshchandra
Thanx I got that cool twist
Forum: C Apr 6th, 2005
Replies: 21
Views: 3,816
Posted By harshchandra
according to the c rules every statement must be terminated with a semicolon...i want to kmow that how can i use cout / printf statement to print any string without using semicolon at the end... ?????
Forum: C Apr 2nd, 2005
Replies: 21
Views: 3,816
Posted By harshchandra
is there anyway to print out any string on stdout without using semicolon at the end... ?? plzz reply
Forum: C Apr 2nd, 2005
Replies: 9
Views: 1,514
Posted By harshchandra
one method can be that u match each and every character of the string user had given in the input.....
code can be like this ---
gets(string);
i = 0,count=0;
while(string[i] != '\0')
{ ...
Forum: C Feb 8th, 2005
Replies: 2
Views: 3,113
Posted By harshchandra
So wats problem in it just swap the digits....that the encrypted one.....and then again swap it back to decrypt
Forum: C Feb 8th, 2005
Replies: 5
Views: 3,356
Posted By harshchandra
Hey i think i misread the question......U want Prime factors of a no or U want to display prime number
Forum: C Feb 8th, 2005
Replies: 5
Views: 3,356
Posted By harshchandra
A prime no is the one which either divides by itself or by 1 .....So u create a loop from 1 to that number and keep on counting how many times it exactly gets divides ...if it comes to 2 then u can...
Forum: C Feb 7th, 2005
Replies: 0
Views: 2,262
Posted By harshchandra
I m trying to design a animation like code....somewhat like object is moving from one place to other.....i need just to clear out any specific portion of the screen...is there any command in C for...
Forum: C Feb 7th, 2005
Replies: 6
Views: 2,103
Posted By harshchandra
hey b4 goin for online tutorials first switch to ur books.....I think for begenners Yashwant karnetkar's book in c is best.....or u can also follow deitel & deitel - C how to program...however for...
Forum: C Feb 7th, 2005
Replies: 5
Views: 2,336
Posted By harshchandra
It seems i m back in +2 and studying mechanics....newtons law ...ha ha
Forum: Geeks' Lounge Feb 6th, 2005
Replies: 17
Views: 4,935
Posted By harshchandra
Hey i have only 6 invites.....how u guys r getting 50
Forum: Geeks' Lounge Jan 26th, 2005
Replies: 59
Views: 17,299
Posted By harshchandra
I dont like playing games !!!
Forum: Website Reviews Jan 26th, 2005
Replies: 29
Views: 7,565
Posted By harshchandra
Well there are many domains that allows u to register and start a discussion board just free of cost. i personally own a forum be registering in forum.onecenter.com .......having creted a new foeum...
Forum: C++ Jan 21st, 2005
Replies: 5
Views: 2,250
Posted By harshchandra
There is a famous quote that practice makes a man perfect ....so go on practice as much as u can
Forum: Geeks' Lounge Jan 17th, 2005
Replies: 85
Views: 15,964
Posted By harshchandra
I live in INDIA and i m quite comfortable here .......however 1 time i'd like to visit pakistan
Forum: C++ Jan 17th, 2005
Replies: 5
Views: 15,640
Posted By harshchandra
U can define a function called as " convert "
th prototype will look like this : int convert( char)
for(i=0;i<MAX;i++)
number = convert(a[i]);

int convert(char c)
{ return c - '0' ;
}
Forum: IT Professionals' Lounge Jan 16th, 2005
Replies: 34
Views: 10,617
Posted By harshchandra
hi :rolleyes: ......these days only most of the ppl will suggest u to use c or C++ as a beginners...me too will advice u the same but if u really wants to start from the scratch then i will suggest...
Forum: C Jan 14th, 2005
Replies: 5
Views: 3,898
Posted By harshchandra
I think u have to specify the proper path..... u will find it options menu under directories section
Forum: Posting Games Jan 10th, 2005
Replies: 4,588
Views: 186,142
Posted By harshchandra
OOh !! i suppose 139+1 = 140
Forum: C++ Jan 8th, 2005
Replies: 15
Views: 11,924
Posted By harshchandra
U cant use strings in switch statement ....the cases accept only single character or a integer ... if u still wants to use strinngs in cases of switch u have to tkae help of some string.h functions...
Forum: C++ Jan 8th, 2005
Replies: 7
Views: 2,374
Posted By harshchandra
Aah !! u have to specify the size of the array
Forum: C++ Jan 8th, 2005
Replies: 34
Views: 19,124
Posted By harshchandra
coz its a border length the compliler will go on other side of the range as per long integer belongs .....as per ur code it will print -1 as 4294967295 - 4294967296 will yield as this only
Forum: Geeks' Lounge Jan 7th, 2005
Replies: 5
Views: 7,004
Posted By harshchandra
OOOh !! What a disaster ....we all shud help them
Forum: Posting Games Jan 7th, 2005
Replies: 3,185
Views: 256,327
Posted By harshchandra
to a lonely island
Forum: C Jan 7th, 2005
Replies: 8
Views: 13,791
Posted By harshchandra
There is no choice to increase the size of the array .....instead u can take use of calloc or malloc function to allocate the memory space dynamically .... or in these case the best would be to use...
Forum: C++ Jan 7th, 2005
Replies: 11
Views: 2,564
Posted By harshchandra
yeah , why not u can take help of switch statement .....and in different cases either u can write particular piece of code or u can call upon different functions to do the same task
Forum: C Jan 7th, 2005
Replies: 7
Views: 4,771
Posted By harshchandra
All function defined in math.h takes argument as datatype double .....ur code is perfectly alrite ..... if u use pow('a',2) it will take the ASCII value of a which is 97 and it will display 97*97 =...
Forum: C++ Jan 6th, 2005
Replies: 3
Views: 6,951
Posted By harshchandra
if U r getting stuck to a any alpa input ...the best possible way is to take the input as a string .....and then convert it to numeric one......u can also use If Then Else to check whether the input...
Forum: C++ Jan 6th, 2005
Replies: 4
Views: 14,084
Posted By harshchandra
hey just take a look over this link http://www.daniweb.com/code/snippet93.html ...this however change changes the binary code to gray but in middle of the code u will find the binary equivalent code...
Forum: C++ Dec 27th, 2004
Replies: 6
Views: 7,805
Posted By harshchandra
this can happen only when u had used if statement along with two else which leads to an error......however due to braces u will not get any syntax error but only the logical error is the possiblity
Showing results 1 to 40 of 68

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC