No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Lerner is correct if you can use the string.h library you can do that but a way just using thing iostream library. [CODE] #include <iostream> #include <fstream> using namespace std; int main() { int array[32768]; int i=0, j; char cNum[1000] ; char dum [256] = "0"; ifstream myfile ("myfile.txt"); if(myfile) …
Thank you for reading my thread. I am experiencing an issue using struct tm and I can't figure out what I am doing wrong. I have looked at several examples and read up on the structure, but to me it all looks right. I would appreciate some fresh eyes on …
I'm trying to allocate memory delete it and then allocate it again with more, less, or the same. I've tried this several different ways, but I don't know how to do it or if it can be done with any similarity to my attempts. In my test program it should …
Is it necessary to use the struct data type in your code? All you seem to be doing is inputting and deleting (setting to 0) int values. I would suggest a simple array. Tell me what you are trying to accomplish, so I do not have to try to reverse …
I think you may be confused about what you have. You have the code builder 2009. Not Borland C++ 2009. Borland C++ only goes to version 5.5. As for a book I have never used Borland C++ and would not know. Hope this helped. Shayne
Hi, first of all I would like to thank you for taking the time to look at my problem. I'm trying to input to a multidimensional character array. The error occurs on the second array. I tried to understand the problem by varying my input, but it always occurs on …
I am in the progress of trying to write a C++ (Visual C++ compile) program that dynamically reads in files from a series of sub directories that the user inputs. I am trying to catenate several strings together to prevent to many input request from the user. I could probably …
Hi, I'm trying to declare a pointers value inside of a function, and then manipulate that data the pointer points to. This is the test program I compiled and like the original it gives the error "undeclared identifier". At both occurrences of [icode] *somevar [/icode] in the build function. Thank …
The End.
shaynerossum