-
Replied To a Post in Help with C/Embedded SQL
I suspect you might be right that it can be done in a single statement, but for myself, I seldom get too fancy if there is a conceptually simpler 'brute … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
Looks like we cross posted. But yes, do your own thing for sure. I am only posting this code to give you some new ideas. I know its a lot … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
One last thing. In the includes you at the top of the main program I just posted is CArray.h. That is simply the CArray Class I posted twice today. You … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
// Main.cpp #ifndef UNICODE #define UNICODE #endif #ifndef _UNICODE #define _UNICODE #endif #include <windows.h> #include <cstdio> #include <new> #include "Strings.h" #include "Carray.h" size_t iGetRecordCount(FILE* fp) // This function simply returns … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
// Strings.cpp #ifndef UNICODE #define UNICODE #endif #ifndef _UNICODE #define _UNICODE #endif #define NEW_GCC #include <windows.h> #include <stdlib.h> #include <cstdio> #include <tchar.h> #include <math.h> #include <string.h> #include "Strings.h" #ifdef MyDebug … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
//Strings.h #ifndef Strings_h #define Strings_h #define EXPANSION_FACTOR 2 #define MINIMUM_ALLOCATION 16 #define x64 class String { public: String(); //Uninitialized Constructor String(const TCHAR); //Constructor Initializes With A TCHAR. String(const TCHAR*); //Constructor … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
Hello again CuriousGeorge. In this, my last major code post, is a complete example of starting with a data file such as this ... 9:00 AM; 1/15/2015; Dentist Appointment at … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
Haven't posted here for about 4 years, so I'm trying to catch up! :) In terms of the way you set out to solve your appointment app CuriousGeorge, i.e., parsing … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
"I think I will give it another shot!" That's what I was hoping. Its a program you should be able to do. But wait 'till I give you some array … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
If you are still interested in this topic CuriousGeorge I’ll present some code that I believe might solve some of the specific issues you mentioned. Here only about a month … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
[QUOTE] Do you have any Windows graphic library function calls ... anything like this ... move_to(int x, int y); move_to(double x, double y); draw_to(int x, int y); draw_to(double x, double … -
Replied To a Post in Was this task even more difficult in the early days of C in 1970?
The other posters hit on all this,but I'd like to emphasize you need decent libraries to build business or technical applications reasonably easy in C++. This was a problem I … -
Replied To a Post in converting C++ to C
I'll help, but you've got to learn how to use code tags first. Not too many folks want to look at unformatted code.
The End.