12-28-2018
Quote:
Originally Posted by
DevuanFan
.... Alas, while my sh/bash, python, and perl kung fu is strong, C/C++ looks like gibberish to me, but I'll give it a shot anyway. If switching terminal emulators and/or recompiling ksh don't give me exactly the behavior I want, I may just go back to bash, which feels much more comfortable.
I recommend you open the C/C++ source code in a modern code editor, and having said that, I strongly recommend Visual Studio Code with the CPP extension:
C++ programming with Visual Studio Code
VSC also has extensions to prettify (format, beautify), indent, and to color matching brackets, braces and parens so all of this "cool stuff" makes code easier to read (and colorful, LOL)
Having the IntelliSense for CPP will help you understand the code. I write mostly in Javascript, PHP, CSS and HTML these days (nearly every day). VSC saves me a lot of time debugging syntax and keeping things moving along in a brisk development pace.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello everyone!
Very basic question for the guru's in here but anyways, I am trying to type a command that is longer than the line. What character do I use to continue my command on the next line?
Thanks in advance....
Todd (1 Reply)
Discussion started by: hedrict
1 Replies
2. UNIX for Dummies Questions & Answers
I want to get my up arrow key to recall my previous commands in Korn shell.
Anyone help please?
thanks a bunch!
BG (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Our user crontab files are located at /var/spool/cron/crontabs.
I have to make some modifications to it.
I have all the crontab entries in a file called 'crontab.actual'. I made changes to this file and now I want to reload these changes from the crontab.actual file to my crontab... (12 Replies)
Discussion started by: vandi
12 Replies
4. Solaris
What is the command for checking modification history on file?
---------- Post updated at 01:20 PM ---------- Previous update was at 12:35 PM ----------
Let me rephrase this. On a regular Unix file can I at least check to see the time and date history modification of the file? (6 Replies)
Discussion started by: jastanle84
6 Replies
5. Shell Programming and Scripting
Hi,
What is the korn shell equivalent of bash shell's "history -c" command?
I do know, how to clear the history list in ksh, I can do the following:
> ~/.sh_historybut still, I am interested to know the single one line command as 'history -c' gives error on my ksh (1 Reply)
Discussion started by: royalibrahim
1 Replies
6. Solaris
Hi all,
I have just installed Solaris 10 on an old Fujitsu Primepower 650 which has been wiped clean. I haven't installed anything apart from the OS yet, so the machine is 99% idle.
I get long delays when logging in, first after entering the id then another long delay after entering a valid... (8 Replies)
Discussion started by: longjon
8 Replies
7. UNIX for Dummies Questions & Answers
I just created a CNAME and i was told a zone needs to be reloaded after creating a CNAME. What is the command to reload a zone after the CNAME has been created?
Thanks in advance (1 Reply)
Discussion started by: German Shepherd
1 Replies
8. Shell Programming and Scripting
Hello :)
I'm a newb when it comes to shell scripting and was wondering about a command(s) for a script that could be used to checkout a certain number of version/revision histories of a file. I know for the latest revison you "co filename" or for a certain revision number "co -r*.* filename"... (2 Replies)
Discussion started by: MN-DBA
2 Replies
9. AIX
Hello,
The system has been rebooted and I need to see the commands executed in the system prior to restart by the oracle user.The history command is not showing me the commands executed prior to reboot.
Please advise.
Best regards,
Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies
10. Shell Programming and Scripting
I am making a bash script right now and am running into an issue. As I am new to scripting, I do not know exactly what to do to get what I'm looking for in my script.
Essentially, my script will automatically input VRFY common names after nc
Example:
nc 192.168.248.133 25
VRFY Allison... (2 Replies)
Discussion started by: ksrhayward
2 Replies
LEARN ABOUT DEBIAN
class::methodmaker::optext
Class::MethodMaker::OptExt(3pm) User Contributed Perl Documentation Class::MethodMaker::OptExt(3pm)
NAME
Class::MethodMaker::OptExt - Constants for C::MM's option extension mechanism
SYNOPSIS
This class is internal to Class::MethodMaker and should not be used by any clients. It is not part of the public API.
DESCRIPTION
This class contains the constants used by Class::MethodMaker to determine the names of its methods dependent upon options invoked.
CLASS CONSTANTS
OPTEXT
OPTEXT is a map from options that are implemented as method extensions to the option parameters.
Parameter keys are:
encode
code number (to allow the option combination to be encoded whilst keeping the length of the subr name no more than 8 chars). encode is
required for all opts (for determining method extension), and must be a power of two.
refer
Code for referring to storage (default: '$_[0]->{$name}').
decl
Code for declaring storage.
postac
Code to execute immediately after any assignment check --- for example, to initialize storage if necessary
asgnchk
Code for checking assignments.
defchk
Code for default checking.
reset
Code to execute when resetting an element
read
Code to execute each time an value is read
store
Code to execute each time a value is stored
CLASS COMPONENTS
CLASS HIGHER-LEVEL FUNCTIONS
encode
Take a set of options, return a two-letter code being the extension to add to the method to incorporate the extensions, and a list
(arrayref) of the extensions represented.
SYNOPSIS
my ($ext, $opt) =
Class::MethodMaker::OptExt->encode([qw( static type foobar )]);
ARGUMENTS
options
The options to encode, as an arrayref of option names
RETURNS
ext A code (string) to append to a methodname to represent the options used.
opts
The options represented by the ext . This is generally a subset of the of those provided in options, for not all general options
are handled by an encoded methodname.
CLASS HIGHER-LEVEL PROCEDURES
INSTANCE CONSTRUCTION
INSTANCE COMPONENTS
INSTANCE HIGHER-LEVEL FUNCTIONS
INSTANCE HIGHER-LEVEL PROCEDURES
EXAMPLES
BUGS
REPORTING BUGS
Email the development mailing list "class-mmaker-devel@lists.sourceforge.net".
AUTHOR
Martyn J. Pearce
COPYRIGHT
Copyright (c) 2003 Martyn J. Pearce. This program is free software; you can redistribute it and/or modify it under the same terms as Perl
itself.
SEE ALSO
perl v5.14.2 2011-02-28 Class::MethodMaker::OptExt(3pm)