Quantcast
Channel: User vehomzzz - Stack Overflow
Browsing all 41 articles
Browse latest View live

Comment by vehomzzz on confused by capital I in vim

instead of proving a link, provide an explanation. the link may not exist in 10 years. thx

View Article



Comment by vehomzzz on bash : input word becomes null with is inputed to a C...

it just processes the argv part of the input to main. when I hardcode the value as opposed to using $line, program behaves properly.

View Article

Comment by vehomzzz on How to take a float to a power of another float number?

how do I pass i and j from the outside of awk function?

View Article

Comment by vehomzzz on How to take a float to a power of another float number?

doesn't work when first argument is negative: perl -e 'print (1 + $ARGV[0] * 2.43 / 100.) ** ($ARGV[1] / 940.0) - 1' -0.0545 360 Results in: Unrecognized switch -0.0545* (-h will show valud options).

View Article

Comment by vehomzzz on How to remove a character from the string and change...

OK,fixed the description. Thanks

View Article


Comment by vehomzzz on Validating parameters to a Bash script

why do you need double [[ ]]?

View Article

Comment by vehomzzz on associative array in bash

what does map="\"\$$mapName\"" mean? why can't be just map=$mapName

View Article

Comment by vehomzzz on How to print third column to last column?

why do you need a dash after 3?

View Article


Comment by vehomzzz on parsing rss feed, description field

It is essentially this treasurydirect.gov/RI/TreasuryOfferingAnnouncements.rss

View Article


Comment by vehomzzz on Get the latest version of the data and set it to...

It is stored in database....

View Article

Comment by vehomzzz on Get the latest version of the data and set it to...

How would you modify it if you wanted for a specific date? thanks

View Article

Which is faster/preferred: memset or for loop to zero out an array of doubles?

double d[10];int length = 10;memset(d, length * sizeof(double), 0);//orfor (int i = length; i--;) d[i] = 0.0;

View Article

Ctrl-R to search backwards for shell commands in csh

I love this shortcut in borne shell, and want to find out if it is possible to simulate and/or have (perhaps to install an add-on or with a script) it in csh or tschthanks

View Article


What is activation record in the context of C and C++?

What does it mean and how important to know about it for a C/C++ programmers?Is it the same across the platforms, at least conceptually?I understand it as a block of allocated memory used to store...

View Article

How to save the files opened in all windows and tabs in Vim?

I’d like to save the files opened in all vertical/horizontal windows? Is it possible without going to each window and executing the :w! command?

View Article


How to delete a buffer in Vim without closing the window?

I usually type :bd to remove the buffer, however, it results in undesirable side-effect of the window being closed which I do NOT want.

View Article

portable way to create a timestamp in c/c++

I need to generate time-stamp in this format yyyymmdd. Basically I want to create a filename with current date extension. (for example: log.20100817)

View Article


Find all writable files in the current directory

I want to quickly identify all writable files in the directory. What is the quick way to do it?

View Article

Getting libstdc++-v3/python

I am trying to download libstdc++-v3/python to enable pretty printing of stl containers. However, my provider returns: svn: Unknown hostname 'gcc.gnu.org' error. This is the command: svn co...

View Article

Make gvim 7.2 background black

I am sick and tired of the white background when I edit C/C++ etc. I want the black backround. That is what I currently have in my .vimrc file in regard to coloring. Please help me change it:if...

View Article
Browsing all 41 articles
Browse latest View live




Latest Images