10 More Discussions You Might Find Interesting
1. Programming
How to initialize an object of class say "A", with an object of type say "B".
The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested"
#include <iostream>
using namespace std;
class B;
class A{
public:
A() { cout <<"\nA()" << endl; }
... (1 Reply)
Discussion started by: techmonk
1 Replies
2. Solaris
Hi All,
I am having a code written in C++.First I build this code on SUN 5.10.It was built successfully.Following is the log when build was successful.
-L/apps/compilers/SUNWspro/lib -lm -lsunmath \
-o App
ld: warning: symbol `clog' has differing types:
(file... (0 Replies)
Discussion started by: milindb
0 Replies
3. UNIX for Dummies Questions & Answers
I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine.
I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this.
Here is my function:
<?php
function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies
5. Programming
Hello all! I've searched the archives, google, documentation and I can't seem to find any answer regarding my question.
Our code has to be lint free and due to the following lint warning ---> logical expression always true: op "||" <--- we are forced to #include <note.h > (which appears to be... (3 Replies)
Discussion started by: quattro20v
3 Replies
6. AIX
Hello,
Is it possible to link object files compiled with different compilers on AIX, say xlC and g++?
Thanks
Ping (0 Replies)
Discussion started by: luop0812
0 Replies
7. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
8. Programming
#include <Xm/Xm.h>
#include <Xm/PushB.h>
Widget CreatePushbutton(Widget parent,
char* name,
XtCallbackProc callback,
XtPointer client_data)
{
Widget push;
Arg args;
Cardinal n;
n=0;
push=XmCreatePushButton(parent,
name, args, n);
XtAddCallback(push,... (4 Replies)
Discussion started by: endeavour1985
4 Replies
9. UNIX for Dummies Questions & Answers
I've got Solaris9 and it comes with no compiler. I've downloaded gcc from GNU, but you can't compile the files without the compiler (chicken before the egg situation). Some sites point to an ftp site of ftp.ai.prep.mit.edu where a compiled version of the GNU gcc exists, but when I have gone there... (3 Replies)
Discussion started by: AJA
3 Replies
10. UNIX for Advanced & Expert Users
I am using SCO Unix with a Progress Database. There are files that 'pop up' and cause problems. I need to be able to read these files but they are compiled and I don't know how to un-compile them.
Is there some kind of software / shareware that I can download to view these files?
Is... (2 Replies)
Discussion started by: tripp4337
2 Replies