Sponsored Content
Full Discussion: Programming c/C++ in centos
Operating Systems Linux Red Hat Programming c/C++ in centos Post 302964047 by sea on Saturday 9th of January 2016 09:27:31 AM
Old 01-09-2016
Then keep coding in C. (#/++)
That is the bonus of that language, it 'works' everywhere, once you ran the compiler (gcc or g++).

Bash is a shell script language, and therefor interpreted.
That is not really something to compare with C.

If you want to write a string function in C, just try something like:
Code:
char myprint(char *string) {
	printf("%s\n",string);
	return(0);
}

However, i still dont get the point of your post, sorry.
Are you not sure wether C is available on Unix?
Are you not sure wether your editor is available?
Are you asking for recomodations for coding langauge or editor?

It is all about freedom of choice.
Everything is working everywhere, and if not available from 'house' (out of the box) you can always compile the missing parts (you want) to get the system you need.

If this all should have missed your issue, please be more specific.

Hope this helps

EDIT:
Oh wait, CentOS and Slackware are even closer than any of the 2 compared with BSD/*nix
Main difference is the package manager, thats about it.
This User Gave Thanks to sea For This Post:
 

6 More Discussions You Might Find Interesting

1. Programming

c programming or unix programming!?

i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies

2. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

3. Programming

C Programming - Hardware Programming

Can someone help me on suggesting some ways to access the memory content in RAM directly from C/C++ source code. Please provide me any book name or any URL so that I can get an exhaustive knowledge over it. If possible please give me some tips on interacting with hardwares directly through... (3 Replies)
Discussion started by: nandumishra
3 Replies

4. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

5. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

6. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies
HOTSWAP(1)						      General Commands Manual							HOTSWAP(1)

NAME
hotswap - register and unregister hotswappable IDE hardware SYNOPSIS
hotswap [ -c | --ide-controller N] [-h | --help] [-n | --nocheck] [-v | --verbose] [-V | --version] [ACTION] DESCRIPTION
hotswap allows you to register and unregister hotswappable IDE devices, for example notebook computer modules, with the Linux kernel. It has been developed on and for a Dell Latitude C600, but does not rely on any specific properties of that machine. By default, the command line utility guides you through the hotswapping process interactively. It is also possible to specify an ACTION, for example unregistering the current device, rescanning the IDE bus, &c. This feature is primarily intended for use with scripts and GUI frontends such as xhotswap(1). By using an XML configuration file, system administrators can specify arbitrary shell scripts to be run before and after registering and unregistering devices. This is particularly helpful for automatic configuration of CD-RW drives, which require SCSI emulation and bypass normal access via the IDE subsystem. By default, the configuration file is located at /etc/hotswaprc; its syntax is described in hotswaprc(5). OPTIONS
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). -c, --ide-controller N Use IDE controller N. -h, --help Print a brief help text and exit successfully. -n, --nocheck Do not perform sanity checks before attempting an action. Use with care, as this option may cause some steps to fail silently. -v, --verbose Print more information. -V ,--version Print version information and exit successfully. ACTIONS
Besides the above options, the program allows you to specify one of the following actions on the command line: probe-ide Detect the currently configured IDE device. mounted-ide Detect whether a file system on the currently configured IDE device is mounted. unregister-ide Unregister the currently configured IDE device. rescan-ide Scan the IDE bus for a new device. If a device has been found, register it with the kernel. If no ACTION is specified, interactive mode is entered. In this mode the program guides you through the hotswapping process as appropriate for the current configuration. NOTES
There is generally no need to manage floppy disk devices. The FDC is always present and configured. Floppy disk drives do not connect to the IDE controller, even if they come in the same modules as IDE devices and use the same connector. The Linux kernel requires hotswappable devices to be the only device connected to their IDE controller. The mounted-ide action assumes file systems have been mounted as /dev/hdc. If this is not the case (i.e., you've used a symbolic link such as /dev/cdrom) the command will not work. FILES
/etc/hotswaprc The default location for the XML configuration file. REPORT BUGS
Report bugs to t.stadelmann1@physics.ox.ac.uk. AUTHOR
Written by Tim Stadelmann. This manual page is based on an earlier version kindly contributed by Wouter Verhelst. SEE ALSO
xhotswap(1), hdparm(8), hotswaprc(5). COPYRIGHT
Copyright (c) 2002-2003 Wouter Verhelst, Tim Stadelmann. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License (GPL), Version 2 or any later version published by the Free Software Foundation. 4th November 2002 HOTSWAP(1)
All times are GMT -4. The time now is 07:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy