can any one please explain me this code :-
#include<stdio.h>
#include<conio.h>
#define ROW 3
#define COL 4
int main()
Type: Posts; User: tarunjain07
can any one please explain me this code :-
#include<stdio.h>
#include<conio.h>
#define ROW 3
#define COL 4
int main()
@Andrew sry mate..
but one join the forum to seek help .You should encourage the novice member instead of discouraging them
eneways sorry once again
thnxs man ..
really ?
thats a really good answer i think now shut your mouth and sit at the back..
Guys i m new to C
I m trying to learn C but cant get where to start from what to do
Please guide me how to proceed ?
Which books to Read ?
Programming question basics to expert -...
b is collecting the pointer returned from function
yes no output is something wrong with code ??
I was trying to copy a string into another without with my own program
but there is no output on screen -->
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char * copy(char*s)
This code is working fine..
is it fine ? some errors etc
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
static int i=-1;;
static int cont=0;
IN C ..yea i have some idea how to do this but cant do in C
question is :-
int count(String s, char c) that counts how many times the character c occurs inside string s.
You can use the String methods charAt and substring to extract information from string...
i didnt get about conio.h ? whats wrong to use this ??
yes i am using Pelle now...
Yes i tried 1 or 2 ...should i try more on paper ?
thanxs a lot for such a reply...really good for me...someone...
finally got it :)
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<stdlib.h>
char* Repeat(char *s,int n)
it redirects to a site..
boss how to use this site as this has quotes and other stuff
ok..i got what u mean to say...i have to allocate memory by malloc and then return that to char * for storage...:)
i know thats really foolish of me but i am new :)
i know malloc ..as i have read my textbooks and topics like link list and tree etc..now as i felt that my programming is very weak..
so i am working on this
block by block ..started with recursion...
ok :) i will try and willl post back
I am using dev c++ can u tell me for that where and how to ?
and also please tell some compiler for win 7
yes i know malloc
but not getting the use here...
could please edit the function ...i will try to learn/understand by that code...
Hi eveyone
Question is :-
String repeat(String s, int n) that creates and returns a new string that is made by concatenating
n copies of the parameter string s. For example, calling this...