473,606 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Having problems returning a char* from a function..need help...

Hello all,

From doing a google serach in the newsgroups I found out that a
string can't be returned from a function, but using a char* I should
be able to do it. I have spent most of the day trying to get this to
work, but been unable to solve my mistake. What the function should
return is a file name used for creating logs files. It will look
something like

JN122345.log

JN - Month
12 - Date
23 - Hour
45 - Min

Can anyone provide any assistance, please. Thanks!.

Mark
--------- source code ------------

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };
main( argc, argv )
int argc;
char *argv[];
{
char fileName[80];

*sAutoBITELogFi leName = getAutoBITELogF ileName( );

// Just seems to print only on character.
_settextpositio n( 1,1 );
printf( "lfn: '%s'", sAutoBITELogFil eName );

}

char *getAutoBITELog FileName( )
{
/*----------------------------------------
%d Day (01-31)
%H Hour 24-hour style (00-23)
%M Minute (00-59)
------------------------------------------*/

time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *fileName;

/*sizeof *fileName is always 1, multiply by it anyway*/
fileName = malloc( 13 * sizeof(*fileNam e) );

if ( fileName == NULL ) {
return NULL; // Problem allocating memory
}

currentTime = time(NULL); // get the current arithmetic calendar
time

// Convert the current arithmetic calendar time into local time held
in a
// structure of type tm.
daynow = localtime(&curr entTime);

strncpy( fileName, cMonths[daynow->tm_mon], 2 );

iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

// Check to see if there was an error
if ( iResult == 0 ) {
return NULL;
}

strncat( fileName, cTemp, 6 );
strncat( fileName, ".log", 4 );

// Generally prints garbage, but some times can see the filename.
_settextpositio n( 25, 1 );
printf( "fn: %s", &fileName );

return (char *)fileName;
}

Nov 13 '05 #1
12 2743
LongBow <pi***@mud.pool > wrote:
Hello all,

From doing a google serach in the newsgroups I found out that a
string can't be returned from a function, but using a char* I should
be able to do it. I have spent most of the day trying to get this to
work, but been unable to solve my mistake. What the function should
return is a file name used for creating logs files. It will look
something like

JN122345.log

JN - Month
12 - Date
23 - Hour
45 - Min

Can anyone provide any assistance, please. Thanks!.

Mark
--------- source code ------------ /* You failed to include those: */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };

/* You failed to provide a prototype: */
char *getAutoBITELog FileName( );

main( argc, argv )
int argc;
char *argv[]; int main( void ) /* you don't use argc and argv */
{
char fileName[80]; /* You declare an array of characters without using it. */
*sAutoBITELogFi leName = getAutoBITELogF ileName( ); /* You failed to declare sAutoBITELogFil eName. */

// Just seems to print only on character.
_settextpositio n( 1,1 ); /* Non-standard. No idea. */
printf( "lfn: '%s'", sAutoBITELogFil eName );
/* You failed to return a value from a function
declared to returning int: */

return 0;}

char *getAutoBITELog FileName( )
{
/*----------------------------------------
%d Day (01-31)
%H Hour 24-hour style (00-23)
%M Minute (00-59)
------------------------------------------*/

time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *fileName;

/*sizeof *fileName is always 1, multiply by it anyway*/
fileName = malloc( 13 * sizeof(*fileNam e) ); Magic number 13.

if ( fileName == NULL ) {
return NULL; // Problem allocating memory
}

currentTime = time(NULL); // get the current arithmetic calendar
time

// Convert the current arithmetic calendar time into local time held
in a
// structure of type tm.
daynow = localtime(&curr entTime);

strncpy( fileName, cMonths[daynow->tm_mon], 2 );

iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

// Check to see if there was an error
if ( iResult == 0 ) {
return NULL;
}

strncat( fileName, cTemp, 6 );
strncat( fileName, ".log", 4 );

// Generally prints garbage, but some times can see the filename.
_settextpositio n( 25, 1 ); Non-standard. No idea.
printf( "fn: %s", &fileName ); printf( "fn: %s", fileName );

return (char *)fileName; return fileName;
}

Please read the faq-list for c.l.c at:
http://www.eskimo.com/~scs/C-faq/top.html

Irrwahn
--
Posting in usenet is like playing golf in a mine-field.
Nov 13 '05 #2
LongBow wrote:
Hello all,

