Sponsored Content
Top Forums Programming problems with pointers and internal representation. Post 302525091 by lamachejo on Wednesday 25th of May 2011 04:31:23 PM
Old 05-25-2011
That won't even compile, it gives me this error in that exact line:

In constructor `matriz::matriz(int, int)':
cannot convert `int*' to `int**' in assignment
 

8 More Discussions You Might Find Interesting

1. Linux

Problems with the Internal modem

Hi I have a hsf Conexant modem & I have a driver for it but it works only on 2.4.* kernels . I know that there is a site called Linuxant.com which offers kernels for download ,but it gives a speed near 14 kb/s and the full feature driver offered for money and I can't buy it. My questions... (3 Replies)
Discussion started by: engshaheen
3 Replies

2. Solaris

Disk Representation - what is this c1t1d0s2 represent?

Hi All, Can you please advise what the 't' letters stands for? I understand the letter for the following "c1t1d0s2": c = disk Controller t = ? d = disk number ID. s = slice or partition of the disk Thanks (2 Replies)
Discussion started by: tlee
2 Replies

3. Infrastructure Monitoring

visual representation of server health

HI all, I want to make a webpage showing the status of services running on a server. for example email, http , etc. That way users can see that server status for themselfs. Maybe even show the status of each virtual domain running on the server. Any way to do this without buying some product? ... (4 Replies)
Discussion started by: mcraul
4 Replies

4. UNIX for Advanced & Expert Users

Forwarding internal internet packets to internal webserver using iptables

Hi, I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication. Can... (1 Reply)
Discussion started by: mshindo
1 Replies

5. Shell Programming and Scripting

Question on file owner name representation

Hi All, I came across a situation where i saw a directory name given below: drwxrwxrwx 5 121973 staff 8192 Apr 26 23:47 arunpr Just for your info: 1. All our application user ids are LDAP. 2. Hence we will not see any details of user in /etc/passwd file and i believe this could... (6 Replies)
Discussion started by: Arunprasad
6 Replies

6. Programming

Internal representation of double

I came across a puzzle which I can not explain. The setup is SCO OpenServer 5.7 (32 bit OS) and native SCO compiler. double is 8 bytes long on this system. I am able to populate the double variable with two different sets of values that produces the same double value, please see below: #include... (7 Replies)
Discussion started by: migurus
7 Replies

7. Shell Programming and Scripting

Convert a matrix to sparse representation

Hi All, I have a matrix stored in a file matrix.mtx and looks like this: 1 0.5 0.33 0.25 0 0.33 0.25 0.2 0 0 0 0.16 0 0 0 0.14 I want to convert this matrix to its sparse representation like the one give below (sparse_matrix.mtx). This means that above matrix has been converted to its... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

8. Programming

How bit representation of a number can be done in c?

I have an assignment in which a character is the input of which some bits(from a position to certain position) are to be inverted (1's complement) and then the resultant character is to be returned....for example unsigned char x = J from p = 3 to offset n = 5 01001010 inverted to... (1 Reply)
Discussion started by: ezee
1 Replies
pspaint(3U)						    InterViews Reference Manual 					       pspaint(3U)

NAME
PSBrush, PSColor, PSFont, PSPattern - graphics state objects with added PostScript information SYNOPSIS
#include <Unidraw/Graphic/pspaint.h> DESCRIPTION
PSBrush, PSColor, PSFont, and PSPattern are subclasses of Brush, Color, Font, and Pattern, respectively, that store added information needed to generate idraw-compatible PostScript. Unidraw's structured graphics objects use these subclasses exclusively. PSBRUSH PUBLIC OPERATIONS
PSBrush() PSBrush(int pattern, int width) Create an undefined PSBrush (the parameterless constructor) or one having the specified line pattern and width. Structured graphics having an undefined brush will not render their stroked portions. int GetLinePattern() int Width() Return constructor-specified brush parameters. boolean None() Return true if this is an undefined brush. const int* GetDashPattern() int GetDashPatternSize() int GetDashOffset() Return values required to characterize the brush in PostScript. The equivalent PostScript dash pattern is computed from the brush's line pattern. PSBRUSH PROTECTED OPERATIONS
void CalcDashPat(int) Compute the equivalent PostScript dash pattern from the line pattern specified in the constructor. PSCOLOR PUBLIC OPERATIONS
PSColor( Color_Intensity, Color_Intensity, Color_Intensity, const char* name ) Create a PSColor, supplying color intensity information and a name to associate with the intensities. The name is used solely to generate idraw-compatible PostScript. PSFONT PUBLIC OPERATIONS
PSFont( const char* name, const char* PS_name, const char* PS_size ) Construct a PSFont, supplying the window-system-specified font name and the corresponding PostScript font name and its size. const char* GetName() const char* GetPrintFont() const char* GetPrintSize() const char* GetPrintFontAndSize() Return constructor-supplied parameters. GetPrintFontAndSize returns the concatenation of the PostScript font name and its size, with a space interposed for legibility. int GetLineHt() Return an integer version of the PostScript font's size (as supplied to the constructor). PSPATTERN PUBLIC OPERATIONS
PSPattern() PSPattern(int dither, float graylevel) PSPattern(const int* pattern, int) Create an undefined PSPattern (the parameterless constructor), or one having specific dither and graylevel values, or one that replicates a pattern defined by the given array. Structured graphics having an undefined pattern will not render their filled por- tions. boolean None() Return true if this is an undefined pattern. float GetGrayLevel() Return the graylevel that the pattern approximates, if one was specified in the constructor. const int* GetData() int GetSize() Return the array that defines the replicated pattern and its size, if the pattern was constructed with one. SEE ALSO
idraw(1I), pspaint(3I), and the InterViews 3.1 reference manual Unidraw 2 February 1991 pspaint(3U)
All times are GMT -4. The time now is 06:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy