10 More Discussions You Might Find Interesting
1. Programming
Subject: Debugging a program written in two languages
Platform: Linux (Kubuntu)
I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb.
I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies
2. Shell Programming and Scripting
I need UNIX scripts for polling, Uncompressing files and moving files between directory. Also trying to save file paths and any other variables in an independent file (.env) and use these at runtime by executing this file in the main script. (3 Replies)
Discussion started by: new2script
3 Replies
3. Shell Programming and Scripting
I have a program dnapars
I execute the program from command line as following:
./dnapars
The program then prompts me some message as a user menu from where I have to select a series of options in the order R U Y R. And then I copy the output file (outfile) in another result file.
I wrote the... (3 Replies)
Discussion started by: deeptisjains
3 Replies
4. Programming
//Find the root of the equation (x^2)-2 by bisection method.
#include<iostream>
using namespace std;
double a,x;
double f(double x)
{
return ((x*x)-2);
} //Suppose the function is (x*x)-2.
void calcx(double a1,double b1)
{
x =... (2 Replies)
Discussion started by: poonam.gaigole
2 Replies
5. Solaris
Hi all:
I have a problem with a C++ service runing on solaris 10. This service only set a signal on oracle table. When the service detect a cut off on the line (tcp/ip), trigger a cobol program for set the signal OFF. When the line is on again, the service trigger the same cobol program for set... (0 Replies)
Discussion started by: hcastellani
0 Replies
6. Programming
Hi,
I wanted to know if i can write a program using switches and signals, etc to trace execution of other unix program which calls c program internally.
If yes how? If not with signals and switches then are there any other methods apart from debugging with gdb/dbx. (3 Replies)
Discussion started by: jiten_hegde
3 Replies
7. UNIX for Dummies Questions & Answers
i am using unix os and my program is divided in two text files .:):)
how to compile and make one executable file, using unix command. (1 Reply)
Discussion started by: alokmishra8
1 Replies
8. Programming
Hi my friends
I am beginner unix programmer I have written small c++ program in text editor and I have change it mode to 555 to make it executable file to use it in unix O.P.
#include<iostream.h>
main()
{
cout<<"Hello World";
}
but some syntax erroe came for <<
can any one help... (5 Replies)
Discussion started by: bintaleb
5 Replies
9. UNIX for Advanced & Expert Users
Can anyone tell the commands we use for debugging a programm in dbx with explanation for each?
Iam totally new to unix environment (3 Replies)
Discussion started by: bogarams
3 Replies
10. Programming
Can someone help me debug a c program I am running? It gives me segmentation fault.
I want to turn on debugging. Can some one give the command to turn it on?
Below is the error I get:
Segmentation Fault (core dumped) (3 Replies)
Discussion started by: ibeg
3 Replies