From doing a google serach in the newsgroups I found out that a
string can't be returned from a function, but using a char* I should
be able to do it. I have spent most of the day trying to get this to
work, but been unable to solve my mistake. What the function should
return is a file name used for creating logs files. It will look
something like

JN122345.log

JN - Month
12 - Date
23 - Hour
45 - Min

Can anyone provide any assistance, please. Thanks!.

Mark
--------- source code ------------

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };
#include <stdio.h>
#include <time.h>
#include <stdlib.h>

char *getAutoBITELog FileName( );

To avoid the implicit int.
main( argc, argv )
int argc;
char *argv[];
int main(int argc, char *argv[])
{
char fileName[80];

*sAutoBITELogFi leName = getAutoBITELogF ileName( );

// Just seems to print only on character.
_settextpositio n( 1,1 );
Non-standard.
printf( "lfn: '%s'", sAutoBITELogFil eName );
printf( "lfn: '%s'\n", sAutoBITELogFil eName );

Add a newline to improve readability of the output.

}

char *getAutoBITELog FileName( )
{
/*----------------------------------------
%d Day (01-31)
%H Hour 24-hour style (00-23)
%M Minute (00-59)
------------------------------------------*/

time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *fileName;

/*sizeof *fileName is always 1, multiply by it anyway*/
fileName = malloc( 13 * sizeof(*fileNam e) );

if ( fileName == NULL ) {
return NULL; // Problem allocating memory
}

currentTime = time(NULL); // get the current arithmetic calendar
time

// Convert the current arithmetic calendar time into local time held
in a
// structure of type tm.
daynow = localtime(&curr entTime);

strncpy( fileName, cMonths[daynow->tm_mon], 2 );

iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

// Check to see if there was an error
if ( iResult == 0 ) {
return NULL;
}

strncat( fileName, cTemp, 6 );
strncat( fileName, ".log", 4 );

// Generally prints garbage, but some times can see the filename.
_settextpositio n( 25, 1 );
Non-standard.
printf( "fn: %s", &fileName );
printf( "fn: %s\n", fileName );

Add a newline, and you don't want to print the address of fileName,
you want to print the contents. If you had turned all warnings on in
your compiler, it should have caught this and the implicit ints.

return (char *)fileName;
The cast is redundant; fileName is already a char *.
}


Nov 13 '05 #3
"T.M. Sommers" <tm**@mail.ptd. net> wrote:
LongBow wrote:

<BIG SNIP>
printf( "fn: %s", &fileName );


printf( "fn: %s\n", fileName );

Add a newline, and you don't want to print the address of fileName,
you want to print the contents. If you had turned all warnings on in
your compiler, it should have caught this and the implicit ints.

If he had even tried to compile it, the compiler would have presented
a fine (and long) list of errors and warnings, pointing out what is
wrong.

8^)

Irrwahn

--
do not write: void main(...)
do not cast the return value of malloc()
do not fflush( stdin )
read the c.l.c-faq: http://www.eskimo.com/~scs/C-faq/top.html
Nov 13 '05 #4
Irrwahn,

Sorry, I cut and pasted for the purpose of this posting since I
didn't want to include everything. I also failed to mention that I am
using Microsoft C v6.00 and I am modifying an existing code base. So
the main declaration is correct. The include files are there is the
prototype in the header file, but not listed in the posting. The
_settextpositio n sets the cursor position on the screen. When
declaring fileName in the main, it should have been
sAutoBITELogFil eName, but I cut and paste the wrong item.

Perhaps it is best to repost the code with the header files this
time.. I hope this is better this time around.. sorry for the first
bad posting..

Mark

--------- start main.h ---------------

// Only relevant items listed for posting

#include <stdio.h>
#include <conio.h>
#include <graph.h>
#include <switches.h>
#include <time.h>

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };

--------- end main.h ---------------

--------- start main.c ---------------

// Only relevant items listed for posting

#include "main.h"

main( argc, argv )
int argc;
char *argv[];
{

// Declare the Log File variable
char sAutoBITELogFil eName[80];

// Current a log file name
*sAutoBITELogFi leName = getAutoBITELogF ileName( );

// Set the cursor position then print the resultant string
_settextpositio n( 1,1 );
printf( "lfn: '%s'", sAutoBITELogFil eName );

return 0;
}

