Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: Layla_2401
Forum: C++ May 10th, 2005
Replies: 3
Views: 12,612
Posted By Layla_2401
Suggestions anyone?
Forum: C++ May 9th, 2005
Replies: 3
Views: 12,612
Posted By Layla_2401
Hi all,

If anyone uses OpenSSL, I'd appreciate it if they can take a look at this code, where I'm trying to encrypt and decrypt a short test string.
At first I used to get a run time error in...
Forum: C++ Apr 30th, 2005
Replies: 6
Views: 2,970
Posted By Layla_2401
But I want to know the proper way if you can kindly tell me,

file1.c has the following header files:

#include "file1.h"

file2.c has the following header files:

#include "file1.h"...
Forum: C++ Apr 29th, 2005
Replies: 6
Views: 2,970
Posted By Layla_2401
Ok check this out,

I defined the array in file1.h as:

struct prnc keys[MAXP];

then, I included the following in file2.c:

extern struct prnc keys[MAXP];
Forum: C++ Apr 29th, 2005
Replies: 6
Views: 2,970
Posted By Layla_2401
That's exactly what I did the first time and which resulted in the compilation error:
"undefined reference to 'keys' "
where keys is the name of the array.
I'm using bloodshed Dev C++ compiler...
Forum: C++ Apr 29th, 2005
Replies: 6
Views: 2,970
Posted By Layla_2401
Hi all,

I have a C project consisting of five files as follows:

main.c
file1.c
file1.h
file2.c
file2.h
Forum: C++ Mar 30th, 2005
Replies: 7
Views: 5,332
Posted By Layla_2401
I got it, Thanks again.
Forum: C++ Mar 27th, 2005
Replies: 7
Views: 5,332
Posted By Layla_2401
I do have another question though,
Now that I have located and ran the .exe from the command line, the program isn't running correctly, while it does from IDE. At this stage I'm not actually passing...
Forum: C++ Mar 27th, 2005
Replies: 7
Views: 5,332
Posted By Layla_2401
Narue & Tight Coder:
Thank you two for your input, the project is set to Win32 console application, but I found the .exe in the release folder.

Thanks again guys.
Forum: C++ Mar 26th, 2005
Replies: 7
Views: 5,332
Posted By Layla_2401
Hi,
I'm using MS visual studio 6 for a C++ program. I am able to run the program from IDE, but when I've attempted to run it from the command line, I get a message the program name is...
Forum: C++ Mar 21st, 2005
Replies: 11
Views: 22,932
Posted By Layla_2401
Dev C++ is a good choice, I've used it when I needed a C compiler, it has GUI and its easy to use. But debugging isn't a piece of cake... at least for me.
Forum: C Mar 15th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Dave! check this out:

I defined both arrays (inner and outter) as [5] and guess what?? IT WORKED! :D
Dave you're the best! thank you sooooo much! How can I ever repay you??
May God bless your...
Forum: C Mar 15th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Dave, you're an angel! I'll give it a try and get back to you.
Forum: C Mar 14th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Dave,
given that the following is what I need,

static struct ky {
char *ID1;
char *ID2;
int Inv;
};

typedef struct ky Keys;
Forum: C Mar 13th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Yes you're right, its defined that way cause the number of array elements is only known at run-time, BUT! I'm not allocating array space explicitly, I'm simply increasing the index as shown in the...
Forum: C Mar 12th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Actually no its not a typo, assuming you're referring to the [0] part. I declared it this way cause the number of principals declared varies from one run to another. I didn't think this would cause a...
Forum: C Mar 11th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Dave,
Thanks for your prompt comment, I really appreciate it.



Actually I don't think that would help, as I'm sure that the problem is related to array population process, hence I know what...
Forum: C Mar 10th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Dave,
I appreciate your attempt to help, unfrotunately the entire code is scattered over 10 files! therefore I had to post the segments of code related to the problem. So my question is as follows,...
Forum: C Mar 8th, 2005
Replies: 13
Views: 4,382
Posted By Layla_2401
Hello Everyone,

I'm a problem with a recursive C function. Before I explain the functionality of the code, I'd like to give a brief explination of what I'm trying to do. I'm working on a general...
Forum: C++ Oct 12th, 2004
Replies: 0
Views: 2,873
Posted By Layla_2401
Hello Everyone,

I'm trying to exchange messages between three different programs, I was able to establish a connection between the Server and Client A programs, but when I added code to include...
Forum: C++ Sep 25th, 2004
Replies: 4
Views: 3,007
Posted By Layla_2401
Hi Narue,

Thank you SO much for your help, I now get the same value at both sides :)
Forum: C++ Sep 25th, 2004
Replies: 4
Views: 3,007
Posted By Layla_2401
Hello Everyone,

I'm working on a couple of programs, client/server. I'm using winsock library to handle data transfer between the two programs. I'm having a problem when it comes to sending int...
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC