Forum: C++ Apr 4th, 2007 |
| Replies: 3 Views: 1,069 Yes, but for what I'm doing right now, it's useful because I won't have to take an extremely long cut. It's about an assignment and we are not allowed globals. Thanks though. |
Forum: C++ Apr 4th, 2007 |
| Replies: 3 Views: 1,069 Nevermind guys, thanks if you looked, but I solved it by:
int entry(int itemsales1[255][255], int itemcount1, string itemnames1[255])
{
int count;
char *days[]={"Monday", "Tuesday",... |
Forum: C++ Apr 4th, 2007 |
| Replies: 3 Views: 1,069 void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255])
{
int count;
char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
cout << "Enter... |
Forum: C++ Feb 7th, 2007 |
| Replies: 4 Views: 1,217 If you want to calculate a value and have it usable among many executables, you will need a Dll to do it within an expectable timeframe (of your mentioned milliseconds). It would be easiest to have... |
Forum: C++ Feb 5th, 2007 |
| Replies: 4 Views: 1,217 Either output the variable contents into a text file for your program to read or use a Dll to share the variables. |
Forum: C++ Oct 4th, 2006 |
| Replies: 7 Views: 1,877 For instance
char y;
cin >> y;
cout << (int)y; |
Forum: C++ Oct 4th, 2006 |
| Replies: 7 Views: 1,877 Could you give me and example about how to switch the stmts? And the fflush was only there for my convenience, but I got rid of it. |
Forum: C++ Oct 4th, 2006 |
| Replies: 7 Views: 1,877 I am using char arrays, because in the file i/o procedures, char arrays are required, and because I am typecasting them from char to int and you cannot typecast std::string, at least not in VC.NET. ... |
Forum: C++ Oct 4th, 2006 |
| Replies: 7 Views: 1,877 Hi, I need help with something I'm working on. I just want to get a basis to start, but I'm hoping to end up with a system where I can store encrypted output in an outside file. Right now my... |