Hi,
I'm using visual studio 2005 on windows.
I'm creating a struct that I'm trying to pass between
functions. I set it up in a header file:
typedef struct DataElement2 {
Type: Posts; User: jamez05
Hi,
I'm using visual studio 2005 on windows.
I'm creating a struct that I'm trying to pass between
functions. I set it up in a header file:
typedef struct DataElement2 {
Thanks for the info. It sound like Coldfusion may be the issue. I'm trimming down my arrays and put a post on Adobe about memory management. I'll let you know as I find out more.
Hey,
Thanks for the info
I created a separate executable that simply defines the struct and calls the
functions. This runs fine so it must be a long-standing memory corruption problem. How...
Right now, its compiled as a Coldfusion custom tag. It gives a generic message and then after a few seconds the following Windows error occures:
Unhandled Win32 exception
I think it may be a...
I'm using Visual Studio 2005 to write a C/C++ program.
I declare the following struct that contains an array:
typedef struct DataElement {
char Fragment[45];
double FragVal;
Thanks David, I'll try that.
I'm using Visual Studio 2005 to convert old Fortran code to C++.
I'm still pretty new to C++ and was a Web Developer specializing in
Coldfusion previously. Coldfusion doesn't worry about type,...
Thanks again Salem. I'll read up on new[]
I've read through similar posts on deleting 2D arrays, but still a little confused.
I have a global array that I want to delete in a funtion named DeleteGroup():
//global variables:
int...
Thanks Salem, that helped me get a better grasp on it. I'll look into a good C++ book as well.
I'm still pretty new to C and still do not have a good grasp on pointers and structures.
I'm working on a program that globally declares a nested? structure, and globally declares another...
Thanks Salem, that solved the problem
Thanks for all of your help. I'm not getting any errors now, but its not writing anything to the file. My program must be finding it though because when I try to delete c:\\pkatest\test.txt,...
Thanks for your reply.
Its compiling, but not writing anything. Right now, I'm just trying to get any type of output, but it errors when I try running it:
pkaden:
void printct(FILE *f);...
Sorry about posting in the wrong area. The function that prints to the file was written by someone else in C. I saved it as a cpp file and I'm trying to call it from a C++ function.
I won't make...
This is probably pretty easy, but I've been having a hard time and any help is greatly appreciated.
I have a function named pkaden that needs to call a print function named
printct. I'm not sure...
Thanks for the info. I'm still pretty new to C++ and a little confused. Here's
what I came up with based on what you told me and it compiled:
request/
double FinalPKA;
double *pFinalPKA...
The first function I'm using is named Request
This function calls another function named PKADEN.
Request/
int PKADEN(char *, char *, char *, double &);
Thank you so much, it worked!!! I'll study it and try to get a grasp on what that actually did.
Have a nice day
Thank you laserlight for your reply.
I tried your suggestion, however now its giving the error:
error C2440: '=' : cannot convert from 'bool' to 'MOLECULE *'
I'm converting a C program written for Solaris to a Windows 32 console program using Visual Studio 2005.
In my t_main function (found in test1.cpp), the following is declared:
MOLECULE *m =...
For some reason, the program errors on strlen, its saying identifier not found:
Here's what I've changed my code to:
#include <stdio.h>
#include <string.h>
#include "stdafx.h"
Thanks King Mir.
I'm using Windows XP and Visual Studio 200.
I have a command line program named test1. There are three arguments that are passed to it:
1. Name of the program
2. Input 1 (SMILES String)
3....
Thanks Salem, that gets me going in the right direction.