Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: pogdorica
Forum: Programming 06-25-2010
1,770
Posted By pogdorica
Have you tried my test? Do you "compile"...
Have you tried my test?

Do you "compile" with c4gl or fglpc ?
Forum: Programming 06-24-2010
1,770
Posted By pogdorica
What Informix 4GL version do you use ? My ...
What Informix 4GL version do you use ?

My IBM INFORMIX-4GL Version 7.32 returns:


Var: 2010-06
Year: 2010
Month: 6

:confused:
Forum: Programming 06-23-2010
1,770
Posted By pogdorica
Hi. I work with Informix too, but i really...
Hi.

I work with Informix too, but i really donīt understand your question. Do you want to get only "year" of a year-month value?

---------- Post updated at 11:56 AM ---------- Previous update...
Forum: Programming 06-21-2010
6,225
Posted By pogdorica
Thanks everyone. I was wrong and my new...
Thanks everyone.

I was wrong and my new tests confirm that is possible:


#include "string"
using namespace std;

#include <list>

class Elemento
{
public:
string name;
...
Forum: Programming 06-18-2010
6,225
Posted By pogdorica
Hi, and thanks for your help. Oh, yes, of...
Hi, and thanks for your help.

Oh, yes, of course. I was wrong and have mixed Java code with my C++ code. I was trying in Java to compare and my post was wrong.

About your questions:

1. I am...
Forum: Programming 06-18-2010
6,225
Posted By pogdorica
C++ class definition with a member of the same class
Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento)


typedef...
Forum: Programming 02-10-2010
13,269
Posted By pogdorica
Ok, again, itīs very good, i 'll have a look at...
Ok, again, itīs very good, i 'll have a look at this link, it seems very interesting.

To get initial values of the screen size, i can use 'getmaxyx' to obtain them, and finally execute printf...
Forum: Programming 02-09-2010
13,269
Posted By pogdorica
Ohhhh, itīs very good !!! It works very fine, but...
Ohhhh, itīs very good !!! It works very fine, but ..... i donīt undestand it. Never i have used 'printf' with that format.

May you explain me ? where could i find that documentation about that...
Forum: Programming 02-09-2010
13,269
Posted By pogdorica
Hi. Well, i finally havenīt got to resize my...
Hi.

Well, i finally havenīt got to resize my xterm terminal with C library Curses, so i have had to do it with "resize command" such as:


sprintf (vx_sttorden, "resize -s %d %d >/dev/null",
...
Forum: Programming 02-09-2010
1,404
Posted By pogdorica
Hi. I suppose nathanmca expected 40 because 'int'...
Hi. I suppose nathanmca expected 40 because 'int' is 4 bytes and the array has 10 elements.

But he was wrong.
Forum: Programming 02-04-2010
13,269
Posted By pogdorica
I have found this Linux Redhat command "resize -s...
I have found this Linux Redhat command "resize -s Rows Columns" and :b: it works in my PuTTY terminal, so,... Curses should work too, i hope so.:)
Forum: Programming 02-04-2010
13,269
Posted By pogdorica
Ok, thanks Corona. I had been looking for...
Ok, thanks Corona.

I had been looking for that this morning and i had found 'resize_term' but my first tests didn't make it.

I 'll read more about this and i 'll do more tests.

I 'll report...
Forum: Programming 02-04-2010
13,269
Posted By pogdorica
Resize current window with Curses
Hi.

I am beginning with Unix C Curses Library and i would like to know if it's possible to resize my current window.

In other words, i am working with a Putty Client over my Windows system and...
Forum: Programming 12-11-2009
11,561
Posted By pogdorica
Thank you very much for your suggestions. As i...
Thank you very much for your suggestions. As i suspected that task is so complicated really.
I 'll try to use an array of function pointers with an only parameter with generic type that it is a list...
Forum: Programming 12-10-2009
11,561
Posted By pogdorica
Ohhhhhh, thank you very much. You have really...
Ohhhhhh, thank you very much. You have really understood my problem. I didnīt know if i had explained very well. My english isnīt very good.
Anyway, i am studying a C++ Reflection Library (XCppRefl...
Forum: Programming 12-10-2009
11,561
Posted By pogdorica
Thanks Pludi, but, yes, i know that library, but,...
Thanks Pludi, but, yes, i know that library, but, what i need is something more complex because i have to build the function call without know the parameter number in programming time. I have a...
Forum: Programming 12-10-2009
11,561
Posted By pogdorica
C function call dynamically
Hi.

I need help with a C/C++ question and i hope someone can help me or give me some ideas.

Is possible to build a function C/C++ call dynamically? I.e, i have an array with pointer functions...
Forum: Solaris 11-23-2009
5,940
Posted By pogdorica
Hi. If this can help you, in Red Hat exists:...
Hi.

If this can help you, in Red Hat exists:

ls -l /proc/sys/kernel/core*


In these files you can configure core files.
17,859
Posted By pogdorica
Hi. To export the variable value to its...
Hi.

To export the variable value to its parent shell you can use:

#!/bin/ksh

. subshell



and subshell:


#!/bin/ksh

export variable="value"
4,176
Posted By pogdorica
Hi, in some Unix / Linux, for example, Red...
Hi,

in some Unix / Linux, for example, Red Hat, 'find' command has a "-iname" option to ignore case.
6,815
Posted By pogdorica
Hi. 'Diff' command is used to compare files....
Hi.

'Diff' command is used to compare files.

To compare two variables you must use:

if [ "$var1" = "$var2" ]
.....
1,626
Posted By pogdorica
Hi. Is it possible your session is running a...
Hi.

Is it possible your session is running a process in background?
1,605
Posted By pogdorica
As Sarwan says: sed 's/\/10\//\/45\//' t.txt...
As Sarwan says:

sed 's/\/10\//\/45\//' t.txt > temp.txt
mv temp.txt t.txt


I have removed "g" option.
Forum: Programming 11-16-2009
3,271
Posted By pogdorica
Hi. Shell script with Informix, 2 options: ...
Hi.
Shell script with Informix, 2 options:

#!/bin/ksh
echo "select count(*) from $1" | dbaccess BBDD

dbaccess BBDD <<!
select count(*) from $1
!
2,790
Posted By pogdorica
Hi. With RedHat: date -d "Nov 9...
Hi.

With RedHat:


date -d "Nov 9 11:35:28 2009" '+%Y%m%d%H%M'
Showing results 1 to 25 of 71

 

Featured Tech Videos

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