uh.. sorry I understood atleast some of itsme86's post, but couldn't even make heads or tails of Salem's last post. I guess its about the memory though.
The Code did run on the Bloodshed Dev c++...
Type: Posts; User: =CrAzYG33K=
uh.. sorry I understood atleast some of itsme86's post, but couldn't even make heads or tails of Salem's last post. I guess its about the memory though.
The Code did run on the Bloodshed Dev c++...
OK... All worked fine!!! :) :) :) :D
Here's the full working code.. I had to accept the input 'a' inside a for loop! :)
#include<stdio.h>
#include<conio.h>
main()
{
int i,x,y,b=0,*a;
...
Thanx Tonto
I guess I get your point.. Thank You! :)
But I've never had experience using malloc myself. (Actually, I didn't even know how and where to use it before you posted this! :p)
I'll try...
OK.. Here goes..
My problem was : I was too embarassed to type in my wrong code! :(
#include<stdio.h>
#include<conio.h>
main()
{
int i,x,y,a[i];
//int sub();
printf("\n...
Thanx for the tip jafet, but I've already used the break command but to no avail! :(
I didn't get your other logic though...
Can u write the whole prog. with my code and adding your code into them...
Hey .. That's what I'm telling ya..
I tried that, but I can't make it stop after the match
Can u paste the full code please.. I'm not getting your point.
Ok .. I'm a newbie.. :D
I'm goin' on to write the program to find if a given number is present in a given list of numbers or not!
I'm stuck midway.. Here's my progress
#include<stdio.h>
...
Let us C by Yeshwanth Kanitkar - I got this book from my college
library. This is a popular book and is available everywhere. The language
used is simple and is the best for beginners.
It is a...