Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: zius_oram
Forum: Programming 08-27-2013
844
Posted By zius_oram
NULL printing a value 0xbf940000 and not a zero
hello all,
in the following code a -> next should print zero, but it is giving the output as 0xbf940000

#include<iostream.h>
#include<conio.h>
#include<stdio.h>
class Node
{
public:
...
Forum: Programming 09-16-2011
1,663
Posted By zius_oram
got it :D thank you so much. do C through...
got it :D thank you so much. do C through segfault for any particular type of error?? i wanna know when exactly C throws segfault?
Forum: Programming 09-16-2011
1,663
Posted By zius_oram
segfault in pointer to string program
hello all,
my question is not about How code can be rewritten, i just wanna know even though i am not using read only memory of C (i have declared str[20]) why this function gives me segfault...
Forum: Programming 04-12-2011
4,916
Posted By zius_oram
OSDev.org &bull; View topic - Advice for novice...
OSDev.org &bull; View topic - Advice for novice programmers thread (http://forum.osdev.org/viewtopic.php?f=13&t=3320)
Forum: Programming 03-10-2011
2,743
Posted By zius_oram
a loop to iterate through user given range...
a loop to iterate through user given range excluding first (++i) element and last element (i < j).
Forum: Programming 03-10-2011
2,743
Posted By zius_oram
You are using a conditional if() statement and...
You are using a conditional if() statement and not a loop, some changes and it works


#include <iostream.h>
int main()
{
int i, j;
cout << "Enter two numbers:" << endl;
cin >> i >>...
Forum: Programming 08-24-2010
3,814
Posted By zius_oram
Thank you all for your reply. Thanks.
Thank you all for your reply. Thanks.
Forum: Programming 08-23-2010
3,814
Posted By zius_oram
working of printf()
hello all, i came accross an aptitude question ..

int
main()
{
int a = 10, b = 20, c = 30;
printf("%d\t%d\t%d");
}


it gives output

30 20 10


what is the reason...
Forum: Hardware 07-09-2010
1,345
Posted By zius_oram
build a system with > 1 G device, how much is 1 "G"?
came accross a heading "How do you build systems with >1G components?"
googled for the meaning of G as a unit. but confused :confused:. it says "1 billion", is it correct? and are there really 1...
Forum: Programming 06-12-2010
2,372
Posted By zius_oram
The following operating systems conform (i.e.,...
The following operating systems conform (i.e., are 100% compliant) to one or more of the various POSIX standards

A/UX (http://en.wikipedia.org/wiki/A/UX)
AIX...
Forum: Programming 04-08-2010
3,228
Posted By zius_oram
java...
java ----http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html
...
Forum: Programming 01-29-2010
4,088
Posted By zius_oram
yes i got some thing. unsigned char x =...
yes i got some thing.

unsigned char x = NULL;
x = (~x) >> 1;
printf("%d",x); // prints 255 and prints 2147483647 for unsigned int x = NULL

now will try to work out for signed and...
Forum: Programming 01-29-2010
4,088
Posted By zius_oram
for ex. i want to compute MAX limit for a char...
for ex. i want to compute MAX limit for a char why cant i do like this.

char x = NULL // all bits set to zero
printf("%d",~x) //~ gives all bits 1 ie biggest value.
Forum: Programming 01-28-2010
4,088
Posted By zius_oram
got it, will do it. thanx a lot for reply.
got it, will do it.
thanx a lot for reply.
Forum: Programming 01-28-2010
4,088
Posted By zius_oram
Compute upper and lower limit of data types.
hello all,
am stuck with ?. how to compute limits of char, int, float. i have done it simply displaying values from <limits.h> but i wan to calculate it.. its absolutley not a homework.
thank you.
Forum: IP Networking 11-05-2009
1,890
Posted By zius_oram
do peers communicate via protocol?
actual transmission path is physical layer. do peers in n layer communicate on any issue using n layer protocol with each other. as far as i know this communication is said to be virtual.
Forum: Programming 10-13-2009
2,300
Posted By zius_oram
edit your question..
ask smart questions, i am sure you will get help. be specific
Forum: Programming 04-30-2009
4,250
Posted By zius_oram
thank you franklin52 and shamrok its working, you...
thank you franklin52 and shamrok its working, you dont know but it was the only stage incomplete in my project you helped me a lot......:)thankkkkkkkk youuuuuuuu.
Forum: Programming 04-30-2009
4,250
Posted By zius_oram
thank you for your reply, actually "hello all"...
thank you for your reply,
actually "hello all" is not fixed, it can be any string coming from a java program which i further pass to shell script, can i do it with system() or i have any other way...
Forum: Programming 04-30-2009
4,250
Posted By zius_oram
pass char string via system()
hello all
i am trying to pass a argument through system function to a shell script.


#shell script echo.sh to display the string
echo $1


and the c program is.


#include<stdlib.h>...
Forum: Filesystems, Disks and Memory 04-02-2009
7,243
Posted By zius_oram
thank you, i tried as you said and found a...
thank you,
i tried as you said and found a module ide-cd.
it worked with "modprob -r ide_cd".
Forum: Filesystems, Disks and Memory 03-26-2009
7,243
Posted By zius_oram
hello all, please tell me if there is any other...
hello all,
please tell me if there is any other way to disable cdrom as modprobe is not working, i am using red hat linux server 5.
thank you.
Forum: Filesystems, Disks and Memory 03-25-2009
7,243
Posted By zius_oram
in /home i have a anaconda.config file it...
in /home i have a anaconda.config file it mentions
install
cdrom
is it the issue?
Forum: Filesystems, Disks and Memory 03-24-2009
7,243
Posted By zius_oram
the contents on my /etc/fstab file are ...
the contents on my /etc/fstab file are

/dev/VolGroup00/LogVol00 /
LABEL=/boot /boot
devpts /dev/pts
tmpfs ...
Forum: Filesystems, Disks and Memory 03-23-2009
7,243
Posted By zius_oram
tried with "fuser -m /dev/cdrom" it is not giving...
tried with "fuser -m /dev/cdrom" it is not giving any results.
Showing results 1 to 25 of 37

 

Featured Tech Videos

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