Hi,
I was trying to compile a simple prog
/* snippet */
#define MODULE
#include signal.h
#include linux/module.h
int init_module (void) /* Loads a module in the kernel */
{
printk(Loading module \n);
return 0;
}
void cleanup_module(void) /* Removes module from kernel */
{
Hi
I need Project Text Editor in C OR C++.
Please send me the code.
Regards
ajay
Gurgaon
[EMAIL PROTECTED]
mano M [EMAIL PROTECTED] wrote: Hi,
Why C++ doesn't allow few of the operator overloading?(like ::,?:,sizeof,.)
Any Reason behind that?
When new operator is required to be overload? Any concrete example.
Thanks for the answer for the previous question.
--- Uma Maheswara Rao Lankoti [EMAIL PROTECTED] wrote:
unary ++ operator is having higher priority than unary * operator.
s...provided might be compiler dependent..
Unary operators appear before their operand and associate from right to left.
so *b++ is token(ed) as *(b++)
On 12/6/06, saurabh jain [EMAIL PROTECTED] wrote:
Hi,
I was trying to compile a simple prog
/* snippet */
#define MODULE
#include signal.h
#include linux/module.h
int init_module (void) /* Loads a module in the kernel */
{
printk(Loading module \n);
return 0;
}
void
*ptr pointer to the address. when the pointer is increased the next address
will be
accessed. suppose a[10] is an array having values {10,20,30,40}.if *ptr is
assign to a (
*ptr=a), then *ptr will point to 10, *ptr++ will point to next integer address
ie *ptr++
value is 20. But when come to
--- In c-prog@yahoogroups.com, saurabh jain [EMAIL PROTECTED] wrote:
Hi,
I was trying to compile a simple prog
/* snippet */
#define MODULE
#include signal.h
#include linux/module.h
int init_module (void) /* Loads a module in the kernel */
{
printk(Loading module \n);
--- In c-prog@yahoogroups.com, Brett W. McCoy [EMAIL PROTECTED] wrote:
snip
I think there are some additional defines missing, and your compile
command
may not be correct... I'm no expert in this, though. Have you looked at
this:
http://tldp.org/LDP/lkmpg/index.html
Thanks for the
--- In c-prog@yahoogroups.com, Saurabh Jain [EMAIL PROTECTED] wrote:
snip
*ptr++
is equivalent to
*ptr; ptr++;
Left to right binding...possibally compiler dependent, but as per my
understand ANSCI has defined it well enuf. You can refer to KR for
more details, they have explained it
--- In c-prog@yahoogroups.com, Brett W. McCoy [EMAIL PROTECTED] wrote:
On 12/7/06, Saurabh Jain [EMAIL PROTECTED] wrote:
--- In c-prog@yahoogroups.com, Brett W. McCoy idragosani@ wrote:
snip
I think there are some additional defines missing, and your compile
command
may
@Mano:
First, operators will be overloaded to do the same kind of operation on those
objects where we cant perform as we did on basic data types. I can give u
reasons why these operators cant be overloaded except (.) operator.
?: is conditional operator, simply its equal to if-else condition.
On 12/7/06, Saurabh Jain [EMAIL PROTECTED] wrote:
Why do you think that's the correct solution? Did you read the
tutorial on what is needed to build a basic kernel module? removing
the headers didn't seem to be a part of that tutorial.
HmNice point...
My kernel did not have the
--- Sunil Nair [EMAIL PROTECTED] wrote:
s...provided might be compiler dependent..
#include stdio.h
int main (int argc, char ** argv) {
int i=12345, *ip=i;
printf (%d\n,*ip++);
printf (%d\n,*ip);
return 0;
}
Which compiler are you using?
Unary operators ... associate from
On Thu, 07 Dec 2006 08:00:02 -
Ajay [EMAIL PROTECTED] wrote:
Hi
I need Project Text Editor in C OR C++.
Please send me the code.
Regards
ajay
Gurgaon
[EMAIL PROTECTED]
gvim
--
Regards, Ed :: http://s5h.net/qf
just another python hacker
Mr. T does
Is praveen_asl part of this group?
Is he innocent? Else he should be banned.
When you want to send a virus to this list, send it as source code, for us
to joy reviewing it.
I could not yet download it, blocked by Yahoo Mail.
On 12/7/06, Pedro Izecksohn [EMAIL PROTECTED] wrote:
Is praveen_asl part of this group?
Yes.
Is he innocent?
Probably yes.
Else he should be banned.
When you want to send a virus to this list, send it as source code, for us
to joy reviewing it.
It's more likely that Yahoo has been
16 matches
Mail list logo