char *getAutoBITELog FileName( )
{
/*----------------------------------------
%d Day (01-31)
%H Hour 24-hour style (00-23)
%M Minute (00-59)
------------------------------------------*/

time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *fileName;

/*sizeof *fileName is always 1, multiply by it anyway*/
// DOS file name is 8 dot 3 for a total of 12 characters plus
// a null terminating character. It will be defined later.

fileName = malloc( 13 * sizeof(*fileNam e) );
if ( fileName == NULL ) {
return NULL; // Problem allocating memory
}

currentTime = time(NULL); // get the current arithmetic calendar
time

// Convert the current arithmetic calendar time into local time held
in a
// structure of type tm.
daynow = localtime(&curr entTime);

strncpy( fileName, cMonths[daynow->tm_mon], 2 );

// MAX_TIME_LEN is 6 since the format of the file name is
MONTH/DATE/HOUR/MIN
// which are all two character for a total of 8. So 8 minus two for
the 6 with
// a null terminating character.
iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

// Check to see if there was an error
if ( iResult == 0 ) {
return NULL;
}

strncat( fileName, cTemp, 6 );
strncat( fileName, ".log", 4 );

_settextpositio n( 25, 1 );
printf( "fn: %s", fileName );

return fileName;
}

--------- end main.c ---------------
Nov 13 '05 #5
If he had even tried to compile it, the compiler would have presented
a fine (and long) list of errors and warnings, pointing out what is
wrong.

8^)

No compiler errors, I do get two warnings at these points which are
both

'=' : different levels of indirection

One in main at this point

the other warning is point in between these two lines, not sure which
one. I have compiled the project several times, but always in between
these two lines..
fileName = malloc( 13 * sizeof(*fileNam e) );
<--- points here.....
if ( fileName == NULL )
I am not to sure what it means, but if someone does can you please
tell me. thanks

Mark
Nov 13 '05 #6
If he had even tried to compile it, the compiler would have presented
a fine (and long) list of errors and warnings, pointing out what is
wrong.

8^)

No compiler errors, I do get two warnings at these points which are
both

'=' : different levels of indirection

One in main at this point

*sAutoBITELogFi leName = getAutoBITELogF ileName( );
the other warning is point in between these two lines, not sure which
one. I have compiled the project several times, but always in between
these two lines..
fileName = malloc( 13 * sizeof(*fileNam e) );
<--- points here.....
if ( fileName == NULL )
I am not to sure what it means, but if someone does can you please
tell me. thanks

Mark
Nov 13 '05 #7
LongBow <pi***@mud.pool > wrote:
Irrwahn,

Sorry, I cut and pasted for the purpose of this posting since I
didn't want to include everything. I also failed to mention that I am
using Microsoft C v6.00 and I am modifying an existing code base. So
the main declaration is correct. The include files are there is the
prototype in the header file, but not listed in the posting. The
_settextpositi on sets the cursor position on the screen. When
declaring fileName in the main, it should have been
sAutoBITELogFi leName, but I cut and paste the wrong item.

Perhaps it is best to repost the code with the header files this
time.. I hope this is better this time around.. sorry for the first
bad posting..

Mark

--------- start main.h ---------------

// Only relevant items listed for posting

#include <stdio.h> #include <conio.h>
#include <graph.h>
#include <switches.h> Well, posting code using non-standard extensions to the C language
is still something that is frowned upon here in comp.lang.c.
For example, my implementation does not provide these headers, so
I have to delete all this stuff in order to compile your code ...
#include <time.h> #include <stdlib.h> /* for malloc() */
#include <string.h> /* for strcpy() and strcat() */

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };

--------- end main.h ---------------

--------- start main.c ---------------

// Only relevant items listed for posting Unfortunately, not quite. ;-)

Oh, and one more hint: single-line comments are likely to produce
confusion in that they tend to produce funny effects when line
wrapping occurs in the news-reader...

#include "main.h"
Provide a prototype for getAutoBITELogF ileName():

char *getAutoBITELog FileName();

main( argc, argv )
int argc;
char *argv[];
{

// Declare the Log File variable
char sAutoBITELogFil eName[80]; You allocate memory for the filename in getAutoBITELogF ileName(), so:
char *sAutoBITELogFi leName;

[ Or keep the array, assign the result of getAutoBITELogF ileName() to
a temporary variable, strcpy() the string to sAutoBITELogFil eName
and free() the memory you allocated using the temporary variable ]

// Current a log file name
*sAutoBITELogFi leName = getAutoBITELogF ileName( );

Get rid of the '*'.

<SNIP>

After performing a quick clean-up, your code looks like this:

/*************** *************** *************** ***/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

#define MAX_TIME_LEN 6

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };

