Search Results

Search: Posts Made By: devesh
Forum: Programming 12-05-2005
6,178
Posted By devesh
difference between int ** func() and int *& func()
What is the difference between int** func() and int*& func(). Can you please explain it with suitable example.

Thanks,
Devesh.
Forum: Programming 09-20-2005
50,205
Posted By devesh
you can use CC -G command. CC -G <library...
you can use CC -G command.
CC -G <library name> <list of object(.o) files>
for more help you can check man pages for CC.
Forum: Programming 09-20-2005
28,721
Posted By devesh
You can use fgets() in a loop: char...
You can use fgets() in a loop:

char *fgets(char *s, int n, FILE *stream);

The fgets() function reads characters from the stream into the array pointed to by s, until n-1 characters are read,...
Forum: Programming 09-20-2005
24,003
Posted By devesh
U can not use $ with C variables as in shell. U...
U can not use $ with C variables as in shell. U have to use sprintf() to format the command in a string and then pass that string to system().
Forum: Programming 06-29-2005
3,462
Posted By devesh
Error message is because you are using cc -c...
Error message is because you are using cc -c sec.o instead of sec.c,here sec.o file is not being created.

change the last line of your makefile as cc -c sec.c
2,607
Posted By devesh
you are accessing remote machine using rsh. There...
you are accessing remote machine using rsh. There can be multiple causes for the slow response:
1. Network connectinvity
2. Performance of remote server
3. load on remote server and network...
8,299
Posted By devesh
Migrating perl code from 32 to 64 bit OS
Hello all,
I am migrating perl code from 32-bit Solaris 2.5 to 64-bit Solaris 9. On which part of code should I concentrate? And please suggest if there is any checklist for the same.

Thanks in...
Forum: Programming 05-31-2005
4,988
Posted By devesh
give input in quotes"" for example "Kevin...
give input in quotes"" for example "Kevin Costner"
4,446
Posted By devesh
It might be possible that files are cached on the...
It might be possible that files are cached on the remote machine and latest copy of those files are not available on that system. Just check the cache options.
Forum: Programming 05-31-2005
5,209
Posted By devesh
read file line by line and use strtok(), if user...
read file line by line and use strtok(), if user names are seperated by space. and then use strcmp() with each token to compare user names.
Forum: Programming 04-26-2005
2,642
Posted By devesh
Just for your reference conio.h (console i/o)...
Just for your reference conio.h (console i/o) does not exist on Unix/Linux instead you can use ncurses.h or curses.h.
Forum: Programming 04-26-2005
6,761
Posted By devesh
This is working fine with me : ...
This is working fine with me :

--------------------------------------
*****************************
#include <iostream>
using namespace std;

class test
{
private:
int i;
public:
...
Showing results 1 to 12 of 12

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