Search Results

Showing results 1 to 13 of 13
Search took 0.08 seconds.
Search: Posts Made By: TheBeast32
Forum: C++ Apr 9th, 2009
Replies: 6
Views: 319
Posted By TheBeast32
You can just see if AWUTD is y or n and display what you want.


cout<<"Patients Name:"<<Pname<<endl;
cout<<"Patients Age:"<<age<<endl;

cout<<"Patients Current Employer:"<<CEmployer<<endl;
...
Forum: C++ Apr 9th, 2009
Replies: 6
Views: 319
Posted By TheBeast32
Change

if(AWUTD=='y'||'Y')
{
cout<<"Please Specify:"<<endl;
getline (cin, AWUTDspecification);
}
else if (AWUTD=='n'||'N')
{
cout<<endl;
Forum: C++ Oct 4th, 2008
Replies: 7
Views: 2,296
Posted By TheBeast32
You need to add the bin directory of MinGW to your PATH environment variable.
Forum: C++ Sep 29th, 2008
Replies: 11
Views: 971
Posted By TheBeast32
Forum: C++ Sep 28th, 2008
Replies: 11
Views: 971
Posted By TheBeast32
if you are getting multiple definition errors, change your headers to look like this:

#ifndef HEADERNAME_H
#define HEADERNAME_H

// Your code here

#endif
Forum: C++ Sep 21st, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
Try passing C:\Dev-cpp\ or whatever the root directory for Dev-C++ is.
Forum: C++ Sep 21st, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
I'll look into it
Forum: C++ Sep 19th, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
I think it's giving an error because dev-c++ 4.9.9.2 uses code completion. it makes a cache, and it may be looking for that. =|
Forum: C++ Sep 16th, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
No, I have the beta version (4.9.9.2). It's weird. I can't find a config directory. I'll look around for it.
Forum: C++ Sep 15th, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
DOES the directory exist?~! If it doesn't, then get a new installer or something.
Forum: C++ Sep 14th, 2008
Replies: 14
Views: 1,621
Posted By TheBeast32
To pass a parameter to the program, do it from the command line. If it's devcpp.exe. Do dev-cpp.exe -c "C:\config"
Forum: C++ Jul 16th, 2008
Replies: 13
Views: 1,302
Posted By TheBeast32
A good book that I have recently bought is Programming Windows Fifth Edition by Charles Petzold. It talks about using the Win32 API. It also has code examples and an accompanying CD. It's like $60,...
Forum: C++ Apr 23rd, 2008
Replies: 6
Views: 799
Posted By TheBeast32
If the file is in the same directory couldn't you just do this?


#include <conio.h>
#include <fstream>
#include <iostream>
#include <string>
using namespace std;

int main(int argc, char*...
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC