Forum: C Sep 29th, 2005 |
| Replies: 6 Views: 1,472 Basic Concept # 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,086 |
Forum: C Aug 22nd, 2005 |
| Replies: 6 Views: 2,086 printf & cout 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,351 Re: File writing Error 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,351 File writing Error 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 8th, 2005 |
| Replies: 1 Views: 1,364 A simple query 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: 2,690 |
Forum: C Apr 6th, 2005 |
| Replies: 21 Views: 2,690 Re: simple query about cout 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: 2,690 simple query about cout 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,194 Re: plzzzzzzzzzzzzz help me 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: 2,302 |
Forum: C Feb 8th, 2005 |
| Replies: 5 Views: 2,493 Re: needed recursion help 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: 2,493 Re: needed recursion help 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: 1,998 Help for graphics in C 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: 1,703 Re: laern c seriously 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: 1,917 |
Forum: Geeks' Lounge Feb 6th, 2005 |
| Replies: 17 Views: 3,871 |
Forum: Geeks' Lounge Jan 26th, 2005 |
| Replies: 57 Views: 14,072 |
Forum: Website Reviews Jan 26th, 2005 |
| Replies: 29 Views: 5,795 |
Forum: C++ Jan 21st, 2005 |
| Replies: 5 Views: 1,817 |
Forum: Geeks' Lounge Jan 17th, 2005 |
| Replies: 85 Views: 11,960 Re: Which Country? 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: 10,779 Re: Converting a char array into numbers 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: Software Developers' Lounge Jan 16th, 2005 |
| Replies: 34 Views: 8,464 Re: What program language should a beginner use? 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,123 Re: c language help 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: 109,267 |
Forum: C++ Jan 8th, 2005 |
| Replies: 15 Views: 6,408 |
Forum: C++ Jan 8th, 2005 |
| Replies: 7 Views: 1,872 |
Forum: C++ Jan 8th, 2005 |
| Replies: 34 Views: 9,174 Re: Range Of Long?? 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: 6,386 |
Forum: Posting Games Jan 7th, 2005 |
| Replies: 3,159 Views: 170,679 |
Forum: C Jan 7th, 2005 |
| Replies: 8 Views: 7,736 Re: how to increase the size of an array? 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,025 Re: Help 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: 3,277 Re: help with POW command 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: 5,149 Re: Keyboard input or "stuck in a loop" 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: 10,623 Re: Converting binary code to decimal value. 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: 4,957 Re: illegal else without matching if? 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 |
Forum: C Dec 27th, 2004 |
| Replies: 2 Views: 2,034 |
Forum: C++ Dec 27th, 2004 |
| Replies: 8 Views: 2,345 |
Forum: C++ Dec 27th, 2004 |
| Replies: 10 Views: 2,535 |
Forum: C Nov 28th, 2004 |
| Replies: 4 Views: 4,556 |