Search Results

Search: Posts Made By: krishna_sicsr
Forum: Programming 03-13-2008
1,679
Posted By krishna_sicsr
How to prevent a class from inheretance?
:(Hi,

There is a class in C++ called "CL". It should not participate in inheretance. If some body inherit it it should give errors.....:(
Forum: Programming 11-27-2007
6,743
Posted By krishna_sicsr
Hi Mahendra, The problem is that you...
Hi Mahendra,

The problem is that you should NOT put any space after the %f and before the ") ur statement is like scanf(" %f ", &r); u put this line
scanf("%f",&r); it will work fine.
...
Forum: Linux 11-16-2007
10,209
Posted By krishna_sicsr
Regarding depmod
Hi,

Can anyone please send me some useful links regarding depmod that how it works, what algorithm it uses, how it links to other files.

Thanks--:confused:
Krishna
Forum: Programming 09-24-2007
3,873
Posted By krishna_sicsr
How to search in C++ file
Hi,
I have a database in binary file format
Name Phone_Number
I want to search the records on the basis of Name and Phone_number both if the user enter the phone_number then it display the...
Forum: Programming 09-06-2007
10,477
Posted By krishna_sicsr
What is difference between "endl" and "\n"?
:rolleyes:

Is endl and \n is same if NOT please specify what is the difference between both?
12,813
Posted By krishna_sicsr
How to store Data in a File
I want to read a data from a read command and store it in a file......
Plz send me how I can do that
Ex:
read val
and I want to store this val in a file called temp.
Forum: Programming 06-03-2007
3,374
Posted By krishna_sicsr
Pure Virtual Function in C++
Dear All,
Here I want to know why we put =0 in case of pure virtual function, why not =1, =2 or any thing else
Please send me answer any one as soon as possible.
Forum: Programming 05-31-2007
8,155
Posted By krishna_sicsr
How to typedef
I want to declare
char ch[9] as ch_9 with the help of the typedef statement.

Thanks
Forum: Programming 04-09-2007
2,824
Posted By krishna_sicsr
Main Resursive is it possible
Dear Friends,
I just want to know that is it possible to call main function through main means main recursive. I am trying to do so but not getting the proper solution.
So if it...
6,461
Posted By krishna_sicsr
How to call a Linux command in C prog.
Dear Friends,
I want to know how to call a Linux commands in C programs.
Forum: Programming 04-08-2007
108,834
Posted By krishna_sicsr
How to call Linux command in C
Dear Friends,
How we can call the Linux commands like ls, cat, grep, clear and others Linux commands in C programs.
Forum: Programming 04-05-2007
2,824
Posted By krishna_sicsr
How Many Times The Code will Run
Dear All,
I have a code in C language i.e.
#include<stdio.h>
main()
{
float i;
for(i=0.0;i<10.0;i=i+0.1)
{
...
Forum: Programming 04-05-2007
2,824
Posted By krishna_sicsr
Problem With Main Resursive
Friends I am Trying this code to call main Recursively But It is showing segmentation errot

#include<stdio.h>
int main()
{
int i;
for(i=0;i<10;i++)
{
if(i==5)
{
...
Forum: Programming 04-04-2007
3,499
Posted By krishna_sicsr
Listing Files
Dear All,
I want to list all the files of a Directory. I am not able to find out the code. So plz send me code in C in Unix Environmrnt so that I can Display all the file names of a Directory
7,162
Posted By krishna_sicsr
How to subtract data of two different file
I want to access of two different file.

cat in_file | awk -F: '{
in_total += $1 * 86400 + $2 * 3600 + $3 * 60 + $4
} END {printf "%d\n",in_total} '


cat out_file | awk -F: '{
out_total +=...
20,092
Posted By krishna_sicsr
How To Calculate
I have 2 variables in my shell scripts in which i am using awk and calculating 2 files and getting 2 different variable called in_total and out_total. I want to subtract one variable from another so...
2,303
Posted By krishna_sicsr
How To Calculate Data
Hi All,
I want to calculate the total timing used by total users. Here "OUT" is showing that when an user logged in and "IN" timing is showing at what time user is logged out. If the...
1,607
Posted By krishna_sicsr
How To Get Data after a certain foramt from a file
Dear Friends,
I am sending you a sample data of a file. Here I want to extract all the data after date 3/1/2007 and before the date 4/1/2007.So this is the sample data plz write some code...
Forum: Programming 03-19-2007
45,173
Posted By krishna_sicsr
How to write a code in C to search a file
Dear All,
Plz give me some code that how can I search a file through a C program file may be in Present Directory or in its Sub-Directories and it should support Linux Platform. :mad:
6,058
Posted By krishna_sicsr
How to connect PHP and Shell Scripts
Dear Friends,
Plz some one tell me how to connect PHP and Shell Scripts.

Mail me on address removed by moderator

Thanks
Nishant
5,760
Posted By krishna_sicsr
Add data in days:hours:min:sec format
I want to add these no. these are in the format of
days:hours:minutes:sec
I want result in this format only

0:00:04:59
0:00:00:12
0:00:00:28
0:00:00:03
0:01:29:35
0:00:00:19
...
2,897
Posted By krishna_sicsr
How To Add Numeric Data of A file
Dear All,
I want to add Numeric data of my file called temp_f41. But I am not getting how to add them,

My File data are in following format of:
10
39
53
05
37
54

Plz send me code...
Showing results 1 to 22 of 22

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