/* provide a prototype for getAutoBITELogF ileName() */
char *getAutoBITELog FileName();

int main( )
{
char *sAutoBITELogFi leName;

sAutoBITELogFil eName = getAutoBITELogF ileName( );

printf( "lfn: '%s'", sAutoBITELogFil eName );
fflush( stdout );
return 0;
}

char *getAutoBITELog FileName( )
{
time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *fileName;

/*sizeof *fileName is always 1, multiply by it anyway
DOS file name is 8 dot 3 for a total of 12 characters plus
a null terminating character. It will be defined later. */

fileName = malloc( 13 * sizeof(*fileNam e) );

if ( fileName == NULL ) {
return NULL; /* Problem allocating memory */
}

/* get the current arithmetic calendar time */
currentTime = time(NULL);

/* Convert the current arithmetic calendar time into local
time held in a structure of type tm. */
daynow = localtime(&curr entTime);

strncpy( fileName, cMonths[daynow->tm_mon], 2 );

/* MAX_TIME_LEN is 6 since the format of the file name is
MONTH/DATE/HOUR/MIN which are all two character for a
total of 8. So 8 minus two for the 6 with a null
terminating character.*/

iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

/* Check to see if there was an error */
if ( iResult == 0 ) {
return NULL;
}

strncat( fileName, cTemp, 6 );
strncat( fileName, ".log", 4 );

printf( "fn: %s ", fileName );

return fileName;
}

/*************** *************** *************** ***/

IMHO, this version should be fairly portable and AFAICS works fine,
though I have not tested it thoroughly. However, there is still room
for some improvements, but unfortunately I have to go and get some
sleep right now, but hopefully someone else will take over at this
point...

Regards

Irrwahn
--
Zzzzzzzzzzz-Roooooooon
Nov 13 '05 #8
Irrwahn,

The solution you provide didn't work fully, but compiled without
warning nor errors, but it was still returning a bad string value.
After several hours I have a working version, but testing is still
needed and I may have tweak it since I got a solution working Visual
C++ v6.0. I need the IDE to trace through the code to see what was
going on. There is one important note in the documentation that
pointed me in the right direction since I was seeing the char strings
larger than what I was specifying during allocation.

---- Taken from MSDN April 2001 under 'malloc' ----
Remarks
The malloc function allocates a memory block of at least size bytes.
The block may be larger than size bytes because of space required for
alignment and maintenance information.

Since the malloc was creating a memory block and larger than I
specified. In addition the memory block was fully of junk so during
the string operation it wasn't finding the NULL character in the
correct locations. So I needed to clear the memory block. At first I
was using _strset, but it was causing access violation when the heap
was freed. I found the function memset which allows me to specify the
length. Thanks for the help and pointing me in the right direction.
Sorry for posting in the wrong group, but I couldn't find another
group under microsoft.publi c.* domain, at least what my ISP news
servers list. I figure people wouldn't mind.....

Mark
here is what I have thus far for those who want to see. Compile and
ran under Visual C++ v6.0 ( VS 97 )....

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define MAX_TIME_LEN 6
#define MAX_FILE_NAME_L ENGTH 12
#define FILE_NAME_EXT ".log"

char cMonths[12][2] = { "JN", "FB", "MR", "AP", "MY", "JU",
"JL", "AG", "SP", "OC", "NV", "DC" };

/* provide a prototype for getAutoBITELogF ileName() */
int getAutoBITELogF ileName( char *fileName );

int main( )
{
char *sAutoBITELogFi leName;
int iResult;

sAutoBITELogFil eName = malloc( MAX_FILE_NAME_L ENGTH + 5 );
_strset( sAutoBITELogFil eName, 0 );

iResult = getAutoBITELogF ileName( sAutoBITELogFil eName );
printf( "lfn: '%s'\n\n", sAutoBITELogFil eName );
fflush( stdout );
return 0;
}

