Hello I am having a problem... okay in the following code there is a function called CoInitialize. this function is giving me an error saying it is undefined.
okay i know it has something to do with...
Type: Posts; User: dizz
Hello I am having a problem... okay in the following code there is a function called CoInitialize. this function is giving me an error saying it is undefined.
okay i know it has something to do with...
understandable.. if anyone else know how to use this please post some links or a book
thanx!
//**************************************
//
// Name: Access MDB
// Description:To open MS Access or Ms S
// QL server database using C/C++ or VC++
// By: Mokarrabin A Rahman
//
//...
what... i have seen it done?
straight through C++, also i have created my own DB and no it is not as simple as just connecting to an ACCESS DB..
o well anyone else?
Does anyone know of any books that explain connecting to Access Databses using C++ console mode...
Also any online tutorials or code snippets would be good! :)
yes i have heard of switch, it is giving me the exact same problem tho... always one extra blank record at the end!!
void readFile(info& vars)
{
clrscr();
char str[20];
...
i do not want the blank record!!
please i really need help ;\
yet another question from me... LOL
okay i have written this code to read records from a text file but the problem is that it is displaying an extra blank record at the end.
//note this is just a...
okay one question then...
i am using borland C++ builder 6 what would i search the help files for?
anyone??
please let me know if i am being impatient but i really would like to figure this out.
thanks!
thanx
but i figured it out with strcmp
hahaha sometimes i feel so stupid LMAO!
Is there any way to tell if a string is empty... such as:
char name[10];
if (name=="EMPTY??")
{
do this
}
Any help would be great!!
Okay i got all of that to work...
one more question... instead of displaying all that rubish about the hardrive and date is there a way i can just display them in the following format:
test ...
one other things why are the arrays so high?
Hmm i don't really understand that last part... it works fine, but how do i get it so it only fill find .txt files??
Is there any way in console mode to view the contents of a windows directory?
Also if there is, is there a way to specify only .txt files or .cpp files?
Any help would ge greatly appreciated!
k thanx i got it to work!
hmm i tried that last one and it didnt work either
here is the code i tried it with
#include<iostream.h>
#include<iomanip.h>
#include<conio.h>
#include<string.h>
#include<math.h>
Okay that didnt really work. It just gave out some wierd numbers that came outta nowehre. Im not sure if it was what i did with it when i put it into my program or if u made a mistake but could you...
Okay I have an array set up which is:
int number[30];
and the array is filled using random numbers. Now my question is how would i go about finding the highest value in the array with its...
got it!
srand(time(NULL));
thanx for all the help guys!
awesome
thanx a lot that helped!
Okay i have this problem with the output, it displays all off the random numbers in their array except for the last array. The last array is filled with pretty much nonsense. I have tried a few...
yeah thats cuz instead of using char arrays i just chose to use strings