- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 7
- Posts with Upvotes
- 3
- Upvoting Members
- 7
- Downvotes Received
- 10
- Posts with Downvotes
- 5
- Downvoting Members
- 8
Student Of B.Tech
- Interests
- c programming , playing games on Lan , solving puzzles , Watching Action Movies
61 Posted Topics
| |
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 . Standard Graphics.h functions are used. | |
Re: If you are using latest framework, why dont you just use async-await. It is simple and easy to use. http://msdn.microsoft.com/en-us/library/hh191443.aspx | |
| |
This program just demonstrate how a node can be added,deleted,searched,counted,and printed using Singly Linked List. An easy code to understand :)[code]////////////////////////////////////////////////////////////// ////////// -: Singly Link list :- ///////// //////////////////////////////////////////////////////////// /* reference : Understandng pointer though c - Y karnetkar. */ ////////////////////////////////////////////////////////// ////////// Programmer : Harsh chandra /////////// //////////////////////////////////////////////////////// # include<stdio.h> … | |
Re: 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 a Linked list for storing the numbers.....by doing this u can take … | |
Re: 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 | |
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 waiting time it also generates the gantt chart for the process given . | |
This program maintains a employee's record using Doubly linked list.It was a weekly project submission by me for the course CI 031 .Invloves simple graphics and a login menu where i had used file handling to maintain a record of 3 user's name and their password .So before running the … | |
Re: 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' ; } | |
This program generates different combinations of a number or a string as given by the user.just a simple implementation of arrays. | |
Re: hey just take a look over this link [url]http://www.daniweb.com/code/snippet93.html[/url] ...this however change changes the binary code to gray but in middle of the code u will find the binary equivalent code also. Cheers, Harsh | |
This program takes two decimal number from the user and a operator for addition or substraction.it displays the binary equivalent of both number and also the added or substracted binary number . | |
The famous Tower Of Hanoi with graphics and animations. | |
Re: [B]hi there....ur program is working fine | |
It's a simple program .Just enter any date in dd/mm/yyyy format.If you enter wrong you will get the message . | |
This program finds the solution of system of simulataneous equation Using GAUSS SEIDEL METHOD. This method is very popural among the students who studies Numerical Techniques.Though this program cant find the solution of every equations,it is widely used.This can only found the solutions of those equations which are Digonally dominant. | |
is there anyway to print out any string on stdout without using semicolon at the end... ?? plzz reply | |
Re: 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 u BASIC ...its a beginners all purpose symbolic instruction code | |
Re: I live in INDIA and i m quite comfortable here .......however 1 time i'd like to visit pakistan | |
[code] # include<stdio.h> void main() { int p; p = (1,2,2,100,1); printf("%d",p); } [/code] I dont know what will be the output . Can anyone please tell me what exactly second line implies ?? :rolleyes: | |
if i write [code] if(printf("C is Wonderful") { } [/code] It worked. But if i write [code] if(cout<<"C is wonderful") { } [/code] Can anyone tell me whats the reason behind it ? | |
Re: 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 any prob feel free to post ur query | |
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 seperate functions . 1. writetofile 2. readfromfile for appending the … | |
Is there any way to know the system date automatically using a c program ? If yes please guide me through some codes !! | |
Re: So wats problem in it just swap the digits....that the encrypted one.....and then again swap it back to decrypt | |
Re: 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') { if(string[i]==str[i]) count++; i++; } if(count==strlen(str)) printf("Access granted"); else printf("acess denied"); | |
Re: 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 say it is prime number....the code can … | |
Re: It seems i m back in +2 and studying mechanics....newtons law ...ha ha | |
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 such ....and if not wat else i can do to erase a specific portion ? | |
Re: 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 | |
Re: There is a famous quote that practice makes a man perfect ....so go on practice as much as u can | |
hi everyone dus u plzz tell me the complexities of following codes. 1. A nested loop followed by a non-nested loop: for (i = 0; i < N; i++) { for (j = 0; j < N; j++) { sequence of statements } } for (k = 0; k < … | |
Re: I think u have to specify the proper path..... u will find it options menu under directories section | |
Re: 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 = 9409 by using this code printf("%f",pow('a',2)) ..... u can also get the input … | |
Re: 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 | |
Re: Aah !! u have to specify the size of the array | |
Re: 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 is alpa or number by using ASCII codes......the program codes … | |
Re: 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 such as strcmp or strcpy acc. to ur requirements in the codes | |
Re: IF u r using void *<functionname><arguements>...then u have to typecast ur returning value as per ur requirements... | |
Re: Goto [url]www.programmersheaven.com[/url] or cprogramming.com or [url]www.codepedia.com[/url] | |
Re: It is becoz ur CMOS password is locked .U can either break ur ur CMOS passowrd by the method as stated by CAtweazle or there are several softwares to break it. If u failed to break that , ask ur bro-in-law's friend about the password. | |
Re: Regarding the merge sort u shud first specify do u want 2-way merge sort , 3-way merge or n-way.well merge sort algo is as follows: Function Mergesort (field, lower, upper) if lower = upper then do nothing (field is sorted) else middle = (upper + lower)/2 Mergesort (field, lower, middle) … |
The End.