int getAutoBITELogF ileName( char *fileName )
{
time_t currentTime;
struct tm* daynow;
int iResult;
char cTemp[ MAX_TIME_LEN + 1 ];
char *tempFileName;

/*sizeof *fileName is always 1, multiply by it anyway
DOS file name is 8 dot 3 for a total of 12 characters plus
a null terminating character. It will be defined later. */

tempFileName = malloc( MAX_FILE_NAME_L ENGTH + 1 );

memset( tempFileName, 0, MAX_FILE_NAME_L ENGTH + 1 );
memset( cTemp, 0, MAX_TIME_LEN + 1 );

if ( tempFileName == NULL ) {
return 0; /* Problem allocating memory */
}

/* get the current arithmetic calendar time */
currentTime = time(NULL);

/* Convert the current arithmetic calendar time into local
time held in a structure of type tm. */
daynow = localtime(&curr entTime);

strncpy( tempFileName, cMonths[daynow->tm_mon], 2 );

/* MAX_TIME_LEN is 6 since the format of the file name is
MONTH/DATE/HOUR/MIN which are all two character for a
total of 8. So 8 minus two for the 6 with a null
terminating character.*/

iResult = strftime(cTemp, MAX_TIME_LEN + 1, "%d%H%M", daynow);

/* Check to see if there was an error */
if ( iResult == 0 ) {
return 0;
}

strncat( tempFileName, cTemp, MAX_TIME_LEN );
strncat( tempFileName, FILE_NAME_EXT, sizeof( FILE_NAME_EXT ) );
strcpy( fileName, tempFileName );

iResult = strlen( tempFileName );
free( tempFileName );

return iResult;

}

Nov 13 '05 #9
LongBow wrote:
main( argc, argv )
int argc;
char *argv[];
{


This style of function definition, though still supported, has been
obsolete for about 15 years. What book did you learn this from?

--
Tom Zych
This email address will expire at some point to thwart spammers.
Permanent address: echo 'g******@cbobk. pbz' | rot13
Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4768
by: Andrew | last post by:
I have written two classes : a String Class based on the book " C++ in 21 days " and a GenericIpClass listed below : file GenericStringClass.h // Generic String class
11
3182
by: Arturo DiDonna | last post by:
Hello everyone. I am trying to compile someone else code and I am stuck with compilation problems using the g++ 3.3 compiler. Basically, when compiling the following code, I get this error message: parsefcns.cc: In function `void get_token(std::ifstream*, char**)': parsefcns.cc:57: error: cannot convert `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' to `char*' in assignment make: *** Error 1
18
2130
by: cppaddict | last post by:
Hi, Is it considered bad form to have the subscript operator return a const reference variable? If not, what is the proper way to do it? My question was prompted by the code below, my problematic attempt to implement a subscript operator that returns a const reference. The dubious code is marked at the end. <code>
10
3148
by: Pete | last post by:
Can someone please help, I'm trying to pass an array to a function, do some operation on that array, then return it for further use. The errors I am getting for the following code are, differences in levels of indirection, so I feel it must have something to do with the way I am representing the array in the call and the return. Below I have commented the problem parts. Thanks in advance for any help offered. Pete
4
3137
by: jt | last post by:
I'm getting a compiler error: warning C4172: returning address of local variable or temporary Here is the function that I have giving this error: I'm returning a temporary char string and its not liking it. How can I fix this? char *dequeue(struct node **first) { char temp;
5
5471
by: shyam | last post by:
Hi All I have to write a function which basically takes in a string and returns an unknown number( at compile time) of strings i hav the following syntax in mind char *tokenize(char *) is it ok?
4
2053
by: sk | last post by:
I'm trying to write a little function that acts very similar to scanf, but I suck at pointers and returning chars. My code: char *getline(){ char *string; char c; int i=0; while((c=getchar())!='\n'){
11
4751
by: Jim Michaels | last post by:
friend fraction& operator+=(const fraction& rhs); fraction.h(64) Error: error: 'fraction& operator+=(const fraction&)' must take exactly two arguments I practically pulled this out of a C++ book (except for the "friend"). can someone explain why GCC is giving me problems here? for a += or similar operator, what does a proper declaration look like and what are its arguments for?
11
1940
by: Antoninus Twink | last post by:
What's the correct syntax to define a function that returns a pointer to a function? Specifically, I'd like a function that takes an int, and returns a pointer to a function that takes an int and returns a string. I tried this: gchar *(*f(gint n))(gint) { /* logic here */ }
0
8045
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7981
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8462
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6803
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5994
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3952
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1574
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1315
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.