05-28-2007
main()
{
}
is the same as
int main()
{
}
main does return an int as used directly in a call to "exit". This is the return value that a program returns to the parent program via wait/waitpid.
If you are using GCC try with -Wall -Werror, it will alert you to many common errors.
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
can anyone give me some idea on unix filesystem namei's algorithsm (2 Replies)
Discussion started by: kangc
2 Replies
2. Shell Programming and Scripting
Hello Friends,
I am learning Perl now. I have a small query.
I have a directory Z with file name Z.txt.
I would like to copy this file Z.txt to 3 new dir with new filenames as follows
dir 1 1.txt
dir 2 2.txt
dir 3 3.txt
I would like to then open 1.txt from dir 1 and edit the first... (0 Replies)
Discussion started by: ramesh54
0 Replies
3. Red Hat
Hi All
Im trying to access the my windows XP NTFS from Redhat linux 4.0 Enterprise edition
I have downloaded the respective rpm
And im able to install it successfully
Then i have given the following command , but got an error
Here are my partitions
And when i give the below... (1 Reply)
Discussion started by: balumankala
1 Replies
4. Shell Programming and Scripting
Hi,
I am using Tk module in perl 5.6 and it is working fine. Now when i installed the newer version 5.10.0 then getting error that Tk module not found. But i will have to work on this newer verison only to use some other modules of perl.
I want to know why Tk module is not working in newer... (6 Replies)
Discussion started by: kunal_dixit
6 Replies
5. Linux
Hi masters,
I am new to linux and unix forum and this is my first forum. So please excuse if
I am not giving sufficient information. I will give them on request.
I have created a bandwidth manager module. I am using a 2.6.9 kernel and in Red Hat 3.4.3 distribution. But when i run make... (1 Reply)
Discussion started by: iamjayanth
1 Replies
6. UNIX for Advanced & Expert Users
I have one big module 2.6.18 kernel mod.c
I want to divide this to several files.
The problem is to write right Makefile
lib1.h
lib1.c
mod.c
mod.c works fine normally but when I divide into several files
and try to compile with this makefile
obj-m := mod.o
mod-objs := lib1.o
... (3 Replies)
Discussion started by: marcintom
3 Replies
7. UNIX for Advanced & Expert Users
I'd like to install cpufreq modules on my server .
I tried
sudo modprobe acpi-cpufreq
but got the error
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device
cat /proc/cpuinfo gives this
... (11 Replies)
Discussion started by: vishwamitra
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have used pdftotext with good results in the past, but today for some reason I keep getting the same error message.
My command is as follows:
And the error message is
I am using Vmware player with Ubuntu server, but I don't think that is causing this issue as I have been using... (2 Replies)
Discussion started by: Joq
2 Replies
9. Shell Programming and Scripting
Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error?
problem is:
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz
OS unsupported
Warning: No success on command
Warning (usually harmless):... (1 Reply)
Discussion started by: kavi.mogu
1 Replies
LEARN ABOUT DEBIAN
__gnu_pbds
__gnu_pbds(3cxx) __gnu_pbds(3cxx)
NAME
__gnu_pbds -
SYNOPSIS
Classes
struct associative_container_tag
Basic associative-container.
class basic_hash_table
An abstract basic hash-based associative container.
struct basic_hash_tag
Basic hash.
class basic_tree
An abstract basic tree-like (tree, trie) associative container.
struct basic_tree_tag
Basic tree.
struct binary_heap_tag
Binary-heap (array-based).
struct binomial_heap_tag
Binomial-heap.
class cc_hash_table
A concrete collision-chaining hash-based associative container.
struct cc_hash_tag
Collision-chaining hash.
class container_base
An abstract basic associative container.
struct container_tag
Base data structure tag.
struct container_traits
container_traits
class gp_hash_table
A concrete general-probing hash-based associative container.
struct gp_hash_tag
General-probing hash.
class list_update
A list-update based associative container.
struct list_update_tag
List-update.
struct null_mapped_type
A mapped-policy indicating that an associative container is a set.
struct ov_tree_tag
Ordered-vector tree.
struct pairing_heap_tag
Pairing-heap.
struct pat_trie_tag
PATRICIA trie.
struct priority_queue_tag
Basic priority-queue.
struct rb_tree_tag
Red-black tree.
struct rc_binomial_heap_tag
Redundant-counter binomial-heap.
struct sequence_tag
Basic sequence.
struct splay_tree_tag
Splay tree.
struct string_tag
Basic string container, inclusive of strings, ropes, etc.
struct thin_heap_tag
Thin heap.
class tree
A concrete basic tree-based associative container.
struct tree_tag
tree.
class trie
A concrete basic trie-based associative container.
struct trie_tag
trie.
Typedefs
typedef void trivial_iterator_difference_type
Functions
void __throw_container_error (void)
void __throw_insert_error (void)
void __throw_join_error (void)
void __throw_resize_error (void)
Detailed Description
GNU extensions for policy-based data structures for public use.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 __gnu_pbds(3cxx)