Search Results

Search: Posts Made By: vijaysabari
Forum: Programming 08-09-2006
2,914
Posted By vijaysabari
Thanks buddy
Thanks buddy
Forum: Programming 08-09-2006
2,914
Posted By vijaysabari
Code working AIX 5.2 and not in Solaris 5.9
Hi,
When i run the below code in AIX it runs and solaris not ... why ???

#include <stdio.h>
#include <string.h>
#define MAX 1

int main ()
{
char str[] ="1,2,3,4,5";
char *...
Forum: Programming 08-31-2005
3,400
Posted By vijaysabari
Will exe file size decrease while using inline function
using namespace std;
void g();
class A {
public :
A() { g();g();g(); cout << "Constructor of A"<< endl ;}
};
inline void g(){ cout << "vijay" <<endl; }
int main() {
A a;
}

when i...
333,827
Posted By vijaysabari
Dbx debugger to analysis coredumps ......
dbx debugger is used to analysis the coredumps ............. i will explain with anexample

cc -g first.c
dbx ./a.out

Reading a.out
Reading ld.so.1
Reading libc.so.1
Reading libdl.so.1...
2,794
Posted By vijaysabari
I have a problem in sending mail
Hi,

I have a problem in sending mail ......

#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> <...
2,299
Posted By vijaysabari
I have a problem in sending mail
Hi,

I have a problem in sending mail ......

#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> <...
1,967
Posted By vijaysabari
Doubt in sending mail
Hi Friends,

The command used is : mail <username> < kk


kk is a file containing:

02:12:00.897892 Loading the following CompanyName1: [xxxx]
02:12:00.898109 Loading the following...
Forum: Programming 01-07-2005
2,624
Posted By vijaysabari
Reg: char ptr - Coredumps
#include <stdio.h>
void main()
{
int Index=1;
char *Type=NULL;


Type = (char *)Index;
printf("%s",Type);

}


Getting coredump
Forum: Programming 12-15-2004
3,315
Posted By vijaysabari
Doubt in structure -- c++
hi,
Small sample program

#include <iostream>
using namespace std;

typedef struct vijay {

int a;
int b;

}VIJAY;

void main ()
{
VIJAY v;
cout << "a=" << v.a<<endl;
cout <<...
Forum: Programming 06-30-2004
3,352
Posted By vijaysabari
Strncpy - coredump
haiu all

what makes strncpy to coredump
3,621
Posted By vijaysabari
cron jobs
hi folks,


I need an explanation on cron jobs with an example
3,750
Posted By vijaysabari
hi, very happy to see ur reply ...
hi,


very happy to see ur reply


but i get this error



grep -r "include" /
grep: illegal option -- r
Usage: grep -hblcnsviw pattern file . . .
3,750
Posted By vijaysabari
search pattern by grep
hai folks,
i am vijay very new to this website.


My query:
Search patterns from root directory to all directories by using grep
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 11:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy